using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using SqlSugar; namespace IStation.Entity { /// /// 自定义计划任务 /// [SugarTable("custom_cron_job")] public class CustomCronJob : BaseTraceEntity, System.ICloneable, IUseStatus { /// /// /// public CustomCronJob() { } /// /// /// public CustomCronJob(CustomCronJob rhs) : base(rhs) { this.NO = rhs.NO; this.Name = rhs.Name; this.Expression = rhs.Expression; this.Repeat = rhs.Repeat; this.Execution = rhs.Execution; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; } /// /// 编号 /// public string NO { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// Cron表达式 /// public string Expression { get; set; } /// /// 重置 (分钟) /// public int Repeat { get; set; } /// /// 执行文件 /// public string Execution { get; set; } /// /// 使用状态 /// public int UseStatus { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public CustomCronJob Clone() { return (CustomCronJob)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }