package com.scm.contract.model.quartz;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

/**
 * @Description: 定时任务在线管理
 * @Author: jeecg-boot
 * @Date:  2019-01-02
 * @Version: V1.0
 */
@Data
@TableName("sys_quartz_job")
public class QuartzJob implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
	private String id;

	/**创建人*/
	private String createBy;

	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
	private java.util.Date createTime;

	/**删除状态*/
	private Integer delFlag;

	/**修改人*/
	private String updateBy;

	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy/MM/dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy/MM/dd HH:mm:ss")
	private java.util.Date updateTime;

	/**任务类名*/
//	@Excel(name="任务类名",width=40)
	private String jobClassName;

	/**cron表达式*/
//	@Excel(name="cron表达式",width=30)
	private String cronExpression;

	/**参数*/
//	@Excel(name="参数",width=15)
	private String parameter;

	/**描述*/
//	@Excel(name="描述",width=40)
	private String description;

	/**状态 1正常 0停止*/
//	@Excel(name="状态",width=15,dicCode="quartz_status")
	private Integer status;

}
