forked from PSMRI/Admin-API
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathV_Userservicerolemapping.java
More file actions
389 lines (310 loc) · 8.19 KB
/
V_Userservicerolemapping.java
File metadata and controls
389 lines (310 loc) · 8.19 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
/*
* AMRIT – Accessible Medical Records via Integrated Technology
* Integrated EHR (Electronic Health Records) Solution
*
* Copyright (C) "Piramal Swasthya Management and Research Institute"
*
* This file is part of AMRIT.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see https://www.gnu.org/licenses/.
*/
package com.iemr.admin.data.employeemaster;
import com.google.gson.annotations.Expose;
import com.iemr.admin.utils.mapper.OutputMapper;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import jakarta.persistence.Transient;
import lombok.Data;
@Entity
@Data
@Table(name="v_userservicerolemapping")
public class V_Userservicerolemapping {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Expose
@Column(name="uSRMappingID")
private Integer uSRMappingID;
@Expose
@Column(name="UserID")
private Integer userID;
@Expose
@Column(name="Name")
private String name;
@Expose
@Column(name="UserName")
private String userName;
@Expose
@Column(name="ServiceID")
private Integer serviceID;
@Expose
@Column(name="ServiceName")
private String serviceName;
@Expose
@Column(name="StateID")
private Integer stateID;
@Expose
@Column(name="StateName")
private String stateName;
@Expose
@Column(name="WorkingDistrictID")
private String workingDistrictID;
@Expose
@Column(name="WorkingDistrictName")
private String workingDistrictName;
@Expose
@Column(name="WorkingLocationID")
private String workingLocationID;
@Expose
@Column(name="LocationName")
private String locationName;
@Expose
@Column(name="WorkingLocationAddress")
private String workingLocationAddress;
@Expose
@Column(name="RoleID")
private Integer roleID;
@Expose
@Column(name="RoleName")
private String roleName;
@Expose
@Column(name="AgentID")
private String agentID;
@Expose
@Column(name="PSMStatusID")
private Integer pSMStatusID;
@Expose
@Column(name="PSMStatus")
private String pSMStatus;
@Expose
@Column(name="UserServciceRoleDeleted")
private Boolean userServciceRoleDeleted;
@Expose
@Column(name="UserDeleted")
private Boolean userDeleted;
@Expose
@Column(name="ServiceProviderDeleted")
private Boolean serviceProviderDeleted;
@Expose
@Column(name="RoleDeleted")
private Boolean roleDeleted;
@Expose
@Column(name="ProviderServiceMappingDeleted")
private Boolean providerServiceMappingDeleted;
@Expose
@Column(name="ProviderServiceMapID")
private Integer providerServiceMapID;
@Expose
@Column(name="ServiceProviderID")
private Integer serviceProviderID;
@Expose
@Column(name="isInbound")
private Boolean inbound;
@Expose
@Column(name="isOutbound")
private Boolean outbound;
@Expose
@Column(name = "blockid")
private Integer blockID;
@Expose
@Column(name = "blockname")
private String blockName;
@Expose
@Column(name = "villageid")
private String villageidDb;
@Expose
@Column(name = "villagename")
private String villageNameDb;
@Transient
private String[] villageID;
@Transient
private String[] villageName;
@Expose
@Column(name="teleConsultation")
private String teleConsultation;
public Integer getProviderServiceMapID() {
return providerServiceMapID;
}
public void setProviderServiceMapID(Integer providerServiceMapID) {
this.providerServiceMapID = providerServiceMapID;
}
public V_Userservicerolemapping() {
// TODO Auto-generated constructor stub
}
public Integer getuSRMappingID() {
return uSRMappingID;
}
public void setuSRMappingID(Integer uSRMappingID) {
this.uSRMappingID = uSRMappingID;
}
public Integer getUserID() {
return userID;
}
public void setUserID(Integer userID) {
this.userID = userID;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public Integer getServiceID() {
return serviceID;
}
public void setServiceID(Integer serviceID) {
this.serviceID = serviceID;
}
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
public Integer getStateID() {
return stateID;
}
public void setStateID(Integer stateID) {
this.stateID = stateID;
}
public String getStateName() {
return stateName;
}
public void setStateName(String stateName) {
this.stateName = stateName;
}
public String getWorkingDistrictID() {
return workingDistrictID;
}
public void setWorkingDistrictID(String workingDistrictID) {
this.workingDistrictID = workingDistrictID;
}
public String getWorkingDistrictName() {
return workingDistrictName;
}
public void setWorkingDistrictName(String workingDistrictName) {
this.workingDistrictName = workingDistrictName;
}
public String getWorkingLocationID() {
return workingLocationID;
}
public void setWorkingLocationID(String workingLocationID) {
this.workingLocationID = workingLocationID;
}
public String getLocationName() {
return locationName;
}
public void setLocationName(String locationName) {
this.locationName = locationName;
}
public String getWorkingLocationAddress() {
return workingLocationAddress;
}
public void setWorkingLocationAddress(String workingLocationAddress) {
this.workingLocationAddress = workingLocationAddress;
}
public Integer getRoleID() {
return roleID;
}
public void setRoleID(Integer roleID) {
this.roleID = roleID;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public String getAgentID() {
return agentID;
}
public void setAgentID(String agentID) {
this.agentID = agentID;
}
public Integer getpSMStatusID() {
return pSMStatusID;
}
public void setpSMStatusID(Integer pSMStatusID) {
this.pSMStatusID = pSMStatusID;
}
public String getpSMStatus() {
return pSMStatus;
}
public void setpSMStatus(String pSMStatus) {
this.pSMStatus = pSMStatus;
}
public Boolean getUserServciceRoleDeleted() {
return userServciceRoleDeleted;
}
public void setUserServciceRoleDeleted(Boolean userServciceRoleDeleted) {
this.userServciceRoleDeleted = userServciceRoleDeleted;
}
public Boolean getUserDeleted() {
return userDeleted;
}
public void setUserDeleted(Boolean userDeleted) {
this.userDeleted = userDeleted;
}
public Boolean getServiceProviderDeleted() {
return serviceProviderDeleted;
}
public void setServiceProviderDeleted(Boolean serviceProviderDeleted) {
this.serviceProviderDeleted = serviceProviderDeleted;
}
public Boolean getRoleDeleted() {
return roleDeleted;
}
public void setRoleDeleted(Boolean roleDeleted) {
this.roleDeleted = roleDeleted;
}
public Boolean getProviderServiceMappingDeleted() {
return providerServiceMappingDeleted;
}
public void setProviderServiceMappingDeleted(Boolean providerServiceMappingDeleted) {
this.providerServiceMappingDeleted = providerServiceMappingDeleted;
}
public Integer getServiceProviderID() {
return serviceProviderID;
}
public void setServiceProviderID(Integer serviceProviderID) {
this.serviceProviderID = serviceProviderID;
}
public Boolean getInbound() {
return inbound;
}
public void setInbound(Boolean inbound) {
this.inbound = inbound;
}
public Boolean getOutbound() {
return outbound;
}
public void setOutbound(Boolean outbound) {
this.outbound = outbound;
}
@Transient
private OutputMapper outputMapper = new OutputMapper();
@Override
public String toString() {
return outputMapper.gson().toJson(this);
}
}