|
@@ -0,0 +1,239 @@
|
|
1
|
+package com.dashitech.hsms.entity;
|
|
2
|
+
|
|
3
|
+import com.dashitech.utils.I18n;
|
|
4
|
+
|
|
5
|
+import javax.persistence.*;
|
|
6
|
+import java.io.Serializable;
|
|
7
|
+
|
|
8
|
+/**
|
|
9
|
+ * hospital 主表为id,这里为编码
|
|
10
|
+ */
|
|
11
|
+
|
|
12
|
+@Entity
|
|
13
|
+@Table(name = "itsm_uc_dept")
|
|
14
|
+public class HsmsDepartmentEntity implements Serializable {
|
|
15
|
+
|
|
16
|
+ private static final long serialVersionUID = 1L;
|
|
17
|
+
|
|
18
|
+ @Id
|
|
19
|
+ @GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
20
|
+ @Column(name="id",length = 20)
|
|
21
|
+ private Long id;
|
|
22
|
+
|
|
23
|
+ @I18n("科室名")
|
|
24
|
+ @Column(name="dept")
|
|
25
|
+ private String dept;
|
|
26
|
+
|
|
27
|
+ @I18n("科室编码")
|
|
28
|
+ @Column(name="code")
|
|
29
|
+ private String pcode;
|
|
30
|
+
|
|
31
|
+ @I18n("HIS科室编码")
|
|
32
|
+ @Column(name="his_code")
|
|
33
|
+ private String hisCode;
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+ @I18n("删除标识")
|
|
37
|
+ @Column(name = "delete_flag")
|
|
38
|
+ private Integer deleteFlag;
|
|
39
|
+
|
|
40
|
+ @I18n("科室别名")
|
|
41
|
+ @Column(name = "dept_alias")
|
|
42
|
+ private String deptalias;
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+ @I18n("科室类型,检查科室1、检验科室2、临床科室3、其他科室4")
|
|
46
|
+ @Column(name = "_type")
|
|
47
|
+ private String type;
|
|
48
|
+
|
|
49
|
+ @I18n("科室位置")
|
|
50
|
+ @Column(name = "_address")
|
|
51
|
+ private String address;
|
|
52
|
+
|
|
53
|
+ @I18n("所属院区")
|
|
54
|
+ @Column(name = "_hospital_id")
|
|
55
|
+ private Long hospital;
|
|
56
|
+
|
|
57
|
+ @I18n("电话号码")
|
|
58
|
+ @Column(name = "_phone")
|
|
59
|
+ private String phone;
|
|
60
|
+
|
|
61
|
+ @I18n("开头字母拼音")
|
|
62
|
+ @Column(name = "input_code")
|
|
63
|
+ private String inputCode;
|
|
64
|
+
|
|
65
|
+ @I18n("全拼")
|
|
66
|
+ @Column(name = "pinyin")
|
|
67
|
+ private String pinyin;
|
|
68
|
+
|
|
69
|
+ @I18n("别名开头字母拼音")
|
|
70
|
+ @Column(name = "alias_input_code")
|
|
71
|
+ private String aliasInputCode;
|
|
72
|
+
|
|
73
|
+ @I18n("别名全拼")
|
|
74
|
+ @Column(name = "alias_pinyin")
|
|
75
|
+ private String aliasPinyin;
|
|
76
|
+
|
|
77
|
+ @I18n("二维码,不需同步")
|
|
78
|
+ @Column(name = "qrcode")
|
|
79
|
+ private String qrcode;
|
|
80
|
+
|
|
81
|
+ @I18n("父级科室ID")
|
|
82
|
+ @Column(name = "parentId")
|
|
83
|
+ private Long parent;
|
|
84
|
+
|
|
85
|
+ @I18n("是否启用")
|
|
86
|
+ @Column(name = "flag")
|
|
87
|
+ private Integer flag;
|
|
88
|
+
|
|
89
|
+ public Integer getFlag() {
|
|
90
|
+ return flag;
|
|
91
|
+ }
|
|
92
|
+
|
|
93
|
+ public void setFlag(Integer flag) {
|
|
94
|
+ this.flag = flag;
|
|
95
|
+ }
|
|
96
|
+
|
|
97
|
+ public String getHisCode() {
|
|
98
|
+ return hisCode;
|
|
99
|
+ }
|
|
100
|
+
|
|
101
|
+ public void setHisCode(String hisCode) {
|
|
102
|
+ this.hisCode = hisCode;
|
|
103
|
+ }
|
|
104
|
+
|
|
105
|
+ public Long getParent() {
|
|
106
|
+ return parent;
|
|
107
|
+ }
|
|
108
|
+
|
|
109
|
+ public void setParent(Long parent) {
|
|
110
|
+ this.parent = parent;
|
|
111
|
+ }
|
|
112
|
+
|
|
113
|
+ public String getQrcode() {
|
|
114
|
+ return qrcode;
|
|
115
|
+ }
|
|
116
|
+
|
|
117
|
+ public void setQrcode(String qrcode) {
|
|
118
|
+ this.qrcode = qrcode;
|
|
119
|
+ }
|
|
120
|
+
|
|
121
|
+ public String getAliasInputCode() {
|
|
122
|
+ return aliasInputCode;
|
|
123
|
+ }
|
|
124
|
+
|
|
125
|
+ public void setAliasInputCode(String aliasInputCode) {
|
|
126
|
+ this.aliasInputCode = aliasInputCode;
|
|
127
|
+ }
|
|
128
|
+
|
|
129
|
+ public String getAliasPinyin() {
|
|
130
|
+ return aliasPinyin;
|
|
131
|
+ }
|
|
132
|
+
|
|
133
|
+ public void setAliasPinyin(String aliasPinyin) {
|
|
134
|
+ this.aliasPinyin = aliasPinyin;
|
|
135
|
+ }
|
|
136
|
+
|
|
137
|
+ public String getInputCode() {
|
|
138
|
+ return inputCode;
|
|
139
|
+ }
|
|
140
|
+
|
|
141
|
+ public void setInputCode(String inputCode) {
|
|
142
|
+ this.inputCode = inputCode;
|
|
143
|
+ }
|
|
144
|
+
|
|
145
|
+ public String getPinyin() {
|
|
146
|
+ return pinyin;
|
|
147
|
+ }
|
|
148
|
+
|
|
149
|
+ public void setPinyin(String pinyin) {
|
|
150
|
+ this.pinyin = pinyin;
|
|
151
|
+ }
|
|
152
|
+
|
|
153
|
+ public Long getId() {
|
|
154
|
+ return id;
|
|
155
|
+ }
|
|
156
|
+
|
|
157
|
+ public void setId(Long id) {
|
|
158
|
+ this.id = id;
|
|
159
|
+ }
|
|
160
|
+
|
|
161
|
+ public String getDept() {
|
|
162
|
+ return dept;
|
|
163
|
+ }
|
|
164
|
+
|
|
165
|
+ public void setDept(String dept) {
|
|
166
|
+ this.dept = dept;
|
|
167
|
+ }
|
|
168
|
+
|
|
169
|
+ public String getPcode() {
|
|
170
|
+ return pcode;
|
|
171
|
+ }
|
|
172
|
+
|
|
173
|
+ public void setPcode(String pcode) {
|
|
174
|
+ this.pcode = pcode;
|
|
175
|
+ }
|
|
176
|
+
|
|
177
|
+ public Integer getDeleteFlag() {
|
|
178
|
+ return deleteFlag;
|
|
179
|
+ }
|
|
180
|
+
|
|
181
|
+ public void setDeleteFlag(Integer deleteFlag) {
|
|
182
|
+ this.deleteFlag = deleteFlag;
|
|
183
|
+ }
|
|
184
|
+
|
|
185
|
+ public String getDeptalias() {
|
|
186
|
+ return deptalias;
|
|
187
|
+ }
|
|
188
|
+
|
|
189
|
+ public void setDeptalias(String deptalias) {
|
|
190
|
+ this.deptalias = deptalias;
|
|
191
|
+ }
|
|
192
|
+
|
|
193
|
+ public String getType() {
|
|
194
|
+ return type;
|
|
195
|
+ }
|
|
196
|
+
|
|
197
|
+ public void setType(String type) {
|
|
198
|
+ this.type = type;
|
|
199
|
+ }
|
|
200
|
+
|
|
201
|
+ public String getAddress() {
|
|
202
|
+ return address;
|
|
203
|
+ }
|
|
204
|
+
|
|
205
|
+ public void setAddress(String address) {
|
|
206
|
+ this.address = address;
|
|
207
|
+ }
|
|
208
|
+
|
|
209
|
+ public Long getHospital() {
|
|
210
|
+ return hospital;
|
|
211
|
+ }
|
|
212
|
+
|
|
213
|
+ public void setHospital(Long hospital) {
|
|
214
|
+ this.hospital = hospital;
|
|
215
|
+ }
|
|
216
|
+
|
|
217
|
+ public String getPhone() {
|
|
218
|
+ return phone;
|
|
219
|
+ }
|
|
220
|
+
|
|
221
|
+ public void setPhone(String phone) {
|
|
222
|
+ this.phone = phone;
|
|
223
|
+ }
|
|
224
|
+
|
|
225
|
+ @Override
|
|
226
|
+ public String toString() {
|
|
227
|
+ return "DepartmentEntity{" +
|
|
228
|
+ "id=" + id +
|
|
229
|
+ ", dept='" + dept + '\'' +
|
|
230
|
+ ", pcode='" + pcode + '\'' +
|
|
231
|
+ ", deleteFlag=" + deleteFlag +
|
|
232
|
+ ", deptalias='" + deptalias + '\'' +
|
|
233
|
+ ", type='" + type + '\'' +
|
|
234
|
+ ", address='" + address + '\'' +
|
|
235
|
+ ", hospital=" + hospital +
|
|
236
|
+ ", phone='" + phone + '\'' +
|
|
237
|
+ '}';
|
|
238
|
+ }
|
|
239
|
+}
|