package com.glacier.frame.entity.basicdatas;
import java.util.Date;
public class ParSuppliersContact {
private String supplierContactId;
/**
* 自定义字段,联系人类型名称
*/
private String contactTypeName;
private String contactTypeId;
/**
* 自定义字段,联系人所属供应商
*/
private String supplierName;
private String supplierId;
private String name;
private String sex;
private String department;
private String post;
private String responsibleBusiness;
private String workPhone;
private String mobileTelephone;
private String fax;
private String postcode;
private String homePhone;
private String homeAdress;
private String msn;
private String qq;
private Date birthday;
private String hobby;
private String remark;
private String enabled;
private String creater;
private Date createTime;
private String updater;
private Date updateTime;
public String getSupplierContactId() {
return supplierContactId;
}
public void setSupplierContactId(String supplierContactId) {
this.supplierContactId = supplierContactId;
}
public String getContactTypeName() {
return contactTypeName;
}
public void setContactTypeName(String contactTypeName) {
this.contactTypeName = contactTypeName;
}
public String getSupplierName() {
return supplierName;
}
public void setSupplierName(String supplierName) {
this.supplierName = supplierName;
}
public String getContactTypeId() {
return contactTypeId;
}
public void setContactTypeId(String contactTypeId) {
this.contactTypeId = contactTypeId;
}
public String getSupplierId() {
return supplierId;
}
public void setSupplierId(String supplierId) {
this.supplierId = supplierId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSex() {
return sex;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getDepartment() {
return department;
}
public void setDepartment(String department) {
this.department = department;
}
public String getPost() {
return post;
}
public void setPost(String post) {
this.post = post;
}
public String getResponsibleBusiness() {
return responsibleBusiness;
}
public void setResponsibleBusiness(String responsibleBusiness) {
this.responsibleBusiness = responsibleBusiness;
}
public String getWorkPhone() {
return workPhone;
}
public void setWorkPhone(String workPhone) {
this.workPhone = workPhone;
}
public String getMobileTelephone() {
return mobileTelephone;
}
public void setMobileTelephone(String mobileTelephone) {
this.mobileTelephone = mobileTelephone;
}
public String getFax() {
return fax;
}
public void setFax(String fax) {
this.fax = fax;
}
public String getPostcode() {
return postcode;
}
public void setPostcode(String postcode) {
this.postcode = postcode;
}
public String getHomePhone() {
return homePhone;
}
public void setHomePhone(String homePhone) {
this.homePhone = homePhone;
}
public String getHomeAdress() {
return homeAdress;
}
public void setHomeAdress(String homeAdress) {
this.homeAdress = homeAdress;
}
public String getMsn() {
return msn;
}
public void setMsn(String msn) {
this.msn = msn;
}
public String getQq() {
return qq;
}
public void setQq(String qq) {
this.qq = qq;
}
public Date getBirthday() {
return birthday;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public String getHobby() {
return hobby;
}
public void setHobby(String hobby) {
this.hobby = hobby;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public String getEnabled() {
return enabled;
}
public void setEnabled(String enabled) {
this.enabled = enabled;
}
public String getCreater() {
return creater;
}
public void setCreater(String creater) {
this.creater = creater;
}
public Date getCreateTime() {
return createTime;
}
public void setCreateTime(Date createTime) {
this.createTime = createTime;
}
public String getUpdater() {
return updater;
}
public void setUpdater(String updater) {
this.updater = updater;
}
public Date getUpdateTime() {
return updateTime;
}
public void setUpdateTime(Date updateTime) {
this.updateTime = updateTime;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
ParSuppliersContact other = (ParSuppliersContact) that;
return (this.getSupplierContactId() == null ? other.getSupplierContactId() == null : this.getSupplierContactId().equals(other.getSupplierContactId()))
&& (this.getContactTypeId() == null ? other.getContactTypeId() == null : this.getContactTypeId().equals(other.getContactTypeId()))
&& (this.getSupplierId() == null ? other.getSupplierId() == null : this.getSupplierId().equals(other.getSupplierId()))
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
&& (this.getSex() == null ? other.getSex() == null : this.getSex().equals(other.getSex()))
&& (this.getDepartment() == null ? other.getDepartment() == null : this.getDepartment().equals(other.getDepartment()))
&& (this.getPost() == null ? other.getPost() == null : this.getPost().equals(other.getPost()))
&& (this.getResponsibleBusiness() == null ? other.getResponsibleBusiness() == null : this.getResponsibleBusiness().equals(other.getResponsibleBusiness()))
&& (this.getWorkPhone() == null ? other.getWorkPhone() == null : this.getWorkPhone().equals(other.getWorkPhone()))
&& (this.getMobileTelephone() == null ? other.getMobileTelephone() == null : this.getMobileTelephone().equals(other.getMobileTelephone()))
&& (this.getFax() == null ? other.getFax() == null : this.getFax().equals(other.getFax()))
&& (this.getPostcode() == null ? other.getPostcode() == null : this.getPostcode().equals(other.getPostcode()))
&& (this.getHomePhone() == null ? other.getHomePhone() == null : this.getHomePhone().equals(other.getHomePhone()))
&& (this.getHomeAdress() == null ? other.getHomeAdress() == null : this.getHomeAdress().equals(other.getHomeAdress()))
&& (this.getMsn() == null ? other.getMsn() == null : this.getMsn().equals(other.getMsn()))
&& (this.getQq() == null ? other.getQq() == null : this.getQq().equals(other.getQq()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getHobby() == null ? other.getHobby() == null : this.getHobby().equals(other.getHobby()))
&& (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark()))
&& (this.getEnabled() == null ? other.getEnabled() == null : this.getEnabled().equals(other.getEnabled()))
&& (this.getCreater() == null ? other.getCreater() == null : this.getCreater().equals(other.getCreater()))
&& (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime()))
&& (this.getUpdater() == null ? other.getUpdater() == null : this.getUpdater().equals(other.getUpdater()))
&& (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getSupplierContactId() == null) ? 0 : getSupplierContactId().hashCode());
result = prime * result + ((getContactTypeId() == null) ? 0 : getContactTypeId().hashCode());
result = prime * result + ((getSupplierId() == null) ? 0 : getSupplierId().hashCode());
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
result = prime * result + ((getSex() == null) ? 0 : getSex().hashCode());
result = prime * result + ((getDepartment() == null) ? 0 : getDepartment().hashCode());
result = prime * result + ((getPost() == null) ? 0 : getPost().hashCode());
result = prime * result + ((getResponsibleBusiness() == null) ? 0 : getResponsibleBusiness().hashCode());
result = prime * result + ((getWorkPhone() == null) ? 0 : getWorkPhone().hashCode());
result = prime * result + ((getMobileTelephone() == null) ? 0 : getMobileTelephone().hashCode());
result = prime * result + ((getFax() == null) ? 0 : getFax().hashCode());
result = prime * result + ((getPostcode() == null) ? 0 : getPostcode().hashCode());
result = prime * result + ((getHomePhone() == null) ? 0 : getHomePhone().hashCode());
result = prime * result + ((getHomeAdress() == null) ? 0 : getHomeAdress().hashCode());
result = prime * result + ((getMsn() == null) ? 0 : getMsn().hashCode());
result = prime * result + ((getQq() == null) ? 0 : getQq().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getHobby() == null) ? 0 : getHobby().hashCode());
result = prime * result + ((getRemark() == null) ? 0 : getRemark().hashCode());
result = prime * result + ((getEnabled() == null) ? 0 : getEnabled().hashCode());
result = prime * result + ((getCreater() == null) ? 0 : getCreater().hashCode());
result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode());
result = prime * result + ((getUpdater() == null) ? 0 : getUpdater().hashCode());
result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode());
return result;
}
}