using System; using System.Collections.Generic; using SqlSugar; using WMS.BZModels; namespace wms.sqlsugar.model.sx { [Tenant("sx")] [SugarTable(nameof(WCS_AgvTaskInfo) + "_{year}{month}{day}", "任务表")] public class WCS_AgvTaskInfo : BaseModel { /// /// ID /// [SugarColumn(IsPrimaryKey = true , ColumnDataType ="int" , IsNullable = false , ColumnDescription ="ID")] public int ID { get; set; } /// /// AGVID /// [SugarColumn(ColumnDataType ="varchar" , Length = 50 , IsNullable = true , ColumnDescription ="AGVID")] public string AgvID { get; set; } /// /// wcsTaskId /// [SugarColumn(ColumnDataType ="int" , IsNullable = true , ColumnDescription ="wcsTaskId")] public int? TaskId { get; set; } /// /// 任务类型 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="任务类型")] public int TaskType { get; set; } /// /// WCS AGV任务状态 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="WCS AGV任务状态")] public int Status { get; set; } /// /// AGV自身状态 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="AGV自身状态")] public int AgvStatus { get; set; } /// /// 车间 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="车间")] public int WorkShop { get; set; } /// /// 站台 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = true , ColumnDescription ="站台")] public string Station { get; set; } /// /// 位置 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = true , ColumnDescription ="位置")] public string Position { get; set; } /// /// 货物数量(1.两个位置放1个货物,2.两个位置放2个货物) /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="货物数量(1.两个位置放1个货物,2.两个位置放2个货物)")] public int GoodsSum { get; set; } /// /// AGV更新时间 /// [SugarColumn(ColumnDataType ="datetime" , IsNullable = true , ColumnDescription ="AGV更新时间")] public DateTime? AgvUpdateTime { get; set; } } }