using SqlSugar; using System; using System.Collections.Generic; namespace WCS.Entity { /// /// 码垛行信息表 /// [SugarTable(nameof(WCS_PalletizingRow), "码垛行信息表")] public class WCS_PalletizingRow { /// /// Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "Id")] public int Id { get; set; } /// /// 码垛层信息表Id /// [SugarColumn(IsNullable = false, ColumnDescription = "码垛层信息表Id")] public int PalletizingLayerId { get; set; } /// /// 码垛信息表Id /// [SugarColumn(IsNullable = true, ColumnDescription = "码垛信息表Id")] public int PalletizingId { get; set; } /// /// 码垛信息 /// [Navigate(NavigateType.OneToOne, nameof(PalletizingId))] public WCS_Palletizing Palletizing { get; set; } /// /// 是否空置 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否空置")] public bool IsEmpty { get; set; } /// /// 数量上限 /// [SugarColumn(IsNullable = false, ColumnDescription = "数量上限")] public int QtyMaxCount { get; set; } /// /// 行号 /// [SugarColumn(IsNullable = false, ColumnDescription = "行号")] public int RowNo { get; set; } /// /// 是否混合料行 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否混合料行")] public bool IsMixRow { get; set; } /// /// 表示每一个具体位置的商品信息 /// [Navigate(NavigateType.OneToMany, nameof(WCS_PalletizingLoc.PalletizingRowId))] public List Locs { get; set; } /// /// 行缓存Id /// [SugarColumn(IsNullable = false, ColumnDescription = "任务Id")] public int CacheLineId { get; set; } /// /// 行缓存 /// [Navigate(NavigateType.OneToOne, nameof(CacheLineId))] public WCS_CacheLine CacheLine { get; set; } /// /// 当前所有的物料号 /// [SugarColumn(IsNullable = true, ColumnDescription = "当前所有的物料号")] public string MatCodeList { get; set; } /// /// 是否结束 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否结束")] public bool Finish { get; set; } /// /// 取货线体号 /// [SugarColumn(IsNullable = true, ColumnDescription = "取货线体号")] public string? LineCode { get; set; } /// /// 创建时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "创建时间")] public DateTime AddTime { get; set; } /// /// 编辑时间 /// [SugarColumn(IsNullable = true, ColumnDescription = "编辑时间")] public DateTime EditTime { get; set; } /// /// 仓库编号 /// [SugarColumn(ColumnDescription = "仓库编号", IsNullable = true)] public string WarehouseCode { get; set; } } }