-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathUserServiceRole.java
More file actions
369 lines (301 loc) · 8.86 KB
/
UserServiceRole.java
File metadata and controls
369 lines (301 loc) · 8.86 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
package com.iemr.common.data.users;
import jakarta.persistence.*;
import java.util.Objects;
@Entity
@Table(name = "v_userservicerolemapping", schema = "db_iemr")
public class UserServiceRole {
private Integer userId;
private int usrMappingId;
private String name;
private String userName;
private Short serviceId;
private String serviceName;
private Boolean isNational;
private Integer stateId;
private String stateName;
private Integer workingDistrictId;
private String workingDistrictName;
private Integer workingLocationId;
private Short serviceProviderId;
private String locationName;
private String workingLocationAddress;
private Integer roleId;
private String roleName;
private Integer providerServiceMapId;
private String agentId;
private Short psmStatusId;
private String psmStatus;
private Boolean userServciceRoleDeleted;
private Boolean userDeleted;
private Boolean serviceProviderDeleted;
private Boolean roleDeleted;
private Boolean providerServiceMappingDeleted;
private Boolean isInbound;
private Boolean isOutbound;
private Integer blockid;
private String blockname;
private String villageid;
private String villagename;
@Basic
@Column(name = "UserID")
public Integer getUserId() {
return userId;
}
public void setUserId(Integer userId) {
this.userId = userId;
}
@Basic
@Column(name = "USRMappingID")
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
public int getUsrMappingId() {
return usrMappingId;
}
public void setUsrMappingId(int usrMappingId) {
this.usrMappingId = usrMappingId;
}
@Basic
@Column(name = "Name")
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
@Basic
@Column(name = "UserName")
public String getUserName() {
return userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
@Basic
@Column(name = "ServiceID")
public Short getServiceId() {
return serviceId;
}
public void setServiceId(Short serviceId) {
this.serviceId = serviceId;
}
@Basic
@Column(name = "ServiceName")
public String getServiceName() {
return serviceName;
}
public void setServiceName(String serviceName) {
this.serviceName = serviceName;
}
@Basic
@Column(name = "IsNational")
public Boolean getNational() {
return isNational;
}
public void setNational(Boolean national) {
isNational = national;
}
@Basic
@Column(name = "StateID")
public Integer getStateId() {
return stateId;
}
public void setStateId(Integer stateId) {
this.stateId = stateId;
}
@Basic
@Column(name = "StateName")
public String getStateName() {
return stateName;
}
public void setStateName(String stateName) {
this.stateName = stateName;
}
@Basic
@Column(name = "WorkingDistrictID")
public Integer getWorkingDistrictId() {
return workingDistrictId;
}
public void setWorkingDistrictId(Integer workingDistrictId) {
this.workingDistrictId = workingDistrictId;
}
@Basic
@Column(name = "WorkingDistrictName")
public String getWorkingDistrictName() {
return workingDistrictName;
}
public void setWorkingDistrictName(String workingDistrictName) {
this.workingDistrictName = workingDistrictName;
}
@Basic
@Column(name = "WorkingLocationID")
public Integer getWorkingLocationId() {
return workingLocationId;
}
public void setWorkingLocationId(Integer workingLocationId) {
this.workingLocationId = workingLocationId;
}
@Basic
@Column(name = "ServiceProviderID")
public Short getServiceProviderId() {
return serviceProviderId;
}
public void setServiceProviderId(Short serviceProviderId) {
this.serviceProviderId = serviceProviderId;
}
@Basic
@Column(name = "LocationName")
public String getLocationName() {
return locationName;
}
public void setLocationName(String locationName) {
this.locationName = locationName;
}
@Basic
@Column(name = "WorkingLocationAddress")
public String getWorkingLocationAddress() {
return workingLocationAddress;
}
public void setWorkingLocationAddress(String workingLocationAddress) {
this.workingLocationAddress = workingLocationAddress;
}
@Basic
@Column(name = "RoleID")
public Integer getRoleId() {
return roleId;
}
public void setRoleId(Integer roleId) {
this.roleId = roleId;
}
@Basic
@Column(name = "RoleName")
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
@Basic
@Column(name = "ProviderServiceMapID")
public Integer getProviderServiceMapId() {
return providerServiceMapId;
}
public void setProviderServiceMapId(Integer providerServiceMapId) {
this.providerServiceMapId = providerServiceMapId;
}
@Basic
@Column(name = "AgentID")
public String getAgentId() {
return agentId;
}
public void setAgentId(String agentId) {
this.agentId = agentId;
}
@Basic
@Column(name = "PSMStatusID")
public Short getPsmStatusId() {
return psmStatusId;
}
public void setPsmStatusId(Short psmStatusId) {
this.psmStatusId = psmStatusId;
}
@Basic
@Column(name = "PSMStatus")
public String getPsmStatus() {
return psmStatus;
}
public void setPsmStatus(String psmStatus) {
this.psmStatus = psmStatus;
}
@Basic
@Column(name = "UserServciceRoleDeleted")
public Boolean getUserServciceRoleDeleted() {
return userServciceRoleDeleted;
}
public void setUserServciceRoleDeleted(Boolean userServciceRoleDeleted) {
this.userServciceRoleDeleted = userServciceRoleDeleted;
}
@Basic
@Column(name = "UserDeleted")
public Boolean getUserDeleted() {
return userDeleted;
}
public void setUserDeleted(Boolean userDeleted) {
this.userDeleted = userDeleted;
}
@Basic
@Column(name = "ServiceProviderDeleted")
public Boolean getServiceProviderDeleted() {
return serviceProviderDeleted;
}
public void setServiceProviderDeleted(Boolean serviceProviderDeleted) {
this.serviceProviderDeleted = serviceProviderDeleted;
}
@Basic
@Column(name = "RoleDeleted")
public Boolean getRoleDeleted() {
return roleDeleted;
}
public void setRoleDeleted(Boolean roleDeleted) {
this.roleDeleted = roleDeleted;
}
@Basic
@Column(name = "ProviderServiceMappingDeleted")
public Boolean getProviderServiceMappingDeleted() {
return providerServiceMappingDeleted;
}
public void setProviderServiceMappingDeleted(Boolean providerServiceMappingDeleted) {
this.providerServiceMappingDeleted = providerServiceMappingDeleted;
}
@Basic
@Column(name = "isInbound")
public Boolean getInbound() {
return isInbound;
}
public void setInbound(Boolean inbound) {
isInbound = inbound;
}
@Basic
@Column(name = "isOutbound")
public Boolean getOutbound() {
return isOutbound;
}
public void setOutbound(Boolean outbound) {
isOutbound = outbound;
}
@Basic
@Column(name = "blockid")
public Integer getBlockid() {
return blockid;
}
public void setBlockid(Integer blockid) {
this.blockid = blockid;
}
@Basic
@Column(name = "blockname")
public String getBlockname() {
return blockname;
}
public void setBlockname(String blockname) {
this.blockname = blockname;
}
@Basic
@Column(name = "villageid")
public String getVillageid() {
return villageid;
}
public void setVillageid(String villageid) {
this.villageid = villageid;
}
@Basic
@Column(name = "villagename")
public String getVillagename() {
return villagename;
}
public void setVillagename(String villagename) {
this.villagename = villagename;
}
@Override
public int hashCode() {
return Objects.hash(userId, usrMappingId, name, userName, serviceId, serviceName, isNational, stateId, stateName, workingDistrictId, workingDistrictName, workingLocationId, serviceProviderId, locationName, workingLocationAddress, roleId, roleName, providerServiceMapId, agentId, psmStatusId, psmStatus, userServciceRoleDeleted, userDeleted, serviceProviderDeleted, roleDeleted, providerServiceMappingDeleted, isInbound, isOutbound, blockid, blockname, villageid, villagename);
}
}