using SqlSugar; using System; using System.Collections.Generic; using System.Text; namespace wms.sqlsugar.model.cp { [Tenant("cp")] [SugarTable("bill_task_history", "历史任务表")] public class cpBillTaskHistory : BaseModel { /// /// 任务号 /// [SugarColumn(ColumnName = "task_code")] public int TaskCode { get; set; } /// /// 任务类型 /// [SugarColumn(ColumnName = "task_type")] public int TaskType { get; set; } /// /// 任务状态 /// [SugarColumn(ColumnName = "task_state")] public int TaskState { get; set; } /// /// 优先级 /// [SugarColumn(ColumnName = "priority", IsNullable = true)] public int Priority { get; set; } /// /// 设备编号 /// [SugarColumn(ColumnName = "equ_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string EquNo { get; set; } /// /// 堆垛机编号 /// [SugarColumn(ColumnName = "srm_no", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string SrmNo { get; set; } /// /// 起始位置 /// [SugarColumn(ColumnName = "start_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string StartPoint { get; set; } /// /// 当前位置 /// [SugarColumn(ColumnName = "cur_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string CurPoint { get; set; } /// /// 下个位置 /// [SugarColumn(ColumnName = "next_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string NextPoint { get; set; } /// /// 目标位置 /// [SugarColumn(ColumnName = "end_point", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string EndPoint { get; set; } /// /// 容器id /// [SugarColumn(ColumnName = "stock_id")] public long ContGrpId { get; set; } /// /// 容器条码(盘条码,合金:RFID,分拣:托盘号) /// [SugarColumn(ColumnName = "cont_grp_barcode", ColumnDataType = "nvarchar", Length = 100)] public string ContGrpBarCode { get; set; } /// /// 巷道 /// [SugarColumn(ColumnName = "tunnel", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string Tunnel { get; set; } /// /// 仓库 /// [SugarColumn(ColumnName = "ware_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string WareCode { get; set; } /// /// 数量 /// [SugarColumn(ColumnName = "qty", Length = 18, DecimalDigits = 6)] public decimal Qty { get; set; } /// /// 单据号 /// [SugarColumn(ColumnName = "doc_code", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string DocCode { get; set; } /// /// 业务类型 /// [SugarColumn(ColumnName = "bus_type", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string BusType { get; set; } /// /// 是否手动任务 /// [SugarColumn(ColumnName = "is_manual", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string IsManual { get; set; } /// /// 是否空盘任务 /// [SugarColumn(ColumnName = "is_empty", ColumnDataType = "nvarchar", Length = 50, IsNullable = true)] public string IsEmpty { get; set; } } }