package com.glacier.frame.entity.basicdatas; import java.util.Date; public class ParClientContact { private String clientContactId; /** * 自定义字段,联系人类型名称 */ private String clientName; private String clientId; /** * 自定义字段,联系人类型名称 */ private String contactTypeName; private String contactTypeId; private String name; private String sex; private String department; private String post; private String business; private String workPhone; private String mobilephone; private String fox; private String email; private String homePhone; private String adrress; private String communications; private Date birthday; private String hobby; private String number; private String remark; private String enabled; private String creater; private Date createTime; private String updater; private Date updateTime; public String getClientContactId() { return clientContactId; } public void setClientContactId(String clientContactId) { this.clientContactId = clientContactId; } public String getClientName() { return clientName; } public void setClientName(String clientName) { this.clientName = clientName; } public String getContactTypeName() { return contactTypeName; } public void setContactTypeName(String contactTypeName) { this.contactTypeName = contactTypeName; } public String getClientId() { return clientId; } public void setClientId(String clientId) { this.clientId = clientId; } public String getContactTypeId() { return contactTypeId; } public void setContactTypeId(String contactTypeId) { this.contactTypeId = contactTypeId; } 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 getBusiness() { return business; } public void setBusiness(String business) { this.business = business; } public String getWorkPhone() { return workPhone; } public void setWorkPhone(String workPhone) { this.workPhone = workPhone; } public String getMobilephone() { return mobilephone; } public void setMobilephone(String mobilephone) { this.mobilephone = mobilephone; } public String getFox() { return fox; } public void setFox(String fox) { this.fox = fox; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getHomePhone() { return homePhone; } public void setHomePhone(String homePhone) { this.homePhone = homePhone; } public String getAdrress() { return adrress; } public void setAdrress(String adrress) { this.adrress = adrress; } public String getCommunications() { return communications; } public void setCommunications(String communications) { this.communications = communications; } 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 getNumber() { return number; } public void setNumber(String number) { this.number = number; } 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; } ParClientContact other = (ParClientContact) that; return (this.getClientContactId() == null ? other.getClientContactId() == null : this.getClientContactId().equals(other.getClientContactId())) && (this.getClientId() == null ? other.getClientId() == null : this.getClientId().equals(other.getClientId())) && (this.getContactTypeId() == null ? other.getContactTypeId() == null : this.getContactTypeId().equals(other.getContactTypeId())) && (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.getBusiness() == null ? other.getBusiness() == null : this.getBusiness().equals(other.getBusiness())) && (this.getWorkPhone() == null ? other.getWorkPhone() == null : this.getWorkPhone().equals(other.getWorkPhone())) && (this.getMobilephone() == null ? other.getMobilephone() == null : this.getMobilephone().equals(other.getMobilephone())) && (this.getFox() == null ? other.getFox() == null : this.getFox().equals(other.getFox())) && (this.getEmail() == null ? other.getEmail() == null : this.getEmail().equals(other.getEmail())) && (this.getHomePhone() == null ? other.getHomePhone() == null : this.getHomePhone().equals(other.getHomePhone())) && (this.getAdrress() == null ? other.getAdrress() == null : this.getAdrress().equals(other.getAdrress())) && (this.getCommunications() == null ? other.getCommunications() == null : this.getCommunications().equals(other.getCommunications())) && (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday())) && (this.getHobby() == null ? other.getHobby() == null : this.getHobby().equals(other.getHobby())) && (this.getNumber() == null ? other.getNumber() == null : this.getNumber().equals(other.getNumber())) && (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 + ((getClientContactId() == null) ? 0 : getClientContactId().hashCode()); result = prime * result + ((getClientId() == null) ? 0 : getClientId().hashCode()); result = prime * result + ((getContactTypeId() == null) ? 0 : getContactTypeId().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 + ((getBusiness() == null) ? 0 : getBusiness().hashCode()); result = prime * result + ((getWorkPhone() == null) ? 0 : getWorkPhone().hashCode()); result = prime * result + ((getMobilephone() == null) ? 0 : getMobilephone().hashCode()); result = prime * result + ((getFox() == null) ? 0 : getFox().hashCode()); result = prime * result + ((getEmail() == null) ? 0 : getEmail().hashCode()); result = prime * result + ((getHomePhone() == null) ? 0 : getHomePhone().hashCode()); result = prime * result + ((getAdrress() == null) ? 0 : getAdrress().hashCode()); result = prime * result + ((getCommunications() == null) ? 0 : getCommunications().hashCode()); result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode()); result = prime * result + ((getHobby() == null) ? 0 : getHobby().hashCode()); result = prime * result + ((getNumber() == null) ? 0 : getNumber().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; } }