提交 | 用户 | 时间
|
a6de49
|
1 |
package com.iailab.module.data.job.entity; |
H |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.FieldFill; |
|
4 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
5 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
6 |
import com.iailab.framework.common.entity.BaseEntity; |
|
7 |
import lombok.Data; |
|
8 |
import lombok.EqualsAndHashCode; |
|
9 |
|
|
10 |
import java.util.Date; |
|
11 |
|
|
12 |
/** |
|
13 |
* 定时任务 |
|
14 |
* |
|
15 |
* @author Mark sunlightcs@gmail.com |
|
16 |
*/ |
|
17 |
@Data |
|
18 |
@EqualsAndHashCode(callSuper=false) |
|
19 |
@TableName("schedule_job") |
|
20 |
public class ScheduleJobEntity extends BaseEntity { |
|
21 |
private static final long serialVersionUID = 1L; |
|
22 |
|
|
23 |
/** |
|
24 |
* spring bean名称 |
|
25 |
*/ |
|
26 |
private String beanName; |
|
27 |
/** |
|
28 |
* 参数 |
|
29 |
*/ |
|
30 |
private String params; |
|
31 |
/** |
|
32 |
* cron表达式 |
|
33 |
*/ |
|
34 |
private String cronExpression; |
|
35 |
/** |
|
36 |
* 任务状态 0:暂停 1:正常 |
|
37 |
*/ |
|
38 |
private Integer status; |
|
39 |
/** |
|
40 |
* 备注 |
|
41 |
*/ |
|
42 |
private String remark; |
|
43 |
/** |
|
44 |
* 更新者 |
|
45 |
*/ |
|
46 |
@TableField(fill = FieldFill.INSERT_UPDATE) |
|
47 |
private Long updater; |
|
48 |
/** |
|
49 |
* 更新时间 |
|
50 |
*/ |
|
51 |
@TableField(fill = FieldFill.INSERT_UPDATE) |
|
52 |
private Date updateDate; |
0fbd01
|
53 |
|
潘 |
54 |
/** |
|
55 |
* 多租户编号 |
|
56 |
*/ |
|
57 |
private Long tenantId; |
a6de49
|
58 |
} |