using System; using System.Collections.Generic; using SqlSugar; using WMS.BZModels; namespace wms.sqlsugar.model.cp { [Tenant("cp")] [SugarTable("WCS_TaskDtl" + "_{year}{month}{day}", "任务明细表")] [SplitTable(SplitType.Month)]//按年分表 (自带分表支持 年、季、月、周、日) public partial class WCSTaskdtl : BaseEntityModel { /// /// ID /// [SugarColumn(IsPrimaryKey = true, ColumnDataType = "uniqueidentifier", IsNullable = false, ColumnDescription = "ID")] public Guid ID { get; set; } /// /// 父级任务号 /// [SugarColumn(ColumnDataType = "int", IsNullable = false, ColumnDescription = "父级任务号")] public int ParentTaskCode { get; set; } /// /// 当前位置 /// [SugarColumn(ColumnDataType = "varchar", Length = 255, IsNullable = false, ColumnDescription = "当前位置")] public string CurPoint { get; set; } /// /// 下一个地址 /// [SugarColumn(ColumnDataType = "varchar", Length = 255, IsNullable = true, ColumnDescription = "下一个地址")] public string NextPoint { get; set; } /// /// 描述 /// [SugarColumn(ColumnDataType = "varchar", Length = 255, IsNullable = false, ColumnDescription = "描述")] public string Desc { get; set; } /// /// 是否可用 /// [SugarColumn(ColumnDataType = "bit", IsNullable = false, ColumnDescription = "是否可用")] public bool Enabled { get; set; } /// /// 创建用户 /// [SugarColumn(ColumnDataType = "varchar", Length = 50, IsNullable = false, ColumnDescription = "创建用户")] public string AddWho { get; set; } /// /// 版本号 /// [SugarColumn(ColumnDataType = "timestamp", IsNullable = true, ColumnDescription = "版本号")] public byte[] VER { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDataType ="datetime" , IsNullable = false , ColumnDescription ="创建时间")] [SplitField] public DateTime AddTime { get; set; } } }