View as "text/plain" | Blame | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.hrms;import java.time.LocalDate;import javax.persistence.Column;import javax.persistence.Entity;import javax.persistence.GeneratedValue;import javax.persistence.GenerationType;import javax.persistence.Id;import javax.persistence.Table;@Entity@Table(name = "hrms.family_member_details", schema = "hrms")public class FamilyMemberDetailsForm {@Id@Column@GeneratedValue(strategy = GenerationType.IDENTITY)private int id;@Column(name = "auth_id")private int authId;@Column(name = "father_name")private String fatherName;@Column(name = "mother_name")private String motherName;@Column(name = "brother_first")private String brotherFirst;@Column(name = "brother_second")private String brotherSecond;@Column(name = "date_birth_guider")private LocalDate dateOfBirthGuider;@Column(name = "husband_name")private String husbandName;@Column(name = "date_birth_husband")private LocalDate dateOfBirthHusband;@Column(name = "date_birth_wife")private LocalDate dateofBirthWife;@Column(name = "son_name")private String sonName;@Column(name = "son_birth_date")private LocalDate sonDate;@Column(name = "daughter_name")private String daughterName;@Column(name = "daughter_dob")private LocalDate daughterDOB;@Column(name = "wife_name")private String wifeName;public int getId() {return id;}public void setId(int id) {this.id = id;}public int getAuthId() {return authId;}public void setAuthId(int authId) {this.authId = authId;}public String getFatherName() {return fatherName;}public void setFatherName(String fatherName) {this.fatherName = fatherName;}public String getMotherName() {return motherName;}public void setMotherName(String motherName) {this.motherName = motherName;}public String getBrotherFirst() {return brotherFirst;}public void setBrotherFirst(String brotherFirst) {this.brotherFirst = brotherFirst;}public String getBrotherSecond() {return brotherSecond;}public void setBrotherSecond(String brotherSecond) {this.brotherSecond = brotherSecond;}public LocalDate getDateOfBirthGuider() {return dateOfBirthGuider;}public void setDateOfBirthGuider(LocalDate dateOfBirthGuider) {this.dateOfBirthGuider = dateOfBirthGuider;}public String getHusbandName() {return husbandName;}public void setHusbandName(String husbandName) {this.husbandName = husbandName;}public LocalDate getDateOfBirthHusband() {return dateOfBirthHusband;}public void setDateOfBirthHusband(LocalDate dateOfBirthHusband) {this.dateOfBirthHusband = dateOfBirthHusband;}public LocalDate getDateofBirthWife() {return dateofBirthWife;}public void setDateofBirthWife(LocalDate dateofBirthWife) {this.dateofBirthWife = dateofBirthWife;}public String getSonName() {return sonName;}public void setSonName(String sonName) {this.sonName = sonName;}public LocalDate getSonDate() {return sonDate;}public void setSonDate(LocalDate sonDate) {this.sonDate = sonDate;}public String getDaughterName() {return daughterName;}public void setDaughterName(String daughterName) {this.daughterName = daughterName;}public LocalDate getDaughterDOB() {return daughterDOB;}public void setDaughterDOB(LocalDate daughterDOB) {this.daughterDOB = daughterDOB;}public String getWifeName() {return wifeName;}public void setWifeName(String wifeName) {this.wifeName = wifeName;}public FamilyMemberDetailsForm() {super();// TODO Auto-generated constructor stub}@Overridepublic String toString() {return "FamilyMemberDetailsForm [id=" + id + ", authId=" + authId + ", fatherName=" + fatherName+ ", motherName=" + motherName + ", brotherFirst=" + brotherFirst + ", brotherSecond=" + brotherSecond+ ", dateOfBirthGuider=" + dateOfBirthGuider + ", husbandName=" + husbandName + ", dateOfBirthHusband="+ dateOfBirthHusband + ", dateofBirthWife=" + dateofBirthWife + ", sonName=" + sonName + ", sonDate="+ sonDate + ", daughterName=" + daughterName + ", daughterDOB=" + daughterDOB + ", wifeName=" + wifeName+ "]";}}