Linjiajia
2023-07-25 82e57df230ecb744af6c8865f80870ba03c86d89
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
package com.application.zhangshi_app_android.bean;
 
 
 
/**
 * @author Ljj
 * @date 2023.07.21. 18:09
 * @desc 健康保健基本信息
 */
public class HealthCareBaseInfoBean{
    private int id;
    //用户id
    private int uid;
    //姓名
    private String name;
    //性别 1 男 0 女
    private int sex;
    //文化程度
    private String educationLevel;
    //职业
    private String work;
    //电话
    private String phone;
    //邮箱
    private String email;
    //地址
    private String address;
    //血型
    private BloodClass bloodClass;
    //过敏史
    private AllergyClass allergyClass;
    //遗传病史
    private GeneticDiseaseClass geneticDiseaseClass;
    //常用药物
    private String medicine;
    //目前基础病
    private String baseDisease;
 
    public static class BloodClass {
        //a血型 1是 0否
        private int a;
        //b血型
        private int b;
        //o
        private int o;
        //ab
        private int ab;
        //rh
        private int rh;
        //other
        private int other;
        //其他血型
        private String otherText;
        //不清楚
        private int unknown;
 
        public int getA() {
            return a;
        }
 
        public void setA(int a) {
            this.a = a;
        }
 
        public int getB() {
            return b;
        }
 
        public void setB(int b) {
            this.b = b;
        }
 
        public int getO() {
            return o;
        }
 
        public void setO(int o) {
            this.o = o;
        }
 
        public int getAb() {
            return ab;
        }
 
        public void setAb(int ab) {
            this.ab = ab;
        }
 
        public int getRh() {
            return rh;
        }
 
        public void setRh(int rh) {
            this.rh = rh;
        }
 
        public int getOther() {
            return other;
        }
 
        public void setOther(int other) {
            this.other = other;
        }
 
        public String getOtherText() {
            return otherText;
        }
 
        public void setOtherText(String otherText) {
            this.otherText = otherText;
        }
 
        public int getUnknown() {
            return unknown;
        }
 
        public void setUnknown(int unknown) {
            this.unknown = unknown;
        }
    }
    public static class AllergyClass {
        //药物 1是 0否
        private int medicine;
        //食物
        private int food;
        //其他
        private int other;
        private String otherText;
 
        public int getMedicine() {
            return medicine;
        }
 
        public void setMedicine(int medicine) {
            this.medicine = medicine;
        }
 
        public int getFood() {
            return food;
        }
 
        public void setFood(int food) {
            this.food = food;
        }
 
        public int getOther() {
            return other;
        }
 
        public void setOther(int other) {
            this.other = other;
        }
 
        public String getOtherText() {
            return otherText;
        }
 
        public void setOtherText(String otherText) {
            this.otherText = otherText;
        }
    }
    public static class GeneticDiseaseClass{
        //高血压 1是 0否
        private int hypertension;
        //糖尿病
        private int diabetes;
        //肿瘤
        private int tumor;
        private int other;//其他
        private String otherText;
 
        public int getHypertension() {
            return hypertension;
        }
 
        public void setHypertension(int hypertension) {
            this.hypertension = hypertension;
        }
 
        public int getDiabetes() {
            return diabetes;
        }
 
        public void setDiabetes(int diabetes) {
            this.diabetes = diabetes;
        }
 
        public int getTumor() {
            return tumor;
        }
 
        public void setTumor(int tumor) {
            this.tumor = tumor;
        }
 
        public int getOther() {
            return other;
        }
 
        public void setOther(int other) {
            this.other = other;
        }
 
        public String getOtherText() {
            return otherText;
        }
 
        public void setOtherText(String otherText) {
            this.otherText = otherText;
        }
    }
 
    public int getId() {
        return id;
    }
 
    public void setId(int id) {
        this.id = id;
    }
 
    public int getUid() {
        return uid;
    }
 
    public void setUid(int uid) {
        this.uid = uid;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public int getSex() {
        return sex;
    }
 
    public void setSex(int sex) {
        this.sex = sex;
    }
 
    public String getSexStr(){
        return sex == 1 ? "男" : "女";
    }
    public void setSexStr(String sexStr){
        if (sexStr.equals("男")){
            setSex(1);
        }else {
            setSex(0);
        }
    }
 
    public String getEducationLevel() {
        return educationLevel;
    }
 
    public void setEducationLevel(String educationLevel) {
        this.educationLevel = educationLevel;
    }
 
    public String getWork() {
        return work;
    }
 
    public void setWork(String work) {
        this.work = work;
    }
 
    public String getPhone() {
        return phone;
    }
 
    public void setPhone(String phone) {
        this.phone = phone;
    }
 
    public String getEmail() {
        return email;
    }
 
    public void setEmail(String email) {
        this.email = email;
    }
 
    public String getAddress() {
        return address;
    }
 
    public void setAddress(String address) {
        this.address = address;
    }
 
    public BloodClass getBloodClass() {
        return bloodClass;
    }
 
    public void setBloodClass(BloodClass bloodClass) {
        this.bloodClass = bloodClass;
    }
 
    public AllergyClass getAllergyClass() {
        return allergyClass;
    }
 
    public void setAllergyClass(AllergyClass allergyClass) {
        this.allergyClass = allergyClass;
    }
 
    public GeneticDiseaseClass getGeneticDiseaseClass() {
        return geneticDiseaseClass;
    }
 
    public void setGeneticDiseaseClass(GeneticDiseaseClass geneticDiseaseClass) {
        this.geneticDiseaseClass = geneticDiseaseClass;
    }
 
    public String getMedicine() {
        return medicine;
    }
 
    public void setMedicine(String medicine) {
        this.medicine = medicine;
    }
 
    public String getBaseDisease() {
        return baseDisease;
    }
 
    public void setBaseDisease(String baseDisease) {
        this.baseDisease = baseDisease;
    }
}