using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Collections.Generic;
namespace Admin.Core.Model.Sys
{
///
///任务计划表实体类
///
[Table("SysTasksQz")]
[SugarTable("SysTasksQz", "admin_sqlite")]
public class SysTasksQz
{
///
/// 主键
///
[Key]
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
[Required]
public int ID { get; set; }
///
/// 任务名称
///
public string Name { get; set; }
///
/// 任务分组
///
public string JobGroup { get; set; }
///
/// 任务运行时间表达式
///
public string Cron { get; set; }
///
/// 任务所在DLL对应的程序集名称
///
public string AssemblyName { get; set; }
///
/// 任务所在类
///
public string ClassName { get; set; }
///
/// 任务描述
///
public string Remark { get; set; }
///
/// 执行次数
///
public int? RunTimes { get; set; }
///
/// 开始时间
///
public DateTime? BeginTime { get; set; }
///
/// 结束时间
///
public DateTime? EndTime { get; set; }
///
/// 触发器类型(0、simple 1、cron)
///
public int? TriggerType { get; set; }
///
/// 执行间隔时间, 秒为单位
///
public int? IntervalSecond { get; set; }
///
/// 循环执行次数
///
public int? CycleRunTimes { get; set; }
///
/// 是否启动
///
public bool? IsStart { get; set; }
///
/// 执行传参
///
public string JobParams { get; set; }
///
/// 删除标志(0代表存在 1代表删除)
///
public bool? DelFlag { get; set; }
///
/// 创建者
///
public string CreateBy { get; set; }
///
/// 创建时间
///
public DateTime? CreateTime { get; set; }
///
/// 更新者
///
public string UpdateBy { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
///
/// 任务内存中的状态
///
[SugarColumn(IsIgnore = true)]
public List Triggers { get; set; }
}
}