LeaveApplication.java
4.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
package com.trash.office.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.trash.common.annotation.Excel;
import com.trash.common.core.domain.BaseEntity;
/**
* leaveApplication对象 office_leave_application
*
* @author 2c
* @date 2023-05-04
*/
public class LeaveApplication extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** $column.columnComment */
private Long id;
/** 申请人 */
@Excel(name = "申请人")
private String applicant;
/** 部门id */
@Excel(name = "部门id")
private Long deptId;
/** 职务id */
@Excel(name = "职务id")
private Long positionId;
/** 联系方式 */
@Excel(name = "联系方式")
private String phone;
/** 请假类型 */
@Excel(name = "请假类型")
private String type;
/** 请假开始时间 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@Excel(name = "请假开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date beginDate;
/** 请假结束时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "请假结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
private Date endDate;
/** 请假天数 */
@Excel(name = "请假天数")
private String numberDays;
/** 请假事由 */
private String content;
/** 审批状态 0待审核/1审核通过/2驳回 */
@Excel(name = "审批状态")
private Integer status;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setApplicant(String applicant)
{
this.applicant = applicant;
}
public String getApplicant()
{
return applicant;
}
public void setDeptId(Long deptId)
{
this.deptId = deptId;
}
public Long getDeptId()
{
return deptId;
}
public void setPositionId(Long positionId)
{
this.positionId = positionId;
}
public Long getPositionId()
{
return positionId;
}
public void setPhone(String phone)
{
this.phone = phone;
}
public String getPhone()
{
return phone;
}
public void setType(String type)
{
this.type = type;
}
public String getType()
{
return type;
}
public void setBeginDate(Date beginDate)
{
this.beginDate = beginDate;
}
public Date getBeginDate()
{
return beginDate;
}
public void setEndDate(Date endDate)
{
this.endDate = endDate;
}
public Date getEndDate()
{
return endDate;
}
public void setNumberDays(String numberDays)
{
this.numberDays = numberDays;
}
public String getNumberDays()
{
return numberDays;
}
public void setContent(String content)
{
this.content = content;
}
public String getContent()
{
return content;
}
public void setStatus(Integer status)
{
this.status = status;
}
public Integer getStatus()
{
return status;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("applicant", getApplicant())
.append("deptId", getDeptId())
.append("positionId", getPositionId())
.append("phone", getPhone())
.append("type", getType())
.append("beginDate", getBeginDate())
.append("endDate", getEndDate())
.append("numberDays", getNumberDays())
.append("content", getContent())
.append("status", getStatus())
.append("createTime", getCreateTime())
.append("createBy", getCreateBy())
.append("updateTime", getUpdateTime())
.append("updateBy", getUpdateBy())
.toString();
}
}