|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+package com.huimv.employment.service.order.dto;
|
|
|
2
|
+
|
|
|
3
|
+import com.fasterxml.jackson.annotation.JsonProperty;
|
|
|
4
|
+import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
5
|
+
|
|
|
6
|
+import java.math.BigDecimal;
|
|
|
7
|
+import java.time.LocalDate;
|
|
|
8
|
+import java.time.LocalDateTime;
|
|
|
9
|
+
|
|
|
10
|
+@Schema(description = "用工订单列表项")
|
|
|
11
|
+public class EmploymentOrderItemResponse {
|
|
|
12
|
+
|
|
|
13
|
+ @JsonProperty("draft_id")
|
|
|
14
|
+ @Schema(description = "关联草稿 ID")
|
|
|
15
|
+ private Long draftId;
|
|
|
16
|
+
|
|
|
17
|
+ @JsonProperty("order_id")
|
|
|
18
|
+ @Schema(description = "订单主键 ID")
|
|
|
19
|
+ private Long orderId;
|
|
|
20
|
+
|
|
|
21
|
+ @JsonProperty("order_no")
|
|
|
22
|
+ @Schema(description = "订单编号", example = "ord_123")
|
|
|
23
|
+ private String orderNo;
|
|
|
24
|
+
|
|
|
25
|
+ @Schema(description = "订单标题")
|
|
|
26
|
+ private String title;
|
|
|
27
|
+
|
|
|
28
|
+ @JsonProperty("worker_count")
|
|
|
29
|
+ @Schema(description = "用工人数")
|
|
|
30
|
+ private Integer workerCount;
|
|
|
31
|
+
|
|
|
32
|
+ @JsonProperty("work_days")
|
|
|
33
|
+ @Schema(description = "工作天数")
|
|
|
34
|
+ private Integer workDays;
|
|
|
35
|
+
|
|
|
36
|
+ @JsonProperty("work_type")
|
|
|
37
|
+ @Schema(description = "岗位类型")
|
|
|
38
|
+ private String workType;
|
|
|
39
|
+
|
|
|
40
|
+ @JsonProperty("work_location")
|
|
|
41
|
+ @Schema(description = "工作地点")
|
|
|
42
|
+ private String workLocation;
|
|
|
43
|
+
|
|
|
44
|
+ @JsonProperty("work_start_date")
|
|
|
45
|
+ private LocalDate workStartDate;
|
|
|
46
|
+
|
|
|
47
|
+ @JsonProperty("work_end_date")
|
|
|
48
|
+ private LocalDate workEndDate;
|
|
|
49
|
+
|
|
|
50
|
+ @JsonProperty("order_status")
|
|
|
51
|
+ @Schema(description = "订单状态", example = "confirmed")
|
|
|
52
|
+ private String orderStatus;
|
|
|
53
|
+
|
|
|
54
|
+ @JsonProperty("current_step_code")
|
|
|
55
|
+ @Schema(description = "当前流程步骤")
|
|
|
56
|
+ private String currentStepCode;
|
|
|
57
|
+
|
|
|
58
|
+ @JsonProperty("registered_count")
|
|
|
59
|
+ private Integer registeredCount;
|
|
|
60
|
+
|
|
|
61
|
+ @JsonProperty("pending_count")
|
|
|
62
|
+ private Integer pendingCount;
|
|
|
63
|
+
|
|
|
64
|
+ @JsonProperty("abnormal_count")
|
|
|
65
|
+ private Integer abnormalCount;
|
|
|
66
|
+
|
|
|
67
|
+ @JsonProperty("total_outflow")
|
|
|
68
|
+ @Schema(description = "企业总支出")
|
|
|
69
|
+ private BigDecimal totalOutflow;
|
|
|
70
|
+
|
|
|
71
|
+ @JsonProperty("selected_plan_id")
|
|
|
72
|
+ private Long selectedPlanId;
|
|
|
73
|
+
|
|
|
74
|
+ @JsonProperty("create_time")
|
|
|
75
|
+ private LocalDateTime createTime;
|
|
|
76
|
+
|
|
|
77
|
+ @JsonProperty("update_time")
|
|
|
78
|
+ private LocalDateTime updateTime;
|
|
|
79
|
+
|
|
|
80
|
+ public Long getDraftId() {
|
|
|
81
|
+ return draftId;
|
|
|
82
|
+ }
|
|
|
83
|
+
|
|
|
84
|
+ public void setDraftId(Long draftId) {
|
|
|
85
|
+ this.draftId = draftId;
|
|
|
86
|
+ }
|
|
|
87
|
+
|
|
|
88
|
+ public Long getOrderId() {
|
|
|
89
|
+ return orderId;
|
|
|
90
|
+ }
|
|
|
91
|
+
|
|
|
92
|
+ public void setOrderId(Long orderId) {
|
|
|
93
|
+ this.orderId = orderId;
|
|
|
94
|
+ }
|
|
|
95
|
+
|
|
|
96
|
+ public String getOrderNo() {
|
|
|
97
|
+ return orderNo;
|
|
|
98
|
+ }
|
|
|
99
|
+
|
|
|
100
|
+ public void setOrderNo(String orderNo) {
|
|
|
101
|
+ this.orderNo = orderNo;
|
|
|
102
|
+ }
|
|
|
103
|
+
|
|
|
104
|
+ public String getTitle() {
|
|
|
105
|
+ return title;
|
|
|
106
|
+ }
|
|
|
107
|
+
|
|
|
108
|
+ public void setTitle(String title) {
|
|
|
109
|
+ this.title = title;
|
|
|
110
|
+ }
|
|
|
111
|
+
|
|
|
112
|
+ public Integer getWorkerCount() {
|
|
|
113
|
+ return workerCount;
|
|
|
114
|
+ }
|
|
|
115
|
+
|
|
|
116
|
+ public void setWorkerCount(Integer workerCount) {
|
|
|
117
|
+ this.workerCount = workerCount;
|
|
|
118
|
+ }
|
|
|
119
|
+
|
|
|
120
|
+ public Integer getWorkDays() {
|
|
|
121
|
+ return workDays;
|
|
|
122
|
+ }
|
|
|
123
|
+
|
|
|
124
|
+ public void setWorkDays(Integer workDays) {
|
|
|
125
|
+ this.workDays = workDays;
|
|
|
126
|
+ }
|
|
|
127
|
+
|
|
|
128
|
+ public String getWorkType() {
|
|
|
129
|
+ return workType;
|
|
|
130
|
+ }
|
|
|
131
|
+
|
|
|
132
|
+ public void setWorkType(String workType) {
|
|
|
133
|
+ this.workType = workType;
|
|
|
134
|
+ }
|
|
|
135
|
+
|
|
|
136
|
+ public String getWorkLocation() {
|
|
|
137
|
+ return workLocation;
|
|
|
138
|
+ }
|
|
|
139
|
+
|
|
|
140
|
+ public void setWorkLocation(String workLocation) {
|
|
|
141
|
+ this.workLocation = workLocation;
|
|
|
142
|
+ }
|
|
|
143
|
+
|
|
|
144
|
+ public LocalDate getWorkStartDate() {
|
|
|
145
|
+ return workStartDate;
|
|
|
146
|
+ }
|
|
|
147
|
+
|
|
|
148
|
+ public void setWorkStartDate(LocalDate workStartDate) {
|
|
|
149
|
+ this.workStartDate = workStartDate;
|
|
|
150
|
+ }
|
|
|
151
|
+
|
|
|
152
|
+ public LocalDate getWorkEndDate() {
|
|
|
153
|
+ return workEndDate;
|
|
|
154
|
+ }
|
|
|
155
|
+
|
|
|
156
|
+ public void setWorkEndDate(LocalDate workEndDate) {
|
|
|
157
|
+ this.workEndDate = workEndDate;
|
|
|
158
|
+ }
|
|
|
159
|
+
|
|
|
160
|
+ public String getOrderStatus() {
|
|
|
161
|
+ return orderStatus;
|
|
|
162
|
+ }
|
|
|
163
|
+
|
|
|
164
|
+ public void setOrderStatus(String orderStatus) {
|
|
|
165
|
+ this.orderStatus = orderStatus;
|
|
|
166
|
+ }
|
|
|
167
|
+
|
|
|
168
|
+ public String getCurrentStepCode() {
|
|
|
169
|
+ return currentStepCode;
|
|
|
170
|
+ }
|
|
|
171
|
+
|
|
|
172
|
+ public void setCurrentStepCode(String currentStepCode) {
|
|
|
173
|
+ this.currentStepCode = currentStepCode;
|
|
|
174
|
+ }
|
|
|
175
|
+
|
|
|
176
|
+ public Integer getRegisteredCount() {
|
|
|
177
|
+ return registeredCount;
|
|
|
178
|
+ }
|
|
|
179
|
+
|
|
|
180
|
+ public void setRegisteredCount(Integer registeredCount) {
|
|
|
181
|
+ this.registeredCount = registeredCount;
|
|
|
182
|
+ }
|
|
|
183
|
+
|
|
|
184
|
+ public Integer getPendingCount() {
|
|
|
185
|
+ return pendingCount;
|
|
|
186
|
+ }
|
|
|
187
|
+
|
|
|
188
|
+ public void setPendingCount(Integer pendingCount) {
|
|
|
189
|
+ this.pendingCount = pendingCount;
|
|
|
190
|
+ }
|
|
|
191
|
+
|
|
|
192
|
+ public Integer getAbnormalCount() {
|
|
|
193
|
+ return abnormalCount;
|
|
|
194
|
+ }
|
|
|
195
|
+
|
|
|
196
|
+ public void setAbnormalCount(Integer abnormalCount) {
|
|
|
197
|
+ this.abnormalCount = abnormalCount;
|
|
|
198
|
+ }
|
|
|
199
|
+
|
|
|
200
|
+ public BigDecimal getTotalOutflow() {
|
|
|
201
|
+ return totalOutflow;
|
|
|
202
|
+ }
|
|
|
203
|
+
|
|
|
204
|
+ public void setTotalOutflow(BigDecimal totalOutflow) {
|
|
|
205
|
+ this.totalOutflow = totalOutflow;
|
|
|
206
|
+ }
|
|
|
207
|
+
|
|
|
208
|
+ public Long getSelectedPlanId() {
|
|
|
209
|
+ return selectedPlanId;
|
|
|
210
|
+ }
|
|
|
211
|
+
|
|
|
212
|
+ public void setSelectedPlanId(Long selectedPlanId) {
|
|
|
213
|
+ this.selectedPlanId = selectedPlanId;
|
|
|
214
|
+ }
|
|
|
215
|
+
|
|
|
216
|
+ public LocalDateTime getCreateTime() {
|
|
|
217
|
+ return createTime;
|
|
|
218
|
+ }
|
|
|
219
|
+
|
|
|
220
|
+ public void setCreateTime(LocalDateTime createTime) {
|
|
|
221
|
+ this.createTime = createTime;
|
|
|
222
|
+ }
|
|
|
223
|
+
|
|
|
224
|
+ public LocalDateTime getUpdateTime() {
|
|
|
225
|
+ return updateTime;
|
|
|
226
|
+ }
|
|
|
227
|
+
|
|
|
228
|
+ public void setUpdateTime(LocalDateTime updateTime) {
|
|
|
229
|
+ this.updateTime = updateTime;
|
|
|
230
|
+ }
|
|
|
231
|
+}
|