123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778 |
- package com.sky.ioc.entity;
- import com.baomidou.mybatisplus.annotation.*;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import org.springframework.format.annotation.DateTimeFormat;
- import java.io.Serializable;
- import java.util.Date;
- @Data
- @TableName("sys_quartz_job")
- public class QuartzJob implements Serializable {
- private static final long serialVersionUID = 1L;
- /**
- * id
- */
- @TableId(type = IdType.AUTO)
- private Integer id;
- /**
- * 创建人
- */
- private String createBy;
- /**任务分组
- * 1 系统
- * 2 默认
- * */
- private Integer groupType;
- /**任务名*/
- private String name;
- /**
- * 修改人
- */
- private String updateBy;
- /**
- * 任务类名
- */
- private String jobClassName;
- /**
- * cron表达式
- */
- private String cronExpression;
- /**
- * 参数
- */
- private String parameter;
- /**
- * 描述
- */
- private String description;
- /**
- * 状态 0正常 -1停止
- */
- private Integer status;
- /**
- * 删除状态
- */
- @TableLogic
- private Integer delFlag;
- /**
- * 创建时间
- */
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- @TableField(fill = FieldFill.INSERT)
- private Date createTime;
- /**
- * 修改时间
- */
- @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
- @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
- @TableField(fill = FieldFill.INSERT_UPDATE)
- private Date updateTime;
- }
|