package org.jeecg.modules.quartz.dto; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import java.util.Date; /** * @author: LiuS * @create: 2023-08-05 14:05 */ @Data public class SysQuartzLogDto { @Excel(name = "任务名称", width = 40) private String jobName; @Excel(name = "任务类名", width = 40) private String jobClassName; @Excel(name = "cron表达式", width = 30) private String cronExpression; @Excel(name = "参数", width = 15) private String parameter; @Excel(name = "描述", width = 40) private String description; @Excel(name = "报错信息", width = 50) private String exceptionDetail; @Excel(name = "成功标志 0成功 -1失败", width = 15) private Integer isSuccess; @Excel(name = "执行时间", width = 15) private Integer executionTime; @Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss") @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date createTime; }