| 28126 |
tejbeer |
1 |
package com.spice.profitmandi.dao.hrms;
|
|
|
2 |
|
|
|
3 |
import javax.persistence.Column;
|
|
|
4 |
import javax.persistence.Entity;
|
|
|
5 |
import javax.persistence.GeneratedValue;
|
|
|
6 |
import javax.persistence.GenerationType;
|
|
|
7 |
import javax.persistence.Id;
|
|
|
8 |
import javax.persistence.Table;
|
|
|
9 |
|
|
|
10 |
@Entity
|
|
|
11 |
@Table(name = "hrms.basic_details", schema = "hrms")
|
|
|
12 |
public class BasicDetails {
|
|
|
13 |
@Id
|
|
|
14 |
@Column
|
|
|
15 |
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
16 |
private int id;
|
|
|
17 |
@Column(name = "auth_id")
|
|
|
18 |
private int authId;
|
|
|
19 |
@Column(name = "sd_empid")
|
|
|
20 |
private String sdEmpId;
|
|
|
21 |
@Column(name = "employment_status")
|
|
|
22 |
private String employmentStatus;
|
|
|
23 |
@Column(name = "dept")
|
|
|
24 |
private String dept;
|
|
|
25 |
@Column(name = "official_email")
|
|
|
26 |
private String officialEmail;
|
|
|
27 |
@Column(name = "reporting")
|
|
|
28 |
private String reportingTo;
|
|
|
29 |
@Column(name = "active_inactive")
|
|
|
30 |
private String activeInactive;
|
|
|
31 |
public int getId() {
|
|
|
32 |
return id;
|
|
|
33 |
}
|
|
|
34 |
public void setId(int id) {
|
|
|
35 |
this.id = id;
|
|
|
36 |
}
|
|
|
37 |
|
|
|
38 |
public int getAuthId() {
|
|
|
39 |
return authId;
|
|
|
40 |
}
|
|
|
41 |
public void setAuthId(int authId) {
|
|
|
42 |
this.authId = authId;
|
|
|
43 |
}
|
|
|
44 |
public String getSdEmpId() {
|
|
|
45 |
return sdEmpId;
|
|
|
46 |
}
|
|
|
47 |
public void setSdEmpId(String sdEmpId) {
|
|
|
48 |
this.sdEmpId = sdEmpId;
|
|
|
49 |
}
|
|
|
50 |
public String getEmploymentStatus() {
|
|
|
51 |
return employmentStatus;
|
|
|
52 |
}
|
|
|
53 |
public void setEmploymentStatus(String employmentStatus) {
|
|
|
54 |
this.employmentStatus = employmentStatus;
|
|
|
55 |
}
|
|
|
56 |
public String getDept() {
|
|
|
57 |
return dept;
|
|
|
58 |
}
|
|
|
59 |
public void setDept(String dept) {
|
|
|
60 |
this.dept = dept;
|
|
|
61 |
}
|
|
|
62 |
public String getOfficialEmail() {
|
|
|
63 |
return officialEmail;
|
|
|
64 |
}
|
|
|
65 |
public void setOfficialEmail(String officialEmail) {
|
|
|
66 |
this.officialEmail = officialEmail;
|
|
|
67 |
}
|
|
|
68 |
public String getReportingTo() {
|
|
|
69 |
return reportingTo;
|
|
|
70 |
}
|
|
|
71 |
public void setReportingTo(String reportingTo) {
|
|
|
72 |
this.reportingTo = reportingTo;
|
|
|
73 |
}
|
|
|
74 |
public String getActiveInactive() {
|
|
|
75 |
return activeInactive;
|
|
|
76 |
}
|
|
|
77 |
public void setActiveInactive(String activeInactive) {
|
|
|
78 |
this.activeInactive = activeInactive;
|
|
|
79 |
}
|
|
|
80 |
|
|
|
81 |
public BasicDetails() {
|
|
|
82 |
super();
|
|
|
83 |
// TODO Auto-generated constructor stub
|
|
|
84 |
}
|
|
|
85 |
@Override
|
|
|
86 |
public String toString() {
|
|
|
87 |
return "basicDetails [id=" + id + ", authId=" + authId + ", sdEmpId=" + sdEmpId + ", employmentStatus="
|
|
|
88 |
+ employmentStatus + ", dept=" + dept + ", officialEmail=" + officialEmail + ", reportingTo="
|
|
|
89 |
+ reportingTo + ", activeInactive=" + activeInactive + "]";
|
|
|
90 |
}
|
|
|
91 |
|
|
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
|
95 |
}
|