| #region << 版 本 注 释 >> | 
| /*---------------------------------------------------------------- | 
|  * 命名空间:WIDESEAWCS_QuartzJob | 
|  * 创建者:胡童庆 | 
|  * 创建时间:2024/8/2 16:13:36 | 
|  * 版本: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; | 
| using WIDESEAWCS_Core.Tenants; | 
|   | 
| namespace WIDESEAWCS_QuartzJob.Models | 
| { | 
|     /// <summary> | 
|     /// 调度服务配置 | 
|     /// </summary> | 
|     [SugarTable(nameof(Dt_DispatchInfo), "调度服务配置")] | 
|     public class Dt_DispatchInfo : BaseEntity | 
|     { | 
|         /// <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; } | 
|     } | 
| } |