| | |
| | | *----------------------------------------------------------------*/ |
| | | #endregion << 版 本 注 释 >> |
| | | |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | |
| | | namespace WIDESEAWCS_Model.Models |
| | | { |
| | | [SugarTable(nameof(Dt_TaskExecuteDetail), "任务执行明细表")] |
| | | [SugarTable(nameof(Dt_TaskExecuteDetail), "任务执行明细")] |
| | | public class Dt_TaskExecuteDetail : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// 主键 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "主键")] |
| | | [ExporterHeader(DisplayName = "主键")] |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")] |
| | | public int TaskDetailId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务主键 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "任务主键")] |
| | | [ExporterHeader(DisplayName = "任务主键")] |
| | | [SugarColumn(IsNullable = false, 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, ColumnDescription = "任务状态")] |
| | | public int TaskState { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 当前位置 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "当前位置")] |
| | | [ExporterHeader(DisplayName = "当前位置")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "当前位置")] |
| | | public string CurrentAddress { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 下一地址 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "下一地址")] |
| | | [ExporterHeader(DisplayName = "下一地址")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "下一地址")] |
| | | public string NextAddress { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否人工操作 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "是否人工操作")] |
| | | [ExporterHeader(DisplayName = "是否人工操作")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "是否人工操作")] |
| | | public bool IsManual { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 是否正常 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "是否正常")] |
| | | [ExporterHeader(DisplayName = "是否正常")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "是否正常")] |
| | | public bool IsNormal { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 描述 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "描述")] |
| | | [ExporterHeader(DisplayName = "描述")] |
| | | [SugarColumn(IsNullable = false, Length = int.MaxValue, ColumnDescription = "描述")] |
| | | public string Description { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 备注 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "备注")] |
| | | [ExporterHeader(DisplayName = "备注")] |
| | | [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "备注")] |
| | | public string Remark { get; set; } |
| | | } |