zhongrj
2023-06-03 b112d242575fe96123b1e8dad434f46e6d2bb3d1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
package cn.gistack.job.executor.entity;
 
import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
 
/**
 * @PROJECT_NAME: skjcmanager
 * @DESCRIPTION:
 * @USER: aix
 * @DATE: 2023/5/15 14:53
 */
@Data
@TableName(value = "xxl_job_info", autoResultMap = true)
public class XxlJobInfo {
 
    @TableId(type= IdType.AUTO)
    private Integer id;                // 主键ID
 
    private Integer jobGroup;        // 执行器主键ID
    private String jobCron;        // 任务执行CRON表达式
    private String jobDesc;
 
    private Date addTime;
    private Date updateTime;
 
    private String author;        // 负责人
    private String alarmEmail;    // 报警邮件
 
    private String executorRouteStrategy;    // 执行器路由策略
    private String executorHandler;            // 执行器,任务Handler名称
    @TableField(typeHandler = JacksonTypeHandler.class)
    private Object executorParam;            // 执行器,任务参数
    private String executorBlockStrategy;    // 阻塞处理策略
    private Integer executorTimeout;             // 任务执行超时时间,单位秒
    private Integer executorFailRetryCount;        // 失败重试次数
 
    private String glueType;        // GLUE类型    #com.xxl.job.core.glue.GlueTypeEnum
    private String glueSource;        // GLUE源代码
    private String glueRemark;        // GLUE备注
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date glueUpdatetime;    // GLUE更新时间
 
    private String childJobid;        // 子任务ID,多个逗号分隔
 
    private Integer triggerStatus;        // 调度状态:0-停止,1-运行
    private Long triggerLastTime;    // 上次调度时间
    private Long triggerNextTime;    // 下次调度时间
 
}