using System.ComponentModel.DataAnnotations; using System.Text.Json.Serialization; namespace Oms.Application.Dtos.Orders; /// /// 订单包裹内件入参。 /// public class OrderParcelItemInput { /// /// 中文名称。 /// public string? CnName { get; set; } /// /// 英文名称。 /// public string? EnName { get; set; } /// /// SKU。 /// public string? Sku { get; set; } /// /// 单位。 /// public string? Unit { get; set; } /// /// 单价。 /// public decimal? UnitPrice { get; set; } /// /// 单件重量。 /// public decimal? UnitWeight { get; set; } /// /// 数量。 /// public int? Quantity { get; set; } /// /// 金额。 /// public decimal? Amount { get; set; } /// /// 重量。 /// public decimal? Weight { get; set; } /// /// 进口 HS 编码。 /// public string? ImHsCode { get; set; } /// /// 出口 HS 编码。 /// public string? ExHsCode { get; set; } /// /// 出口申报要素。 /// public string? DeclareElement { get; set; } /// /// 产品标识编码(选填)。预报下游始终序列化,无值时为 null。 /// [StringLength(100)] [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public string? ProductId { get; set; } /// /// 非标产品标识编码(选填)。预报下游始终序列化,无值时为 null。 /// [StringLength(100)] [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public string? NonStdProductId { get; set; } /// /// 标准产品标识编码(选填)。预报下游始终序列化,无值时为 null。 /// [StringLength(100)] [JsonIgnore(Condition = JsonIgnoreCondition.Never)] public string? StdProductId { get; set; } /// /// SKU 图片。 /// public string? SkuImage { get; set; } /// /// 品类。 /// public string? Category { get; set; } /// /// 品牌。 /// public string? Brand { get; set; } /// /// 品牌类型。 /// public string? BrandType { get; set; } /// /// 是否带磁。 /// public bool IsMagnetic { get; set; } /// /// 配货方式。 /// public string? Distribution { get; set; } /// /// 材质。 /// public string? Material { get; set; } /// /// 英文材质。 /// public string? EnMaterial { get; set; } /// /// 用途。 /// public string? Purpose { get; set; } /// /// 属性集合。 /// public string? Attributes { get; set; } /// /// 原产国。 /// public string? OriginCountry { get; set; } /// /// 销售链接。 /// public string? SalesLink { get; set; } /// /// 型号。 /// public string? Model { get; set; } /// /// 规格。 /// public string? Specifications { get; set; } /// /// 备注说明。 /// public string? Comment { get; set; } }