提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.modular.zsx.bs.job.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.TableName; |
|
4 |
import com.baomidou.mybatisplus.annotation.IdType; |
|
5 |
import java.util.Date; |
|
6 |
import com.baomidou.mybatisplus.annotation.TableId; |
|
7 |
import com.baomidou.mybatisplus.annotation.FieldFill; |
|
8 |
import com.baomidou.mybatisplus.annotation.TableField; |
|
9 |
import java.io.Serializable; |
|
10 |
|
|
11 |
/** |
|
12 |
* <p> |
|
13 |
* 定时任务调度表 |
|
14 |
* </p> |
|
15 |
* |
|
16 |
* @author zrm |
|
17 |
* @since 2023-08-17 |
|
18 |
*/ |
|
19 |
@TableName("sys_job") |
|
20 |
public class SysJob implements Serializable { |
|
21 |
|
|
22 |
private static final long serialVersionUID=1L; |
|
23 |
|
|
24 |
/** |
|
25 |
* 任务ID |
|
26 |
*/ |
|
27 |
@TableId(value = "id", type = IdType.AUTO) |
|
28 |
private Long id; |
|
29 |
|
|
30 |
/** |
|
31 |
* 任务名称 |
|
32 |
*/ |
|
33 |
@TableField("job_name") |
|
34 |
private String jobName; |
|
35 |
|
|
36 |
/** |
|
37 |
* 任务组名 |
|
38 |
*/ |
|
39 |
@TableField("job_group") |
|
40 |
private String jobGroup; |
|
41 |
|
|
42 |
/** |
|
43 |
* 调用目标字符串 |
|
44 |
*/ |
|
45 |
@TableField("invoke_target") |
|
46 |
private String invokeTarget; |
|
47 |
|
|
48 |
/** |
|
49 |
* cron执行表达式 |
|
50 |
*/ |
|
51 |
@TableField("cron_expression") |
|
52 |
private String cronExpression; |
|
53 |
|
|
54 |
/** |
|
55 |
* 计划执行错误策略(1立即执行 2执行一次 3放弃执行) |
|
56 |
*/ |
|
57 |
@TableField("misfire_policy") |
|
58 |
private String misfirePolicy; |
|
59 |
|
|
60 |
/** |
|
61 |
* 是否并发执行(0允许 1禁止) |
|
62 |
*/ |
|
63 |
@TableField("concurrent") |
|
64 |
private String concurrent; |
|
65 |
|
|
66 |
/** |
|
67 |
* 状态(0正常 1暂停) |
|
68 |
*/ |
|
69 |
@TableField("status") |
|
70 |
private String status; |
|
71 |
|
|
72 |
/** |
|
73 |
* 创建者 |
|
74 |
*/ |
|
75 |
@TableField("create_by") |
|
76 |
private String createBy; |
|
77 |
|
|
78 |
/** |
|
79 |
* 创建时间 |
|
80 |
*/ |
|
81 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
82 |
private Date createTime; |
|
83 |
|
|
84 |
/** |
|
85 |
* 更新者 |
|
86 |
*/ |
|
87 |
@TableField("update_by") |
|
88 |
private String updateBy; |
|
89 |
|
|
90 |
/** |
|
91 |
* 更新时间 |
|
92 |
*/ |
|
93 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
94 |
private Date updateTime; |
|
95 |
|
|
96 |
/** |
|
97 |
* 备注信息 |
|
98 |
*/ |
|
99 |
@TableField("remark") |
|
100 |
private String remark; |
|
101 |
|
|
102 |
public Long getId() { |
|
103 |
return id; |
|
104 |
} |
|
105 |
|
|
106 |
public void setId(Long id) { |
|
107 |
this.id = id; |
|
108 |
} |
|
109 |
|
|
110 |
public String getJobName() { |
|
111 |
return jobName; |
|
112 |
} |
|
113 |
|
|
114 |
public void setJobName(String jobName) { |
|
115 |
this.jobName = jobName; |
|
116 |
} |
|
117 |
|
|
118 |
public String getJobGroup() { |
|
119 |
return jobGroup; |
|
120 |
} |
|
121 |
|
|
122 |
public void setJobGroup(String jobGroup) { |
|
123 |
this.jobGroup = jobGroup; |
|
124 |
} |
|
125 |
|
|
126 |
public String getInvokeTarget() { |
|
127 |
return invokeTarget; |
|
128 |
} |
|
129 |
|
|
130 |
public void setInvokeTarget(String invokeTarget) { |
|
131 |
this.invokeTarget = invokeTarget; |
|
132 |
} |
|
133 |
|
|
134 |
public String getCronExpression() { |
|
135 |
return cronExpression; |
|
136 |
} |
|
137 |
|
|
138 |
public void setCronExpression(String cronExpression) { |
|
139 |
this.cronExpression = cronExpression; |
|
140 |
} |
|
141 |
|
|
142 |
public String getMisfirePolicy() { |
|
143 |
return misfirePolicy; |
|
144 |
} |
|
145 |
|
|
146 |
public void setMisfirePolicy(String misfirePolicy) { |
|
147 |
this.misfirePolicy = misfirePolicy; |
|
148 |
} |
|
149 |
|
|
150 |
public String getConcurrent() { |
|
151 |
return concurrent; |
|
152 |
} |
|
153 |
|
|
154 |
public void setConcurrent(String concurrent) { |
|
155 |
this.concurrent = concurrent; |
|
156 |
} |
|
157 |
|
|
158 |
public String getStatus() { |
|
159 |
return status; |
|
160 |
} |
|
161 |
|
|
162 |
public void setStatus(String status) { |
|
163 |
this.status = status; |
|
164 |
} |
|
165 |
|
|
166 |
public String getCreateBy() { |
|
167 |
return createBy; |
|
168 |
} |
|
169 |
|
|
170 |
public void setCreateBy(String createBy) { |
|
171 |
this.createBy = createBy; |
|
172 |
} |
|
173 |
|
|
174 |
public Date getCreateTime() { |
|
175 |
return createTime; |
|
176 |
} |
|
177 |
|
|
178 |
public void setCreateTime(Date createTime) { |
|
179 |
this.createTime = createTime; |
|
180 |
} |
|
181 |
|
|
182 |
public String getUpdateBy() { |
|
183 |
return updateBy; |
|
184 |
} |
|
185 |
|
|
186 |
public void setUpdateBy(String updateBy) { |
|
187 |
this.updateBy = updateBy; |
|
188 |
} |
|
189 |
|
|
190 |
public Date getUpdateTime() { |
|
191 |
return updateTime; |
|
192 |
} |
|
193 |
|
|
194 |
public void setUpdateTime(Date updateTime) { |
|
195 |
this.updateTime = updateTime; |
|
196 |
} |
|
197 |
|
|
198 |
public String getRemark() { |
|
199 |
return remark; |
|
200 |
} |
|
201 |
|
|
202 |
public void setRemark(String remark) { |
|
203 |
this.remark = remark; |
|
204 |
} |
|
205 |
|
|
206 |
@Override |
|
207 |
public String toString() { |
|
208 |
return "SysJob{" + |
|
209 |
"id=" + id + |
|
210 |
", jobName=" + jobName + |
|
211 |
", jobGroup=" + jobGroup + |
|
212 |
", invokeTarget=" + invokeTarget + |
|
213 |
", cronExpression=" + cronExpression + |
|
214 |
", misfirePolicy=" + misfirePolicy + |
|
215 |
", concurrent=" + concurrent + |
|
216 |
", status=" + status + |
|
217 |
", createBy=" + createBy + |
|
218 |
", createTime=" + createTime + |
|
219 |
", updateBy=" + updateBy + |
|
220 |
", updateTime=" + updateTime + |
|
221 |
", remark=" + remark + |
|
222 |
"}"; |
|
223 |
} |
|
224 |
} |