|
|
@@ -1,14 +1,17 @@
|
|
1
|
1
|
package com.sundot.airport.personnel.domain;
|
|
2
|
2
|
|
|
3
|
3
|
import java.math.BigDecimal;
|
|
|
4
|
+import java.util.Date;
|
|
4
|
5
|
|
|
5
|
6
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
6
|
7
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
7
|
8
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
9
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
8
|
10
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
9
|
11
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
10
|
12
|
import com.sundot.airport.common.annotation.Excel;
|
|
11
|
13
|
import com.sundot.airport.common.core.domain.BaseEntity;
|
|
|
14
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
12
|
15
|
|
|
13
|
16
|
/**
|
|
14
|
17
|
* 月度考核指标奖罚明细对象 personnel_monthly_assessment_indicator_reward_punishment_detail
|
|
|
@@ -58,6 +61,12 @@ public class PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail extends B
|
|
58
|
61
|
@Excel(name = "奖罚金额(元)")
|
|
59
|
62
|
private BigDecimal amount;
|
|
60
|
63
|
|
|
|
64
|
+ /** 日期 */
|
|
|
65
|
+ @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
|
|
|
66
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
67
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
68
|
+ private Date recordDate;
|
|
|
69
|
+
|
|
61
|
70
|
public void setTenantId(String tenantId) {
|
|
62
|
71
|
this.tenantId = tenantId;
|
|
63
|
72
|
}
|
|
|
@@ -138,6 +147,14 @@ public class PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail extends B
|
|
138
|
147
|
return amount;
|
|
139
|
148
|
}
|
|
140
|
149
|
|
|
|
150
|
+ public Date getRecordDate() {
|
|
|
151
|
+ return recordDate;
|
|
|
152
|
+ }
|
|
|
153
|
+
|
|
|
154
|
+ public void setRecordDate(Date recordDate) {
|
|
|
155
|
+ this.recordDate = recordDate;
|
|
|
156
|
+ }
|
|
|
157
|
+
|
|
141
|
158
|
@Override
|
|
142
|
159
|
public String toString() {
|
|
143
|
160
|
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
|
|
|
@@ -156,6 +173,7 @@ public class PersonnelMonthlyAssessmentIndicatorRewardPunishmentDetail extends B
|
|
156
|
173
|
.append("rewardPunishmentType", getRewardPunishmentType())
|
|
157
|
174
|
.append("rewardPunishmentDetail", getRewardPunishmentDetail())
|
|
158
|
175
|
.append("amount", getAmount())
|
|
|
176
|
+ .append("recordDate", getRecordDate())
|
|
159
|
177
|
.toString();
|
|
160
|
178
|
}
|
|
161
|
179
|
}
|