package com.glacier.frame.entity.basicdatas; import java.util.Date; public class ParComIndustry { private String industryId; private String industryName; private String industyCode; private String enabled; private String remark; private String creater; private Date createTime; private String updater; private Date updateTime; public String getIndustryId() { return industryId; } public void setIndustryId(String industryId) { this.industryId = industryId; } public String getIndustryName() { return industryName; } public void setIndustryName(String industryName) { this.industryName = industryName; } public String getIndustyCode() { return industyCode; } public void setIndustyCode(String industyCode) { this.industyCode = industyCode; } 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; } ParComIndustry other = (ParComIndustry) that; return (this.getIndustryId() == null ? other.getIndustryId() == null : this.getIndustryId().equals(other.getIndustryId())) && (this.getIndustryName() == null ? other.getIndustryName() == null : this.getIndustryName().equals(other.getIndustryName())) && (this.getIndustyCode() == null ? other.getIndustyCode() == null : this.getIndustyCode().equals(other.getIndustyCode())) && (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 + ((getIndustryId() == null) ? 0 : getIndustryId().hashCode()); result = prime * result + ((getIndustryName() == null) ? 0 : getIndustryName().hashCode()); result = prime * result + ((getIndustyCode() == null) ? 0 : getIndustyCode().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; } }