package com.bjsxt.pojo;
import java.util.Date;
import java.util.Objects;
public class Employee {
private String empid;
private String password;
private Integer deptno;
private Integer posid;
private String merid;
private String realname;
private String sex;
private Date birthdate;
private Date hiredate;
private Date leavedate;
private Integer onduty;
private Integer emptype;
private String phone;
private String qq;
private String emercontactperson;
private String idcard;
@Override
public String toString() {
return "Employee{" +
"empid='" + empid + '\'' +
", password='" + password + '\'' +
", deptno=" + deptno +
", posid=" + posid +
", merid='" + merid + '\'' +
", realname='" + realname + '\'' +
", sex='" + sex + '\'' +
", birthdate=" + birthdate +
", hiredate=" + hiredate +
", leavedate=" + leavedate +
", onduty=" + onduty +
", emptype=" + emptype +
", phone='" + phone + '\'' +
", qq='" + qq + '\'' +
", emercontactperson='" + emercontactperson + '\'' +
", idcard='" + idcard + '\'' +
'}';
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Employee employee = (Employee) o;
return Objects.equals(empid, employee.empid) && Objects.equals(password, employee.password) && Objects.equals(deptno, employee.deptno) && Objects.equals(posid, employee.posid) && Objects.equals(merid, employee.merid) && Objects.equals(realname, employee.realname) && Objects.equals(sex, employee.sex) && Objects.equals(birthdate, employee.birthdate) && Objects.equals(hiredate, employee.hiredate) && Objects.equals(leavedate, employee.leavedate) && Objects.equals(onduty, employee.onduty) && Objects.equals(emptype, employee.emptype) && Objects.equals(phone, employee.phone) && Objects.equals(qq, employee.qq) && Objects.equals(emercontactperson, employee.emercontactperson) && Objects.equals(idcard, employee.idcard);
}
@Override
public int hashCode() {
return Objects.hash(empid, password, deptno, posid, merid, realname, sex, birthdate, hiredate, leavedate, onduty, emptype, phone, qq, emercontactperson, idcard);
}
public String getEmpid() {
return empid;
}
public void setEmpid(String empid) {
this.empid = empid;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public Integer getDeptno() {
return deptno;
}
public void setDeptno(Integer deptno) {
this.deptno = deptno;
}
public Integer getPosid() {
return posid;
}
public void setPosid(Integer posid) {
this.posid = posid;
}
public String getMerid() {
return merid;
}
public void setMerid(String merid) {
this.merid = merid;
}
public String getRealname() {
return realname;
}
public void setRealname(String realname) {
this.realname = realname;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public Date getBirthdate() {
return birthdate;
}
public void setBirthdate(Date birthdate) {
this.birthdate = birthdate;
}
public Date getHiredate() {
return hiredate;
}
public void setHiredate(Date hiredate) {
this.hiredate = hiredate;
}
public Date getLeavedate() {
return leavedate;
}
public void setLeavedate(Date leavedate) {
this.leavedate = leavedate;
}
public Integer getOnduty() {
return onduty;
}
public void setOnduty(Integer onduty) {
this.onduty = onduty;
}
public Integer getEmptype() {
return emptype;
}
public void setEmptype(Integer emptype) {
this.emptype = emptype;
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone;
}
public String getQq() {
return qq;
}
public void setQq(String qq) {
this.qq = qq;
}
public String getEmercontactperson() {
return emercontactperson;
}
public void setEmercontactperson(String emercontactperson) {
this.emercontactperson = emercontactperson;
}
public String getIdcard() {
return idcard;
}
public void setIdcard(String idcard) {
this.idcard = idcard;
}
public Employee(String empid) {
this.empid = empid;
}
public Employee(String empid, String password, Integer deptno, Integer posid, String merid, String realname, String sex, Date birthdate, Date hiredate, Date leavedate, Integer onduty, Integer emptype, String phone, String qq, String emercontactperson, String idcard) {
this.empid = empid;
this.password = password;
this.deptno = deptno;
this.posid = posid;
this.merid = merid;
this.realname = realname;
this.sex = sex;
this.birthdate = birthdate;
this.hiredate = hiredate;
this.leavedate = leavedate;
this.onduty = onduty;
this.emptype = emptype;
this.phone = phone;
this.qq = qq;
this.emercontactperson = emercontactperson;
this.idcard = idcard;
}
}
OA系统--定义数据类型
最新推荐文章于 2024-11-05 22:47:34 发布