namespace MiaoYu.Repository.Admin.Entities.Quartz;
///
/// 作业任务
///
[EntityDescription(FieldIgnored = true)]
[Table("quartz_job_task")]
public class QuartzJob : DefaultEntity, IQuartzJobInfoEntity
{
///
/// 任务名称
///
public string? Name { get; set; }
///
/// 分组名称
///
public string? GroupName { get; set; }
///
/// 间隔表达式
///
public string? Cron { get; set; }
///
/// 执行时间
///
public DateTime? ExecuteTime { get; set; }
///
/// 运行状态
///
public bool State { get; set; }
///
/// 备注
///
public string? Remark { get; set; }
///
/// 任务类型
///
public QuartzJobTaskType Type { get; set; } = QuartzJobTaskType.Local;
///
/// 作业点
///
public string? JobPoint { get; set; }
///
/// 请求方式
///
[Column("RequsetMode")]
public QuartzJobRequestModeEnum? RequestMode { get; set; }
///
/// 非数据库字段
///
[NotMapped]
public string Key { get; set; } = string.Empty;
}