XklAmpReportMetaItemsEntity.java
5.14 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
package com.xkl.domain;
import lombok.Data;
import javax.persistence.*;
/**
* Created by win7 on 2016/11/21.
* 体检结果的解释
*/
@Data
@Entity
@Table(name = "xkl_amp_report_meta_items", schema = "hanhe_test", catalog = "")
public class XklAmpReportMetaItemsEntity {
private int id;
private int itmeId;
private String type;
private String title;
private double standardLowMale;
private double standardHighMale;
private double standardLowFemale;
private double standardHighFemale;
private String explainLow;
private String explainHigh;
private String explainNormal;
@Id
@Column(name = "id")
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
@Basic
@Column(name = "itme_id")
public int getItmeId() {
return itmeId;
}
public void setItmeId(int itmeId) {
this.itmeId = itmeId;
}
@Basic
@Column(name = "type")
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
@Basic
@Column(name = "title")
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
@Basic
@Column(name = "standard_low_male")
public double getStandardLowMale() {
return standardLowMale;
}
public void setStandardLowMale(double standardLowMale) {
this.standardLowMale = standardLowMale;
}
@Basic
@Column(name = "standard_high_male")
public double getStandardHighMale() {
return standardHighMale;
}
public void setStandardHighMale(double standardHighMale) {
this.standardHighMale = standardHighMale;
}
@Basic
@Column(name = "standard_low_female")
public double getStandardLowFemale() {
return standardLowFemale;
}
public void setStandardLowFemale(double standardLowFemale) {
this.standardLowFemale = standardLowFemale;
}
@Basic
@Column(name = "standard_high_female")
public double getStandardHighFemale() {
return standardHighFemale;
}
public void setStandardHighFemale(double standardHighFemale) {
this.standardHighFemale = standardHighFemale;
}
@Basic
@Column(name = "explain_low")
public String getExplainLow() {
return explainLow;
}
public void setExplainLow(String explainLow) {
this.explainLow = explainLow;
}
@Basic
@Column(name = "explain_high")
public String getExplainHigh() {
return explainHigh;
}
public void setExplainHigh(String explainHigh) {
this.explainHigh = explainHigh;
}
@Basic
@Column(name = "explain_normal")
public String getExplainNormal() {
return explainNormal;
}
public void setExplainNormal(String explainNormal) {
this.explainNormal = explainNormal;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
XklAmpReportMetaItemsEntity that = (XklAmpReportMetaItemsEntity) o;
if (id != that.id) return false;
if (itmeId != that.itmeId) return false;
if (Double.compare(that.standardLowMale, standardLowMale) != 0) return false;
if (Double.compare(that.standardHighMale, standardHighMale) != 0) return false;
if (Double.compare(that.standardLowFemale, standardLowFemale) != 0) return false;
if (Double.compare(that.standardHighFemale, standardHighFemale) != 0) return false;
if (type != null ? !type.equals(that.type) : that.type != null) return false;
if (title != null ? !title.equals(that.title) : that.title != null) return false;
if (explainLow != null ? !explainLow.equals(that.explainLow) : that.explainLow != null) return false;
if (explainHigh != null ? !explainHigh.equals(that.explainHigh) : that.explainHigh != null) return false;
if (explainNormal != null ? !explainNormal.equals(that.explainNormal) : that.explainNormal != null)
return false;
return true;
}
@Override
public int hashCode() {
int result;
long temp;
result = id;
result = 31 * result + itmeId;
result = 31 * result + (type != null ? type.hashCode() : 0);
result = 31 * result + (title != null ? title.hashCode() : 0);
temp = Double.doubleToLongBits(standardLowMale);
result = 31 * result + (int) (temp ^ (temp >>> 32));
temp = Double.doubleToLongBits(standardHighMale);
result = 31 * result + (int) (temp ^ (temp >>> 32));
temp = Double.doubleToLongBits(standardLowFemale);
result = 31 * result + (int) (temp ^ (temp >>> 32));
temp = Double.doubleToLongBits(standardHighFemale);
result = 31 * result + (int) (temp ^ (temp >>> 32));
result = 31 * result + (explainLow != null ? explainLow.hashCode() : 0);
result = 31 * result + (explainHigh != null ? explainHigh.hashCode() : 0);
result = 31 * result + (explainNormal != null ? explainNormal.hashCode() : 0);
return result;
}
}