using SqlSugar; using System.Collections.Generic; namespace WCS.Entity { /// /// 码垛层信息表 /// [SugarTable(nameof(WCS_PalletizingLayer), "码垛层信息表")] public class WCS_PalletizingLayer { /// /// Id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "Id")] public int Id { get; set; } /// /// 码垛主表Id /// [SugarColumn(IsNullable = false, ColumnDescription = "码垛主表Id")] public int PalletizingId { get; set; } /// /// 是否空置 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否空置")] public bool IsEmpty { get; set; } /// /// 层号 /// [SugarColumn(IsNullable = false, ColumnDescription = "层号")] public int LayerNo { get; set; } /// /// 行数 /// [SugarColumn(IsNullable = false, ColumnDescription = "行数")] public int RowCountQty { get; set; } /// /// 行信息 /// [Navigate(NavigateType.OneToMany, nameof(WCS_PalletizingRow.PalletizingLayerId))] public List Rows { get; set; } /// /// 当前所有的物料号 /// [SugarColumn(IsNullable = true, ColumnDescription = "当前所有的物料号")] public string MatCodeList { get; set; } /// /// 是否结束 /// [SugarColumn(IsNullable = false, ColumnDescription = "是否结束")] public bool Finish { get; set; } /// /// 仓库编号 /// [SugarColumn(ColumnDescription = "仓库编号", IsNullable = true)] public string WarehouseCode { get; set; } } }