using System.ComponentModel.DataAnnotations; namespace Oms.Application.Dtos.Orders; /// /// 订单件重尺编辑入参。 /// public class OrderWeightUpdateInput { /// /// 订单主键。 /// [Required] public int Id { get; set; } /// /// 件重尺行。 /// [Required] public List Weights { get; set; } = []; } /// /// 单条件重尺编辑项。 /// public class OrderWeightItemInput { /// /// 类型:forecast/receive/ship/downstream。 /// [Required] [StringLength(16)] public string Type { get; set; } = string.Empty; /// /// 长度(cm)。 /// public decimal? Length { get; set; } /// /// 宽度(cm)。 /// public decimal? Width { get; set; } /// /// 高度(cm)。 /// public decimal? Height { get; set; } /// /// 实重(kg)。 /// public decimal? ActualWeight { get; set; } }