| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEAWCS_Core.Attributes; |
| | | using WIDESEAWCS_Core.DB.Models; |
| | | |
| | | namespace WIDESEAWCS_Model.Models |
| | | { |
| | | [SugarTable(nameof(Dt_Task), "任务信息")] |
| | | [SugarTable(nameof(Dt_Task), "任务信息"), SugarIndex("unique_task_taskNum", nameof(TaskNum), OrderByType.Asc, true)] |
| | | public class Dt_Task : BaseEntity |
| | | { |
| | | /// <summary> |
| | |
| | | public int TaskNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 仓库主键 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "仓库主键")] |
| | | [ExporterHeader(DisplayName = "仓库主键")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "仓库主键")] |
| | | public int WarehouseId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// AGV任务号 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "AGV任务号")] |
| | | [ExporterHeader(DisplayName = "AGV任务号")] |
| | | [SugarColumn(IsNullable = true,Length =50, ColumnDescription = "AGV任务号")] |
| | | public string AgvTaskNum { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 托盘编号 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "托盘编号")] |
| | | [ExporterHeader(DisplayName = "托盘编号")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "托盘编号")] |
| | | public string PalletCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 托盘类型 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "托盘类型")] |
| | | public int PalletType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 设备编号 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "设备编号")] |
| | | public string DeviceCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 巷道号 |
| | |
| | | /// </summary> |
| | | [ImporterHeader(Name = "起始地址")] |
| | | [ExporterHeader(DisplayName = "起始地址")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "起始地址")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "起始地址")] |
| | | public string SourceAddress { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | [ImporterHeader(Name = "目标地址")] |
| | | [ExporterHeader(DisplayName = "目标地址")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "目标地址")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "目标地址")] |
| | | public string TargetAddress { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | [ImporterHeader(Name = "当前位置")] |
| | | [ExporterHeader(DisplayName = "当前位置")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "当前位置")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "当前位置")] |
| | | public string CurrentAddress { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// </summary> |
| | | [ImporterHeader(Name = "下一地址")] |
| | | [ExporterHeader(DisplayName = "下一地址")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "下一地址")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "下一地址")] |
| | | public string NextAddress { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | [ExporterHeader(DisplayName = "WMS任务主键")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "WMS任务主键")] |
| | | public int WMSId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 高度类型 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "高度类型")] |
| | | [ExporterHeader(DisplayName = "高度类型")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "高度类型")] |
| | | public int HeightType { get; set; } |
| | | /// <summary> |
| | | /// 任务下发时间 |
| | | /// </summary> |
| | |
| | | public DateTime? Dispatchertime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务组 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "任务组")] |
| | | [ExporterHeader(DisplayName = "任务组")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "任务组")] |
| | | public string GroupId { get; set; } |
| | | /// <summary> |
| | | /// 任务物料长度 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "任务物料长度")] |
| | | [ExporterHeader(DisplayName = "任务物料长度")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "任务物料长度")] |
| | | public int TaskLength { get; set; } |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "备注")] |
| | | [ExporterHeader(DisplayName = "备注")] |
| | | [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "备注")] |
| | | public string Remark { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 托盘数量 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "托盘类型")] |
| | | [ExporterHeader(DisplayName = "托盘类型")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "托盘类型")] |
| | | public int PalletCodequantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 楼层 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "楼层")] |
| | | [ExporterHeader(DisplayName = "楼层")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "楼层")] |
| | | public int Station_storey { get; set; } |
| | | /// <summary> |
| | | /// 物料类型 |
| | | /// </summary> |
| | | [ExporterHeader(DisplayName = "物料类型")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "物料类型")] |
| | | public int MaterialType { get; set; } |
| | | } |
| | | } |