ClientCustomerDbDTO.java
3.13 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
package com.infoloop.tianting.model.dto;
import com.infoloop.tianting.clientcustomerservice.ClientCustomerHospitalRecordHospitalStatusEnum;
import com.infoloop.tianting.clientcustomerservice.ClientCustomerSexEnum;
import com.infoloop.tianting.model.dto.MenuDbDTO.MenuDto;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
@Data
@ApiModel(description = "ClientCustomerDTO")
public class ClientCustomerDbDTO {
@Data
@Builder
@ApiModel(description = "ClientCustomer")
public static class ClientCustomerDto {
private Integer id;
private Integer enterpriseId;
private Integer clientId;
private String HISCustomerId;
private String name;
private String birthday;
private ClientCustomerSexEnum sex;
private String identityCardNo;
private Integer age;
private Integer height;
private Integer weight;
private String mobile;
private Integer createdBy;
private String createdAt;
private Integer creationSource;
private Integer updatedBy;
private String updatedAt;
private Integer updateSource;
private boolean isDeleted;
private Integer stallId;
private String openId;
}
@Data
@Builder
@ApiModel(description = "HospitalRecord")
public static class HospitalRecordDto {
private Integer id;
private Integer enterpriseId;
private Integer clientId;
private Integer customerId;
private String contractNo;
private String departmentName;
private String roomNo;
private String hospitalTime;
private String expectDischargeTime;
private String actualDischargeTime;
private String dueDate;
private String birthDate;
private ClientCustomerHospitalRecordHospitalStatusEnum hospitalStatus;
private String remark;
private Integer createdBy;
private String createdAt;
private Integer creationSource;
private Integer updatedBy;
private String updatedAt;
private Integer updateSource;
private boolean isDeleted;
private Integer stallId;
}
@Data
@Builder
@ApiModel(description = "CurrentClientCustomerDto")
@AllArgsConstructor
@NoArgsConstructor
public static class CurrentClientCustomerDto {
private String id;
private Integer clientId;
private String clientName;
private String stallName;
private String name;
private String sex;
private Integer age;
private Integer stallId;
private String roomNo;
}
@Data
@Builder
@ApiModel(description = "CurrentClientCustomerListDto")
@AllArgsConstructor
@NoArgsConstructor
public static class CurrentClientCustomerListDto {
private List<CurrentClientCustomerDto> rows;
}
@Data
@Builder
@ApiModel(description = "TodayOrderDto")
public static class NotOrderCustomerDto {
private String id;
private String roomNo;
private String name;
private List<MenuDto> menuList;
}
@Data
@Builder
@ApiModel(description = "TodayOrderDto")
public static class TodayOrderDto {
private Integer totalCurrentCustomerCount;
private List<NotOrderCustomerDto> notOrderCustomers;
}
}