using Admin.NET.Core; /* * @author : 您的名字 * @date : 2024/6/4下午3:14:21 * @desc : 波次单明细 */ namespace Admin.NET.Application.Entity { /// /// 波次单明细 /// [SugarTable("wms_order_sort_details", "波次单明细")] public class WmsOrderSortDetails : EntityBase { /// /// 波次单ID /// [Required] [SugarColumn(ColumnName = "SortId", ColumnDescription = "波次单ID")] public long SortId { get; set; } /// /// 波次单号 /// [Required] [SugarColumn(ColumnName = "SortNo", ColumnDescription = "波次单号", Length = 50)] public string SortNo { get; set; } /// /// 状态 /// [Required] [SugarColumn(ColumnName = "SortDetailStatus", ColumnDescription = "状态")] public OrderStatusEnum SortDetailStatus { get; set; } /// /// 状态名称 /// [Required] [SugarColumn(ColumnName = "SortDetailStatusName", ColumnDescription = "状态名称", Length = 255)] public string SortDetailStatusName { get; set; } /// /// 行号 /// [Required] [SugarColumn(ColumnName = "LineNumber", ColumnDescription = "行号", Length = 50)] public string LineNumber { get; set; } /// /// 物料编号 /// [Required] [SugarColumn(ColumnName = "MaterialCode", ColumnDescription = "物料编号", Length = 50)] public string MaterialCode { get; set; } /// /// 物料名称 /// [Required] [SugarColumn(ColumnName = "MaterialName", ColumnDescription = "物料名称", Length = 50)] public string MaterialName { get; set; } /// /// 关联单号 /// [SugarColumn(ColumnName = "RelationNo", ColumnDescription = "关联单号", Length = 50)] public string? RelationNo { get; set; } /// /// 关联单行号 /// [SugarColumn(ColumnName = "RelationNoLineNumber", ColumnDescription = "关联单行号", Length = 50)] public string? RelationNoLineNumber { get; set; } /// /// 跟踪码 /// [SugarColumn(ColumnName = "SNCode", ColumnDescription = "跟踪码", Length = 255)] public string? SNCode { get; set; } /// /// 单位 /// [SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 50)] public string? Unit { get; set; } /// /// 数量 /// [Required] [SugarColumn(ColumnName = "Quantity", ColumnDescription = "数量", Length = 10, DecimalDigits = 3)] public decimal Quantity { get; set; } /// /// 下架数 /// [SugarColumn(ColumnName = "OffShelvesQuantity", ColumnDescription = "下架数", Length = 10, DecimalDigits = 3)] public decimal? OffShelvesQuantity { get; set; } /// /// 下发数 /// [SugarColumn(ColumnName = "IssueQuantity", ColumnDescription = "下发数", Length = 10, DecimalDigits = 3)] public decimal? IssueQuantity { get; set; } /// /// 拣货数 /// [SugarColumn(ColumnName = "PickQuantity", ColumnDescription = "拣货数", Length = 10, DecimalDigits = 3)] public decimal? PickQuantity { get; set; } /// /// 发货数 /// [SugarColumn(ColumnName = "DeliverQuantity", ColumnDescription = "发货数", Length = 10, DecimalDigits = 3)] public decimal? DeliverQuantity { get; set; } /// /// 批次规则 /// [SugarColumn(ColumnName = "BatchRule", ColumnDescription = "批次规则", Length = 255)] public string? BatchRule { get; set; } /// /// 批次 /// [SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 255)] public string? Batch { get; set; } /// /// ERP单号 /// [SugarColumn(ColumnName = "ErpOrderNo", ColumnDescription = "ERP单号", Length = 50)] public string? ErpOrderNo { get; set; } /// /// ERP库存地 /// [SugarColumn(ColumnName = "ErpCode", ColumnDescription = "ERP库存地", Length = 50)] public string? ErpCode { get; set; } /// /// 客户编号 /// [SugarColumn(ColumnName = "CustCode", ColumnDescription = "客户编号", Length = 50)] public string? CustCode { get; set; } /// /// 客户名称 /// [SugarColumn(ColumnName = "CustName", ColumnDescription = "客户名称", Length = 255)] public string? CustName { get; set; } /// /// 优先级 /// [SugarColumn(ColumnName = "Priority", ColumnDescription = "优先级")] public int? Priority { get; set; } } }