using System; using System.Collections.Generic; using SqlSugar; using WMS.BZModels; namespace wms.sqlsugar.model.sx { [Tenant("sx")] [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 = "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 AddWho { get; set; } /// /// 更新用户 /// [SugarColumn(ColumnDataType = "varchar", Length = 50, IsNullable = true, ColumnDescription = "更新用户")] public string EditWho { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnDataType = "datetime", IsNullable = true, ColumnDescription = "更新时间")] public DateTime? EditTime { get; set; } /// /// 版本号 /// [SugarColumn(ColumnDataType = "timestamp", IsNullable = true, ColumnDescription = "版本号")] public byte[] VER { get; set; } /// /// 客户现场的机台/产线编号 /// [SugarColumn(ColumnDataType = "varchar", Length = 255, IsNullable = true, ColumnDescription = "客户现场的机台/产线编号")] public string WorkBench { get; set; } /// /// 仓库编号 /// [SugarColumn(ColumnDataType = "varchar", Length = 255, IsNullable = true, ColumnDescription = "仓库编号")] public string WarehouseCode { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "物料编码")] public string MatCode { get; set; } /// /// 材料号 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "材料号")] public string InvBarCode { get; set; } /// /// 是否快投 /// [SugarColumn(ColumnDataType = "bit", IsNullable = true, ColumnDescription = "是否快投")] public bool? IsFast { get; set; } /// /// 等级 /// [SugarColumn(ColumnDataType = "nvarchar", Length = 50, IsNullable = true, ColumnDescription = "等级")] public string Grade { get; set; } /// /// 是否改手盘 /// [SugarColumn(ColumnDataType = "bit", IsNullable = true, ColumnDescription = "是否改手盘")] public bool? IsSurplus { get; set; } /// /// 是否返空 /// [SugarColumn(ColumnDataType = "bit", IsNullable = true, ColumnDescription = "是否返空")] 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 = 255, IsNullable = true, ColumnDescription = "生产单号")] public string WorkOrder { get; set; } /// /// 货位类型 /// [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "货位类型")] public int? GoodsType { get; set; } /// /// 行 /// [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "行")] public int? Line { get; set; } /// /// 列 /// [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "列")] public int? Col { get; set; } /// /// 层 /// [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "层")] public int? Layer { get; set; } /// /// 深度 /// [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "深度")] public int? Depth { get; set; } /// /// 货叉 /// [SugarColumn(ColumnDataType = "int", IsNullable = true, ColumnDescription = "货叉")] public int? Fork { get; set; } /// /// PalletizingId /// [SugarColumn(ColumnDataType = "bigint", IsNullable = true)] public long? PalletizingId { get; set; } /// /// Robot /// [SugarColumn(ColumnDataType = "varchar", Length = 255, IsNullable = true)] public string Robot { get; set; } } }