//namespace Admin.NET.Core;
/////
///// 定时任务
/////
//[SugarTable("sys_timer", "定时任务表")]
//public class SysTimer : EntityBase
//{
// ///
// /// 任务名称
// ///
// [SugarColumn(ColumnDescription = "任务名称", Length = 64)]
// [Required, MaxLength(64)]
// public virtual string TimerName { get; set; }
// ///
// /// 是否只执行一次
// ///
// [SugarColumn(ColumnDescription = "是否只执行一次")]
// public bool DoOnce { get; set; } = false;
// ///
// /// 是否立即执行
// ///
// [SugarColumn(ColumnDescription = "是否立即执行")]
// public bool StartNow { get; set; } = false;
// ///
// /// 执行类型(串行并行)
// ///
// [SugarColumn(ColumnDescription = "执行类型")]
// public SpareTimeExecuteTypes ExecuteType { get; set; } = SpareTimeExecuteTypes.Parallel;
// ///
// /// 执行间隔(单位秒)
// ///
// /// 5
// [SugarColumn(ColumnDescription = "执行间隔")]
// public int? Interval { get; set; } = 5;
// ///
// /// Cron表达式
// ///
// [SugarColumn(ColumnDescription = "Cron表达式", Length = 128)]
// [MaxLength(128)]
// public string Cron { get; set; }
// ///
// /// 定时器类型
// ///
// [SugarColumn(ColumnDescription = "定时器类型")]
// public SpareTimeTypes TimerType { get; set; } = SpareTimeTypes.Interval;
// ///
// /// 请求url
// ///
// [SugarColumn(ColumnDescription = "请求url", Length = 256)]
// [MaxLength(256)]
// public string RequestUrl { get; set; }
// ///
// /// 请求类型
// ///
// [SugarColumn(ColumnDescription = "请求类型")]
// public RequestTypeEnum RequestType { get; set; } = RequestTypeEnum.Post;
// ///
// /// 请求参数
// ///
// [SugarColumn(ColumnDescription = "请求参数")]
// public string RequestPara { get; set; }
// ///
// /// Headers参数 比如{"Authorization":"userpassword"}
// ///
// [SugarColumn(ColumnDescription = "Headers参数")]
// public string Headers { get; set; }
// ///
// /// 排序
// ///
// [SugarColumn(ColumnDescription = "排序")]
// public int Order { get; set; } = 100;
// ///
// /// 备注
// ///
// [SugarColumn(ColumnDescription = "备注", Length = 128)]
// [MaxLength(128)]
// public string Remark { get; set; }
//}