using System; using System.Collections.Generic; using SqlSugar; using WMS.BZModels; namespace wms.sqlsugar.model.cp { [Tenant("cp")] [SugarTable("WCS_TaskInfo")] public class WCSTaskinfo : BaseEntityModel { /// /// ID /// [SugarColumn(IsPrimaryKey = true , IsIdentity = true , ColumnDataType ="int" , IsNullable = false , ColumnDescription ="ID")] public int ID { get; set; } /// /// 生产编码 /// [SugarColumn(ColumnDataType ="varchar" , Length = 50 , IsNullable = false , ColumnDescription ="生产编码")] public string BarCode { get; set; } /// /// 任务类型 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="任务类型")] public int Type { get; set; } /// /// 任务状态 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="任务状态")] public int Status { get; set; } /// /// 起始地址 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = false , ColumnDescription ="起始地址")] public string AddrFrom { get; set; } /// /// 目标地址 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = false , ColumnDescription ="目标地址")] public string AddrTo { get; set; } /// /// 最后一个交互点 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = true , ColumnDescription ="最后一个交互点")] public string LastInteractionPoint { get; set; } /// /// 下一个地址 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = true , ColumnDescription ="下一个地址")] public string AddrNext { get; set; } /// /// 巷道 /// [SugarColumn(ColumnDataType ="varchar" , Length = 10 , IsNullable = true , ColumnDescription ="巷道")] public string Tunnel { get; set; } /// /// 楼层 /// [SugarColumn(ColumnDataType ="int" , IsNullable = true , ColumnDescription ="楼层")] public int? Floor { get; set; } /// /// 设备 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = true , ColumnDescription ="设备")] public string Device { get; set; } /// /// 堆垛机放货站台 /// [SugarColumn(ColumnDataType ="varchar" , Length = 20 , IsNullable = true , ColumnDescription ="堆垛机放货站台")] public string SrmStation { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDataType = "datetime", IsNullable = false, ColumnDescription = "创建时间")] public DateTime AddTime { get; set; } /// /// 开始时间 /// [SugarColumn(ColumnDataType ="datetime" , IsNullable = true , ColumnDescription ="开始时间")] public DateTime? StartTime { get; set; } /// /// 结束时间 /// [SugarColumn(ColumnDataType ="datetime" , IsNullable = true , ColumnDescription ="结束时间")] public DateTime? EedTime { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnDataType = "datetime", IsNullable = true, ColumnDescription = "更新时间")] public DateTime? EditTime { get; set; } /// /// 客户现场的机台/产线编号 /// [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = true , ColumnDescription ="客户现场的机台/产线编号")] public string WorkBench { get; set; } /// /// 单号 /// [SugarColumn(ColumnDataType ="int" , IsNullable = true , ColumnDescription ="单号")] public int? DocID { get; set; } /// /// 托盘类型 /// [SugarColumn(ColumnDataType ="smallint" , IsNullable = true , ColumnDescription ="托盘类型")] public int? PalletType { get; set; } /// /// 码垛工位 /// [SugarColumn(ColumnDataType ="smallint" , IsNullable = true , ColumnDescription ="码垛工位")] public int? ProdLine { get; set; } /// /// 满盘数量 /// [SugarColumn(ColumnDataType ="smallint" , IsNullable = true , ColumnDescription ="满盘数量")] public int? FullQty { get; set; } /// /// 高度 /// [SugarColumn(ColumnDataType ="smallint" , IsNullable = true , ColumnDescription ="高度")] public int? Height { get; set; } /// /// 重量 /// [SugarColumn(ColumnDataType ="float" , IsNullable = true , ColumnDescription ="重量")] public double? Weight { get; set; } /// /// WMS任务号 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="WMS任务号")] public int WmsTask { get; set; } /// /// 任务组ID /// [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = true , ColumnDescription ="任务组ID")] public string TaskGroupKey { get; set; } /// /// 更新状态 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="更新状态")] public int Uploaded { get; set; } /// /// AGV任务号 /// [SugarColumn(ColumnDataType ="int" , IsNullable = true , ColumnDescription ="AGV任务号")] public int? AgvTaskID { get; set; } /// /// 优先级 /// [SugarColumn(ColumnDataType ="int" , IsNullable = false , ColumnDescription ="优先级")] public int Priority { get; set; } /// /// 手动处理备注 /// [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = true , ColumnDescription ="手动处理备注")] public string ManualRemarks { get; set; } /// /// 产品长度 /// [SugarColumn(ColumnDataType ="decimal" , Length = 18 , IsNullable = true , ColumnDescription ="产品长度")] public decimal? Length { get; set; } /// /// 产品编码 /// [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = true , ColumnDescription ="产品编码")] public string MaterialCode { get; set; } /// /// 是否可用 /// [SugarColumn(ColumnDataType ="bit" , IsNullable = false , ColumnDescription ="是否可用")] public bool Enabled { get; set; } /// /// 仓库编码 /// [SugarColumn(ColumnDataType ="varchar" , Length = 50 , IsNullable = false , ColumnDescription ="仓库编码")] public string WarehouseCode { get; set; } /// /// 版本号 /// [SugarColumn(ColumnDataType ="timestamp" , IsNullable = true , ColumnDescription ="版本号")] public byte[] VER { get; set; } /// /// MatCode /// [SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )] public string MatCode { get; set; } /// /// InvBarCode /// [SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )] public string InvBarCode { get; set; } /// /// IsFast /// [SugarColumn(ColumnDataType ="bit" , IsNullable = true )] public bool? IsFast { get; set; } /// /// Grade /// [SugarColumn(ColumnDataType ="nvarchar" , Length = 50 , IsNullable = true )] public string Grade { get; set; } /// /// IsSurplus /// [SugarColumn(ColumnDataType ="bit" , IsNullable = true )] public bool? IsSurplus { get; set; } /// /// IsRework /// [SugarColumn(ColumnDataType ="bit" , IsNullable = true )] public bool? IsRework { get; set; } /// /// 出库类型标记 /// [SugarColumn(ColumnDataType ="int" , IsNullable = true , ColumnDescription ="出库类型标记")] public int? OutType { get; set; } /// /// 业务类型 /// [SugarColumn(ColumnDataType ="varchar" , Length = 255 , IsNullable = true , ColumnDescription ="业务类型")] public string BusType { get; set; } /// /// 创建用户 /// [SugarColumn(ColumnDataType = "varchar", Length = 50, IsNullable = false, ColumnDescription = "创建用户")] public string AddWho { get; set; } /// /// 更新用户 /// [SugarColumn(ColumnDataType = "varchar", Length = 50, IsNullable = true, ColumnDescription = "更新用户")] public string EditWho { get; set; } } }