提交 | 用户 | 时间
|
fd2207
|
1 |
package com.jcdm.quartz.domain; |
懒 |
2 |
|
|
3 |
import java.util.Date; |
|
4 |
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
5 |
import org.apache.commons.lang3.builder.ToStringStyle; |
|
6 |
import com.jcdm.common.annotation.Excel; |
|
7 |
import com.jcdm.common.core.domain.BaseEntity; |
|
8 |
|
|
9 |
/** |
|
10 |
* 定时任务调度日志表 sys_job_log |
|
11 |
* |
|
12 |
* @author jc |
|
13 |
*/ |
|
14 |
public class SysJobLog extends BaseEntity |
|
15 |
{ |
|
16 |
private static final long serialVersionUID = 1L; |
|
17 |
|
|
18 |
/** ID */ |
|
19 |
@Excel(name = "日志序号") |
|
20 |
private Long jobLogId; |
|
21 |
|
|
22 |
/** 任务名称 */ |
|
23 |
@Excel(name = "任务名称") |
|
24 |
private String jobName; |
|
25 |
|
|
26 |
/** 任务组名 */ |
|
27 |
@Excel(name = "任务组名") |
|
28 |
private String jobGroup; |
|
29 |
|
|
30 |
/** 调用目标字符串 */ |
|
31 |
@Excel(name = "调用目标字符串") |
|
32 |
private String invokeTarget; |
|
33 |
|
|
34 |
/** 日志信息 */ |
|
35 |
@Excel(name = "日志信息") |
|
36 |
private String jobMessage; |
|
37 |
|
|
38 |
/** 执行状态(0正常 1失败) */ |
|
39 |
@Excel(name = "执行状态", readConverterExp = "0=正常,1=失败") |
|
40 |
private String status; |
|
41 |
|
|
42 |
/** 异常信息 */ |
|
43 |
@Excel(name = "异常信息") |
|
44 |
private String exceptionInfo; |
|
45 |
|
|
46 |
/** 开始时间 */ |
|
47 |
private Date startTime; |
|
48 |
|
|
49 |
/** 停止时间 */ |
|
50 |
private Date stopTime; |
|
51 |
|
|
52 |
public Long getJobLogId() |
|
53 |
{ |
|
54 |
return jobLogId; |
|
55 |
} |
|
56 |
|
|
57 |
public void setJobLogId(Long jobLogId) |
|
58 |
{ |
|
59 |
this.jobLogId = jobLogId; |
|
60 |
} |
|
61 |
|
|
62 |
public String getJobName() |
|
63 |
{ |
|
64 |
return jobName; |
|
65 |
} |
|
66 |
|
|
67 |
public void setJobName(String jobName) |
|
68 |
{ |
|
69 |
this.jobName = jobName; |
|
70 |
} |
|
71 |
|
|
72 |
public String getJobGroup() |
|
73 |
{ |
|
74 |
return jobGroup; |
|
75 |
} |
|
76 |
|
|
77 |
public void setJobGroup(String jobGroup) |
|
78 |
{ |
|
79 |
this.jobGroup = jobGroup; |
|
80 |
} |
|
81 |
|
|
82 |
public String getInvokeTarget() |
|
83 |
{ |
|
84 |
return invokeTarget; |
|
85 |
} |
|
86 |
|
|
87 |
public void setInvokeTarget(String invokeTarget) |
|
88 |
{ |
|
89 |
this.invokeTarget = invokeTarget; |
|
90 |
} |
|
91 |
|
|
92 |
public String getJobMessage() |
|
93 |
{ |
|
94 |
return jobMessage; |
|
95 |
} |
|
96 |
|
|
97 |
public void setJobMessage(String jobMessage) |
|
98 |
{ |
|
99 |
this.jobMessage = jobMessage; |
|
100 |
} |
|
101 |
|
|
102 |
public String getStatus() |
|
103 |
{ |
|
104 |
return status; |
|
105 |
} |
|
106 |
|
|
107 |
public void setStatus(String status) |
|
108 |
{ |
|
109 |
this.status = status; |
|
110 |
} |
|
111 |
|
|
112 |
public String getExceptionInfo() |
|
113 |
{ |
|
114 |
return exceptionInfo; |
|
115 |
} |
|
116 |
|
|
117 |
public void setExceptionInfo(String exceptionInfo) |
|
118 |
{ |
|
119 |
this.exceptionInfo = exceptionInfo; |
|
120 |
} |
|
121 |
|
|
122 |
public Date getStartTime() |
|
123 |
{ |
|
124 |
return startTime; |
|
125 |
} |
|
126 |
|
|
127 |
public void setStartTime(Date startTime) |
|
128 |
{ |
|
129 |
this.startTime = startTime; |
|
130 |
} |
|
131 |
|
|
132 |
public Date getStopTime() |
|
133 |
{ |
|
134 |
return stopTime; |
|
135 |
} |
|
136 |
|
|
137 |
public void setStopTime(Date stopTime) |
|
138 |
{ |
|
139 |
this.stopTime = stopTime; |
|
140 |
} |
|
141 |
|
|
142 |
@Override |
|
143 |
public String toString() { |
|
144 |
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
145 |
.append("jobLogId", getJobLogId()) |
|
146 |
.append("jobName", getJobName()) |
|
147 |
.append("jobGroup", getJobGroup()) |
|
148 |
.append("jobMessage", getJobMessage()) |
|
149 |
.append("status", getStatus()) |
|
150 |
.append("exceptionInfo", getExceptionInfo()) |
|
151 |
.append("startTime", getStartTime()) |
|
152 |
.append("stopTime", getStopTime()) |
|
153 |
.toString(); |
|
154 |
} |
|
155 |
} |