using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace wms.sqlsugar.model.sx { /// /// 码垛主表 /// [Tenant("sx")] [SugarTable(nameof(PalletizingHty) + "_{year}{month}{day}", "码垛主表")] [SplitTable(SplitType.Year)]//按年分表 (自带分表支持 年、季、月、周、日) public class PalletizingHty : BaseModel { /// /// 码垛工位 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false)] public string Equip { get; set; } /// /// 最大码垛数量 /// [SugarColumn(ColumnDataType = "int", IsNullable = false)] public int PalletMax { get; set; } /// /// 码垛状态(0:执行;1.结束码垛;2.下一箱待码垛) /// [SugarColumn(ColumnDataType = "int", IsNullable = false)] public int PalletizState { get; set; } /// /// 是否强制结盘 /// [SugarColumn(ColumnDataType = "int", IsNullable = false)] public int Finish { get; set; } /// /// 装箱规则(1:层配;2:spc) /// [SugarColumn(ColumnDataType = "nvarchar", Length = 100, IsNullable = false)] public string BoxRule { get; set; } /// /// 装箱规则id /// [SugarColumn(ColumnDataType = "bit", IsNullable = false)] public long BoxRuleId { get; set; } /// /// 托盘输送任务 /// [SugarColumn(ColumnDataType = "int", IsNullable = false)] public int TaskNum { get; set; } /// /// 下发次数 /// [SugarColumn(ColumnDataType = "int", IsNullable = false)] public int Count { get; set; } /// /// 是否控制盘 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false)] public bool IsControlpanel { get; set; } /// /// 货物类型 /// [SugarColumn(ColumnDataType = "int", IsNullable = true)] public int GoodsType { get; set; } /// /// 机器人 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string Robot { get; set; } } }