#region << 版 本 注 释 >>
|
/*----------------------------------------------------------------
|
* 命名空间:WIDESEAWCS_Model.Models.TaskInfo
|
* 创建者:系统自动生成
|
* 创建时间:2024/11/14
|
* 版本:V1.0.0
|
* 描述:任务历史表
|
*
|
* ----------------------------------------------------------------
|
* 修改人:
|
* 修改时间:
|
* 版本:V1.0.1
|
* 修改说明:
|
*
|
*----------------------------------------------------------------*/
|
#endregion << 版 本 注 释 >>
|
|
using Magicodes.ExporterAndImporter.Core;
|
using SqlSugar;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Text;
|
using System.Threading.Tasks;
|
using WIDESEAWCS_Core.DB.Models;
|
|
namespace WIDESEAWCS_Model.Models
|
{
|
[SugarTable(nameof(Dt_Task_Hty), "任务历史信息")]
|
public class Dt_Task_Hty : BaseEntity
|
{
|
/// <summary>
|
/// 主键
|
/// </summary>
|
[ImporterHeader(Name = "主键")]
|
[ExporterHeader(DisplayName = "主键")]
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
|
public int TaskId { get; set; }
|
|
/// <summary>
|
/// 任务号
|
/// </summary>
|
[ImporterHeader(Name = "任务号")]
|
[ExporterHeader(DisplayName = "任务号")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "任务号")]
|
public int TaskNum { 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 = 10, ColumnDescription = "巷道号")]
|
public string Roadway { get; set; }
|
|
/// <summary>
|
/// 任务类型
|
/// </summary>
|
[ImporterHeader(Name = "任务类型")]
|
[ExporterHeader(DisplayName = "任务类型")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "任务类型")]
|
public int TaskType { get; set; }
|
|
/// <summary>
|
/// 任务状态
|
/// </summary>
|
[ImporterHeader(Name = "任务状态")]
|
[ExporterHeader(DisplayName = "任务状态")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "任务状态")]
|
public int TaskState { get; set; }
|
|
/// <summary>
|
/// 起始地址
|
/// </summary>
|
[ImporterHeader(Name = "起始地址")]
|
[ExporterHeader(DisplayName = "起始地址")]
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "起始地址")]
|
public string SourceAddress { get; set; }
|
|
/// <summary>
|
/// 目标地址
|
/// </summary>
|
[ImporterHeader(Name = "目标地址")]
|
[ExporterHeader(DisplayName = "目标地址")]
|
[SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "目标地址")]
|
public string TargetAddress { get; set; }
|
|
/// <summary>
|
/// 当前位置
|
/// </summary>
|
[ImporterHeader(Name = "当前位置")]
|
[ExporterHeader(DisplayName = "当前位置")]
|
[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "当前位置")]
|
public string CurrentAddress { get; set; }
|
|
/// <summary>
|
/// 下一位置
|
/// </summary>
|
[ImporterHeader(Name = "下一位置")]
|
[ExporterHeader(DisplayName = "下一位置")]
|
[SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "下一位置")]
|
public string NextAddress { get; set; }
|
|
/// <summary>
|
/// 异常信息
|
/// </summary>
|
[ImporterHeader(Name = "异常信息")]
|
[ExporterHeader(DisplayName = "异常信息")]
|
[SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "异常信息")]
|
public string ExceptionMessage { get; set; }
|
|
/// <summary>
|
/// 优先级
|
/// </summary>
|
[ImporterHeader(Name = "优先级")]
|
[ExporterHeader(DisplayName = "优先级")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "优先级")]
|
public int Grade { get; set; }
|
|
/// <summary>
|
/// WMS任务主键
|
/// </summary>
|
[ImporterHeader(Name = "WMS任务主键")]
|
[ExporterHeader(DisplayName = "WMS任务主键")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "WMS任务主键")]
|
public int WMSId { get; set; }
|
|
/// <summary>
|
/// 任务下发时间
|
/// </summary>
|
[ImporterHeader(Name = "任务下发时间")]
|
[ExporterHeader(DisplayName = "任务下发时间")]
|
[SugarColumn(IsNullable = true, ColumnDescription = "任务下发时间")]
|
public DateTime? Dispatchertime { get; set; }
|
|
/// <summary>
|
/// 仓库主键
|
/// </summary>
|
[ImporterHeader(Name = "仓库主键")]
|
[ExporterHeader(DisplayName = "仓库主键")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "仓库主键")]
|
public int WarehouseId { get; set; }
|
|
/// <summary>
|
/// 高度类型
|
/// </summary>
|
[ImporterHeader(Name = "高度类型")]
|
[ExporterHeader(DisplayName = "高度类型")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "高度类型")]
|
public int HeightType { get; set; }
|
|
/// <summary>
|
/// 深度
|
/// </summary>
|
[ImporterHeader(Name = "深度")]
|
[ExporterHeader(DisplayName = "深度")]
|
[SugarColumn(IsNullable = false, ColumnDescription = "深度")]
|
public int Depth { get; set; }
|
|
/// <summary>
|
/// 备注
|
/// </summary>
|
[ImporterHeader(Name = "备注")]
|
[ExporterHeader(DisplayName = "备注")]
|
[SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "备注")]
|
public string Remark { get; set; }
|
|
/// <summary>
|
/// 源记录ID
|
/// </summary>
|
[SugarColumn(IsNullable = false, ColumnDescription = "源记录ID")]
|
public int SourceId { get; set; }
|
|
/// <summary>
|
/// 操作类型
|
/// </summary>
|
[SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "操作类型")]
|
public string OperateType { get; set; }
|
}
|
}
|