package com.glacier.frame.entity.basicdatas; import java.util.Date; public class ParComNature { private String natureId; private String natureName; private String natureCode; private String enabled; private String remark; private String creater; private Date createTime; private String updater; private Date updateTime; public String getNatureId() { return natureId; } public void setNatureId(String natureId) { this.natureId = natureId; } public String getNatureName() { return natureName; } public void setNatureName(String natureName) { this.natureName = natureName; } public String getNatureCode() { return natureCode; } public void setNatureCode(String natureCode) { this.natureCode = natureCode; } public String getEnabled() { return enabled; } public void setEnabled(String enabled) { this.enabled = enabled; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } 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; } ParComNature other = (ParComNature) that; return (this.getNatureId() == null ? other.getNatureId() == null : this.getNatureId().equals(other.getNatureId())) && (this.getNatureName() == null ? other.getNatureName() == null : this.getNatureName().equals(other.getNatureName())) && (this.getNatureCode() == null ? other.getNatureCode() == null : this.getNatureCode().equals(other.getNatureCode())) && (this.getEnabled() == null ? other.getEnabled() == null : this.getEnabled().equals(other.getEnabled())) && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())) && (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 + ((getNatureId() == null) ? 0 : getNatureId().hashCode()); result = prime * result + ((getNatureName() == null) ? 0 : getNatureName().hashCode()); result = prime * result + ((getNatureCode() == null) ? 0 : getNatureCode().hashCode()); result = prime * result + ((getEnabled() == null) ? 0 : getEnabled().hashCode()); result = prime * result + ((getRemark() == null) ? 0 : getRemark().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; } }