提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.data.job.entity; |
H |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
4 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
5 |
import lombok.Data; |
|
6 |
|
|
7 |
import java.io.Serializable; |
|
8 |
import java.util.Date; |
|
9 |
|
|
10 |
/** |
|
11 |
* 定时任务日志 |
|
12 |
* |
|
13 |
* @author Mark sunlightcs@gmail.com |
|
14 |
*/ |
|
15 |
@Data |
|
16 |
@TableName("schedule_job_log") |
|
17 |
public class ScheduleJobLogEntity implements Serializable { |
|
18 |
private static final long serialVersionUID = 1L; |
|
19 |
|
|
20 |
/** |
|
21 |
* id |
|
22 |
*/ |
|
23 |
@TableId |
|
24 |
private Long id; |
|
25 |
/** |
|
26 |
* 任务id |
|
27 |
*/ |
|
28 |
private Long jobId; |
|
29 |
/** |
|
30 |
* spring bean名称 |
|
31 |
*/ |
|
32 |
private String beanName; |
|
33 |
/** |
|
34 |
* 参数 |
|
35 |
*/ |
|
36 |
private String params; |
|
37 |
/** |
|
38 |
* 任务状态 0:失败 1:成功 |
|
39 |
*/ |
|
40 |
private Integer status; |
|
41 |
/** |
|
42 |
* 失败信息 |
|
43 |
*/ |
|
44 |
private String error; |
|
45 |
/** |
|
46 |
* 耗时(单位:毫秒) |
|
47 |
*/ |
|
48 |
private Integer times; |
|
49 |
/** |
|
50 |
* 创建时间 |
|
51 |
*/ |
|
52 |
private Date createDate; |
|
53 |
|
0fbd01
|
54 |
/** |
潘 |
55 |
* 多租户编号 |
|
56 |
*/ |
|
57 |
private Long tenantId; |
|
58 |
|
a6de49
|
59 |
} |