提交 | 用户 | 时间
|
516ef4
|
1 |
/** |
L |
2 |
* Copyright (c) 2018 人人开源 All rights reserved. |
|
3 |
* |
|
4 |
* https://www.renren.io |
|
5 |
* |
|
6 |
* 版权所有,侵权必究! |
|
7 |
*/ |
|
8 |
|
|
9 |
package com.iailab.module.shasteel.job.dto; |
|
10 |
|
|
11 |
import io.swagger.v3.oas.annotations.media.Schema; |
|
12 |
import io.swagger.v3.oas.annotations.tags.Tag; |
|
13 |
import lombok.Data; |
|
14 |
|
|
15 |
import java.io.Serializable; |
|
16 |
import java.util.Date; |
|
17 |
|
|
18 |
/** |
|
19 |
* 定时任务日志 |
|
20 |
* |
|
21 |
* @author Mark sunlightcs@gmail.com |
|
22 |
* @since 1.0.0 |
|
23 |
*/ |
|
24 |
@Data |
|
25 |
@Tag(name = "定时任务日志") |
|
26 |
public class ScheduleJobLogDTO implements Serializable { |
|
27 |
private static final long serialVersionUID = 1L; |
|
28 |
|
|
29 |
@Schema(description = "id") |
|
30 |
private Long id; |
|
31 |
|
|
32 |
@Schema(description = "任务id") |
|
33 |
private Long jobId; |
|
34 |
|
|
35 |
@Schema(description = "spring bean名称") |
|
36 |
private String beanName; |
|
37 |
|
|
38 |
@Schema(description = "参数") |
|
39 |
private String params; |
|
40 |
|
|
41 |
@Schema(description = "任务状态 0:失败 1:成功") |
|
42 |
private Integer status; |
|
43 |
|
|
44 |
@Schema(description = "失败信息") |
|
45 |
private String error; |
|
46 |
|
|
47 |
@Schema(description = "耗时(单位:毫秒)") |
|
48 |
private Integer times; |
|
49 |
|
|
50 |
@Schema(description = "创建时间") |
|
51 |
private Date createDate; |
|
52 |
|
|
53 |
} |