/**
|
* Copyright (c) 2018 人人开源 All rights reserved.
|
*
|
* https://www.renren.io
|
*
|
* 版权所有,侵权必究!
|
*/
|
|
package com.iailab.module.job.dto;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 定时任务日志
|
*
|
* @author Mark sunlightcs@gmail.com
|
* @since 1.0.0
|
*/
|
@Data
|
@Schema(name = "定时任务日志")
|
public class ScheduleJobLogDTO implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
@Schema(name = "id")
|
private Long id;
|
|
@Schema(name = "任务id")
|
private Long jobId;
|
|
@Schema(name = "spring bean名称")
|
private String beanName;
|
|
@Schema(name = "参数")
|
private String params;
|
|
@Schema(name = "任务状态 0:失败 1:成功")
|
private Integer status;
|
|
@Schema(name = "失败信息")
|
private String error;
|
|
@Schema(name = "耗时(单位:毫秒)")
|
private Integer times;
|
|
@Schema(name = "创建时间")
|
private Date createDate;
|
|
}
|