XklAmpReportEntity.java
7.6 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
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
package com.xkl.domain;
import lombok.Data;
import javax.persistence.*;
import java.sql.Timestamp;
/**
* Created by win7 on 2016/11/20.
* report列表
*/
@Data
@Entity
@Table(name = "xkl_amp_report")
public class XklAmpReportEntity {
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private long id;
@Basic
@Column(name = "member_id")
private long memberId;
@Basic
@Column(name = "name")
private String name;
@Basic
@Column(name = "title")
private String title;
@Basic
@Column(name = "check_time")
private Timestamp checkTime;
@Basic
@Column(name = "uptime")
private Timestamp uptime;
@Basic
@Column(name = "account_str")
private String accountStr;
@Basic
@Column(name = "sex")
private Byte sex;
@Basic
@Column(name = "age")
private Byte age;
@Basic
@Column(name = "weight")
private long weight;
@Basic
@Column(name = "pulse")
private long pulse;
@Basic
@Column(name = "breath_rate")
private long breathRate;
@Basic
@Column(name = "atmos_pressure")
private Double atmosPressure;
@Basic
@Column(name = "LCA")
private Double lca;
@Basic
@Column(name = "RCA")
private Double rca;
@Basic
@Column(name = "LAC")
private Double lac;
@Basic
@Column(name = "RAC")
private Double rac;
@Basic
@Column(name = "ABD")
private Double abd;
@Basic
@Column(name = "temp_sum")
private Double tempSum;
@Basic
@Column(name = "stable")
private long stable;
@Basic
@Column(name = "md5")
private String md5;
@Basic
@Column(name = "create_by")
private long createBy;
@Basic
@Column(name = "machine_num")
private String machineNum;
@Basic
@Column(name = "T0")
private String t0;
@Basic
@Column(name = "T1")
private String t1;
@Basic
@Column(name = "T2")
private String t2;
@Basic
@Column(name = "T3")
private String t3;
@Basic
@Column(name = "T4")
private String t4;
@Basic
@Column(name = "conclusion")
private String conclusion;
@Basic
@Column(name = "score")
private Double score;
@Basic
@Column(name = "company_id")
private long companyId;
@Basic
@Column(name = "status")
private int status;
public long getId() {
return id;
}
public void setReport(String name, String title, Timestamp check_time,
Timestamp uptime, String account_str, Byte sex, Byte age,
int weight, int pulse, int breath_rate, Double atmos_pressure,
Double LCA, Double RCA, Double LAC, Double RAC, Double ABD, Double temp_sum,
int stable, String md5, String machine_num, String conclusion) {
this.name = name;
this.title = title;
this.checkTime = check_time;
this.uptime = uptime;
this.accountStr = account_str;
this.sex = sex;
this.age = age;
this.weight = weight;
this.pulse = pulse;
this.breathRate = breath_rate;
this.atmosPressure = atmos_pressure;
this.lca = LCA;
this.rca = RCA;
this.lac = LAC;
this.rac = RAC;
this.abd = ABD;
this.tempSum = temp_sum;
this.stable = stable;
this.md5 = md5;
this.machineNum = machine_num;
this.conclusion = conclusion;
this.status = 1; //默认为有效。
}
public void setId(long id) {
this.id = id;
}
public long getMemberId() {
return memberId;
}
public void setMemberId(long memberId) {
this.memberId = memberId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Timestamp getCheckTime() {
return checkTime;
}
public void setCheckTime(Timestamp checkTime) {
this.checkTime = checkTime;
}
public Timestamp getUptime() {
return uptime;
}
public void setUptime(Timestamp uptime) {
this.uptime = uptime;
}
public String getAccountStr() {
return accountStr;
}
public void setAccountStr(String accountStr) {
this.accountStr = accountStr;
}
public Byte getSex() {
return sex;
}
public void setSex(Byte sex) {
this.sex = sex;
}
public Byte getAge() {
return age;
}
public void setAge(Byte age) {
this.age = age;
}
public long getWeight() {
return weight;
}
public void setWeight(long weight) {
this.weight = weight;
}
public long getPulse() {
return pulse;
}
public void setPulse(long pulse) {
this.pulse = pulse;
}
public long getBreathRate() {
return breathRate;
}
public void setBreathRate(long breathRate) {
this.breathRate = breathRate;
}
public Double getAtmosPressure() {
return atmosPressure;
}
public void setAtmosPressure(Double atmosPressure) {
this.atmosPressure = atmosPressure;
}
public Double getLca() {
return lca;
}
public void setLca(Double lca) {
this.lca = lca;
}
public Double getRca() {
return rca;
}
public void setRca(Double rca) {
this.rca = rca;
}
public Double getLac() {
return lac;
}
public void setLac(Double lac) {
this.lac = lac;
}
public Double getRac() {
return rac;
}
public void setRac(Double rac) {
this.rac = rac;
}
public Double getAbd() {
return abd;
}
public void setAbd(Double abd) {
this.abd = abd;
}
public Double getTempSum() {
return tempSum;
}
public void setTempSum(Double tempSum) {
this.tempSum = tempSum;
}
public long getStable() {
return stable;
}
public void setStable(long stable) {
this.stable = stable;
}
public String getMd5() {
return md5;
}
public void setMd5(String md5) {
this.md5 = md5;
}
public long getCreateBy() {
return createBy;
}
public void setCreateBy(long createBy) {
this.createBy = createBy;
}
public String getMachineNum() {
return machineNum;
}
public void setMachineNum(String machineNum) {
this.machineNum = machineNum;
}
public String getT0() {
return t0;
}
public void setT0(String t0) {
this.t0 = t0;
}
public String getT1() {
return t1;
}
public void setT1(String t1) {
this.t1 = t1;
}
public String getT2() {
return t2;
}
public void setT2(String t2) {
this.t2 = t2;
}
public String getT3() {
return t3;
}
public void setT3(String t3) {
this.t3 = t3;
}
public String getT4() {
return t4;
}
public void setT4(String t4) {
this.t4 = t4;
}
public String getConclusion() {
return conclusion;
}
public void setConclusion(String conclusion) {
this.conclusion = conclusion;
}
public Double getScore() {
return score;
}
public void setScore(Double score) {
this.score = score;
}
public long getCompanyId() {
return companyId;
}
public void setCompanyId(long companyId) {
this.companyId = companyId;
}
}