| 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 |
@Entity
|
|
|
10 |
@Table(name = "hrms.work_experience", schema = "hrms")
|
|
|
11 |
public class WorkExperienceForm {
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
@Id
|
|
|
15 |
@Column
|
|
|
16 |
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
|
17 |
private int id;
|
|
|
18 |
@Column(name = "auth_id")
|
|
|
19 |
private int authId;
|
|
|
20 |
@Column(name = "education_qual")
|
|
|
21 |
private String educationQualification;
|
|
|
22 |
@Column(name = "organisation_name")
|
|
|
23 |
private String organisationName;
|
|
|
24 |
@Column(name = "exp_fresher")
|
|
|
25 |
private String expFresher;
|
|
|
26 |
@Column(name = "exp_year")
|
|
|
27 |
private int expYear;
|
|
|
28 |
@Column(name = "exp_month")
|
|
|
29 |
private int expMonth;
|
|
|
30 |
@Column(name = "last_designation")
|
|
|
31 |
private String lastDesignation;
|
|
|
32 |
@Column(name = "reason_leaving")
|
|
|
33 |
private String reasonForLeaving;
|
|
|
34 |
@Column(name = "total_exp_year")
|
|
|
35 |
private int totalExpYear;
|
|
|
36 |
@Column(name = "total_exp_month")
|
|
|
37 |
private int totalExpMonth;
|
|
|
38 |
public int getId() {
|
|
|
39 |
return id;
|
|
|
40 |
}
|
|
|
41 |
public void setId(int id) {
|
|
|
42 |
this.id = id;
|
|
|
43 |
}
|
|
|
44 |
|
|
|
45 |
public int getAuthId() {
|
|
|
46 |
return authId;
|
|
|
47 |
}
|
|
|
48 |
public void setAuthId(int authId) {
|
|
|
49 |
this.authId = authId;
|
|
|
50 |
}
|
|
|
51 |
public String getEducationQualification() {
|
|
|
52 |
return educationQualification;
|
|
|
53 |
}
|
|
|
54 |
public void setEducationQualification(String educationQualification) {
|
|
|
55 |
this.educationQualification = educationQualification;
|
|
|
56 |
}
|
|
|
57 |
public String getOrganisationName() {
|
|
|
58 |
return organisationName;
|
|
|
59 |
}
|
|
|
60 |
public void setOrganisationName(String organisationName) {
|
|
|
61 |
this.organisationName = organisationName;
|
|
|
62 |
}
|
|
|
63 |
public String getExpFresher() {
|
|
|
64 |
return expFresher;
|
|
|
65 |
}
|
|
|
66 |
public void setExpFresher(String expFresher) {
|
|
|
67 |
this.expFresher = expFresher;
|
|
|
68 |
}
|
|
|
69 |
public int getExpYear() {
|
|
|
70 |
return expYear;
|
|
|
71 |
}
|
|
|
72 |
public void setExpYear(int expYear) {
|
|
|
73 |
this.expYear = expYear;
|
|
|
74 |
}
|
|
|
75 |
public int getExpMonth() {
|
|
|
76 |
return expMonth;
|
|
|
77 |
}
|
|
|
78 |
public void setExpMonth(int expMonth) {
|
|
|
79 |
this.expMonth = expMonth;
|
|
|
80 |
}
|
|
|
81 |
public String getLastDesignation() {
|
|
|
82 |
return lastDesignation;
|
|
|
83 |
}
|
|
|
84 |
public void setLastDesignation(String lastDesignation) {
|
|
|
85 |
this.lastDesignation = lastDesignation;
|
|
|
86 |
}
|
|
|
87 |
public String getReasonForLeaving() {
|
|
|
88 |
return reasonForLeaving;
|
|
|
89 |
}
|
|
|
90 |
public void setReasonForLeaving(String reasonForLeaving) {
|
|
|
91 |
this.reasonForLeaving = reasonForLeaving;
|
|
|
92 |
}
|
|
|
93 |
public int getTotalExpYear() {
|
|
|
94 |
return totalExpYear;
|
|
|
95 |
}
|
|
|
96 |
public void setTotalExpYear(int totalExpYear) {
|
|
|
97 |
this.totalExpYear = totalExpYear;
|
|
|
98 |
}
|
|
|
99 |
public int getTotalExpMonth() {
|
|
|
100 |
return totalExpMonth;
|
|
|
101 |
}
|
|
|
102 |
public void setTotalExpMonth(int totalExpMonth) {
|
|
|
103 |
this.totalExpMonth = totalExpMonth;
|
|
|
104 |
}
|
|
|
105 |
@Override
|
|
|
106 |
public String toString() {
|
|
|
107 |
return "WorkExperienceForm [id=" + id + ", authId=" + authId + ", educationQualification="
|
|
|
108 |
+ educationQualification + ", organisationName=" + organisationName + ", expFresher=" + expFresher
|
|
|
109 |
+ ", expYear=" + expYear + ", expMonth=" + expMonth + ", lastDesignation=" + lastDesignation
|
|
|
110 |
+ ", reasonForLeaving=" + reasonForLeaving + ", totalExpYear=" + totalExpYear + ", totalExpMonth="
|
|
|
111 |
+ totalExpMonth + "]";
|
|
|
112 |
}
|
|
|
113 |
public WorkExperienceForm() {
|
|
|
114 |
super();
|
|
|
115 |
// TODO Auto-generated constructor stub
|
|
|
116 |
}
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
}
|