wlzboy
2025-10-18 b46065a201c09ce69f111806f2bda4a5f476bc4e
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
package com.ruoyi.system.domain.vo;
 
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
 
/**
 * 任务创建对象
 * 
 * @author ruoyi
 * @date 2024-01-15
 */
public class TaskCreateVO {
    
    /** 任务类型 */
    private String taskType;
 
    /** 任务描述 */
    private String taskDescription;
 
    /** 出发地址 */
    private String departureAddress;
 
    /** 目的地址 */
    private String destinationAddress;
 
    /** 计划开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date plannedStartTime;
 
    /** 计划结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date plannedEndTime;
 
    /** 执行人ID */
    private Long assigneeId;
 
    /** 备注 */
    private String remark;
 
    /** 出发地经度 */
    private BigDecimal departureLongitude;
 
    /** 出发地纬度 */
    private BigDecimal departureLatitude;
 
    /** 目的地经度 */
    private BigDecimal destinationLongitude;
 
    /** 目的地纬度 */
    private BigDecimal destinationLatitude;
 
    /** 预计公里数 */
    private BigDecimal estimatedDistance;
 
    /** 转运时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date transferTime;
 
    /** 患者信息 */
    private PatientInfo patient;
 
    /** 转出医院信息 */
    private HospitalInfo hospitalOut;
 
    /** 转入医院信息 */
    private HospitalInfo hospitalIn;
 
    /** 转运公里数 */
    private BigDecimal transferDistance;
 
    /** 成交价 */
    private BigDecimal price;
 
    /** 服务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date serviceTime;
 
    /** 乘客信息 */
    private PassengerInfo passenger;
 
    /** 起始地址 */
    private String startAddress;
 
    /** 结束地址 */
    private String endAddress;
 
    /** 福祉车公里数 */
    private BigDecimal distance;
 
    /** 车辆ID列表 */
    private List<Long> vehicleIds;
 
    // 患者信息内部类
    public static class PatientInfo {
        private String contact;
        private String phone;
        private String name;
        private String gender;
        private String idCard;
        private String condition;
 
        // getters and setters
        public String getContact() {
            return contact;
        }
 
        public void setContact(String contact) {
            this.contact = contact;
        }
 
        public String getPhone() {
            return phone;
        }
 
        public void setPhone(String phone) {
            this.phone = phone;
        }
 
        public String getName() {
            return name;
        }
 
        public void setName(String name) {
            this.name = name;
        }
 
        public String getGender() {
            return gender;
        }
 
        public void setGender(String gender) {
            this.gender = gender;
        }
 
        public String getIdCard() {
            return idCard;
        }
 
        public void setIdCard(String idCard) {
            this.idCard = idCard;
        }
 
        public String getCondition() {
            return condition;
        }
 
        public void setCondition(String condition) {
            this.condition = condition;
        }
    }
 
    // 医院信息内部类
    public static class HospitalInfo {
        private String name;
        private String department;
        private String bedNumber;
        private String address;
        private BigDecimal longitude;
        private BigDecimal latitude;
 
        // getters and setters
        public String getName() {
            return name;
        }
 
        public void setName(String name) {
            this.name = name;
        }
 
        public String getDepartment() {
            return department;
        }
 
        public void setDepartment(String department) {
            this.department = department;
        }
 
        public String getBedNumber() {
            return bedNumber;
        }
 
        public void setBedNumber(String bedNumber) {
            this.bedNumber = bedNumber;
        }
 
        public String getAddress() {
            return address;
        }
 
        public void setAddress(String address) {
            this.address = address;
        }
 
        public BigDecimal getLongitude() {
            return longitude;
        }
 
        public void setLongitude(BigDecimal longitude) {
            this.longitude = longitude;
        }
 
        public BigDecimal getLatitude() {
            return latitude;
        }
 
        public void setLatitude(BigDecimal latitude) {
            this.latitude = latitude;
        }
    }
 
    // 乘客信息内部类
    public static class PassengerInfo {
        private String contact;
        private String phone;
 
        // getters and setters
        public String getContact() {
            return contact;
        }
 
        public void setContact(String contact) {
            this.contact = contact;
        }
 
        public String getPhone() {
            return phone;
        }
 
        public void setPhone(String phone) {
            this.phone = phone;
        }
    }
 
