package com.glacier.frame.entity.basicdatas; import java.util.Date; public class ParComContactType { private String contactTypeId; private String contactTypeName; private String enabled; private String creater; private Date createTime; private String updater; private Date updateTime; private Integer code; private Integer sequenced; public String getContactTypeId() { return contactTypeId; } public void setContactTypeId(String contactTypeId) { this.contactTypeId = contactTypeId; } public String getContactTypeName() { return contactTypeName; } public void setContactTypeName(String contactTypeName) { this.contactTypeName = contactTypeName; } 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; } public Integer getCode() { return code; } public void setCode(Integer code) { this.code = code; } public Integer getSequenced() { return sequenced; } public void setSequenced(Integer sequenced) { this.sequenced = sequenced; } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } ParComContactType other = (ParComContactType) that; return (this.getContactTypeId() == null ? other.getContactTypeId() == null : this.getContactTypeId().equals(other.getContactTypeId())) && (this.getContactTypeName() == null ? other.getContactTypeName() == null : this.getContactTypeName().equals(other.getContactTypeName())) && (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())) && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode())) && (this.getSequenced() == null ? other.getSequenced() == null : this.getSequenced().equals(other.getSequenced())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getContactTypeId() == null) ? 0 : getContactTypeId().hashCode()); result = prime * result + ((getContactTypeName() == null) ? 0 : getContactTypeName().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()); result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode()); result = prime * result + ((getSequenced() == null) ? 0 : getSequenced().hashCode()); return result; } }