| | |
| | | *----------------------------------------------------------------*/ |
| | | #endregion << 版 本 注 释 >> |
| | | |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | /// <summary> |
| | | /// 主键 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "主键")] |
| | | [ExporterHeader(DisplayName = "主键")] |
| | | [SugarColumn(IsIdentity = true, IsPrimaryKey = true, ColumnDescription = "主键")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务名称 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "任务名称")] |
| | | [ExporterHeader(DisplayName = "任务名称")] |
| | | [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "任务名称")] |
| | | public string Name { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务分组 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "任务分组")] |
| | | [ExporterHeader(DisplayName = "任务分组")] |
| | | [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "任务分组")] |
| | | public string JobGroup { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务所在DLL对应的程序集名称 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "程序集名称")] |
| | | [ExporterHeader(DisplayName = "程序集名称")] |
| | | [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "任务所在DLL对应的程序集名称")] |
| | | public string AssemblyName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务所在类 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "任务所在类")] |
| | | [ExporterHeader(DisplayName = "任务所在类")] |
| | | [SugarColumn(Length = 50, IsNullable = false, ColumnDescription = "任务所在类")] |
| | | public string ClassName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 执行间隔时间, 秒为单位 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "执行间隔时间")] |
| | | [ExporterHeader(DisplayName = "执行间隔时间")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "执行间隔时间")] |
| | | public int IntervalSecond { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 开始时间 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "开始时间")] |
| | | [ExporterHeader(DisplayName = "开始时间")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "开始时间")] |
| | | public DateTime? BeginTime { get; set; } |
| | | /// <summary> |
| | | /// 结束时间 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "结束时间")] |
| | | [ExporterHeader(DisplayName = "结束时间")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "结束时间")] |
| | | public DateTime? EndTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 任务描述 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "任务描述")] |
| | | [ExporterHeader(DisplayName = "任务描述")] |
| | | [SugarColumn(Length = 1000, IsNullable = true, ColumnDescription = "任务描述")] |
| | | public string Remark { get; set; } |
| | | } |