    public String getTaskType() {
        return taskType;
    }
 
    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }
 
    public String getTaskDescription() {
        return taskDescription;
    }
 
    public void setTaskDescription(String taskDescription) {
        this.taskDescription = taskDescription;
    }
 
    public String getDepartureAddress() {
        return departureAddress;
    }
 
    public void setDepartureAddress(String departureAddress) {
        this.departureAddress = departureAddress;
    }
 
    public String getDestinationAddress() {
        return destinationAddress;
    }
 
    public void setDestinationAddress(String destinationAddress) {
        this.destinationAddress = destinationAddress;
    }
 
    public Date getPlannedStartTime() {
        return plannedStartTime;
    }
 
    public void setPlannedStartTime(Date plannedStartTime) {
        this.plannedStartTime = plannedStartTime;
    }
 
    public Date getPlannedEndTime() {
        return plannedEndTime;
    }
 
    public void setPlannedEndTime(Date plannedEndTime) {
        this.plannedEndTime = plannedEndTime;
    }
 
    public Long getAssigneeId() {
        return assigneeId;
    }
 
    public void setAssigneeId(Long assigneeId) {
        this.assigneeId = assigneeId;
    }
 
    public String getRemark() {
        return remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
    }
 
    public BigDecimal getDepartureLongitude() {
        return departureLongitude;
    }
 
    public void setDepartureLongitude(BigDecimal departureLongitude) {
        this.departureLongitude = departureLongitude;
    }
 
    public BigDecimal getDepartureLatitude() {
        return departureLatitude;
    }
 
    public void setDepartureLatitude(BigDecimal departureLatitude) {
        this.departureLatitude = departureLatitude;
    }
 
    public BigDecimal getDestinationLongitude() {
        return destinationLongitude;
    }
 
    public void setDestinationLongitude(BigDecimal destinationLongitude) {
        this.destinationLongitude = destinationLongitude;
    }
 
    public BigDecimal getDestinationLatitude() {
        return destinationLatitude;
    }
 
    public void setDestinationLatitude(BigDecimal destinationLatitude) {
        this.destinationLatitude = destinationLatitude;
    }
 
    public BigDecimal getEstimatedDistance() {
        return estimatedDistance;
    }
 
    public void setEstimatedDistance(BigDecimal estimatedDistance) {
        this.estimatedDistance = estimatedDistance;
    }
 
    public Date getTransferTime() {
        return transferTime;
    }
 
    public void setTransferTime(Date transferTime) {
        this.transferTime = transferTime;
    }
 
    public PatientInfo getPatient() {
        return patient;
    }
 
    public void setPatient(PatientInfo patient) {
        this.patient = patient;
    }
 
    public HospitalInfo getHospitalOut() {
        return hospitalOut;
    }
 
    public void setHospitalOut(HospitalInfo hospitalOut) {
        this.hospitalOut = hospitalOut;
    }
 
    public HospitalInfo getHospitalIn() {
        return hospitalIn;
    }
 
    public void setHospitalIn(HospitalInfo hospitalIn) {
        this.hospitalIn = hospitalIn;
    }
 
    public BigDecimal getTransferDistance() {
        return transferDistance;
    }
 
    public void setTransferDistance(BigDecimal transferDistance) {
        this.transferDistance = transferDistance;
    }
 
    public BigDecimal getPrice() {
        return price;
    }
 
    public void setPrice(BigDecimal price) {
        this.price = price;
    }
 
    public Date getServiceTime() {
        return serviceTime;
    }
 
    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }
 
    public PassengerInfo getPassenger() {
        return passenger;
    }
 
    public void setPassenger(PassengerInfo passenger) {
        this.passenger = passenger;
    }
 
    public String getStartAddress() {
        return startAddress;
    }
 
    public void setStartAddress(String startAddress) {
        this.startAddress = startAddress;
    }
 
    public String getEndAddress() {
        return endAddress;
    }
 
    public void setEndAddress(String endAddress) {
        this.endAddress = endAddress;
    }
 
    public List<Long> getVehicleIds() {
        return vehicleIds;
    }
 
    public void setVehicleIds(List<Long> vehicleIds) {
        this.vehicleIds = vehicleIds;
    }
 
    public BigDecimal getDistance() {
        return distance;
    }
 
    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }
}