namespace Admin.NET.Plugin.AiDOP.Order; // ─────────────────────────── 查询入参 ─────────────────────────── /// 出货计划列表分页查询入参 public class ShippingPlanListInput { public int Page { get; set; } = 1; public int PageSize { get; set; } = 10; /// 客户订单号(模糊) public string? OrdNbr { get; set; } /// 订单编号(模糊) public string? BillNo { get; set; } /// 国家(精确) public string? Country { get; set; } /// 出货日期 >= 此值 public string? ShippingDateFrom { get; set; } /// 客户编码(模糊) public string? CustomNo { get; set; } /// 物料编号(模糊) public string? ItemNum { get; set; } } // ─────────────────────────── 保存入参 ─────────────────────────── /// 出货计划明细行入参 public class ShippingPlanDetailInput { /// 明细主键(编辑时传入,新增行为 null) public int? RecID { get; set; } /// 关联订单行 ID(crm_seorderentry.Id,雪花 ID 以字符串传输) public string? SentryId { get; set; } public string? OrdNbr { get; set; } public string? BillNo { get; set; } public string? CustomNo { get; set; } public string? CustomName { get; set; } public string? OrdDate { get; set; } public string? Country { get; set; } = "中国"; public string? ItemNum { get; set; } public string? ItemName { get; set; } public string? Specification { get; set; } public decimal? Qty { get; set; } public decimal? Weight { get; set; } public decimal? Volume { get; set; } public string? Packaging { get; set; } public string? Remark { get; set; } } /// 新增 / 编辑出货计划入参 public class ShippingPlanSaveInput { public int? RecID { get; set; } public string? LotSerial { get; set; } public string? ShippingDate { get; set; } public string? ShippingSite { get; set; } public string? Consignee { get; set; } public string? ShippingAddress { get; set; } public string? Telephone { get; set; } public string? Remark { get; set; } public List Details { get; set; } = new(); } /// 销售出库入参 public class ShippingPlanShipInput { /// 勾选行的主表 id(逗号分隔) [Required(ErrorMessage = "ids 不能为空")] public string Ids { get; set; } = string.Empty; }