package com.glacier.frame.entity.basicdatas; import java.util.Date; public class ParSuppliersSource { private String sourceId; private String sourceName; private String sourceCode; private String enabled; private String remark; private String creater; private Date createTime; private String updater; private Date updateTime; public String getSourceId() { return sourceId; } public void setSourceId(String sourceId) { this.sourceId = sourceId; } public String getSourceName() { return sourceName; } public void setSourceName(String sourceName) { this.sourceName = sourceName; } public String getSourceCode() { return sourceCode; } public void setSourceCode(String sourceCode) { this.sourceCode = sourceCode; } 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; } ParSuppliersSource other = (ParSuppliersSource) that; return (this.getSourceId() == null ? other.getSourceId() == null : this.getSourceId().equals(other.getSourceId())) && (this.getSourceName() == null ? other.getSourceName() == null : this.getSourceName().equals(other.getSourceName())) && (this.getSourceCode() == null ? other.getSourceCode() == null : this.getSourceCode().equals(other.getSourceCode())) && (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 + ((getSourceId() == null) ? 0 : getSourceId().hashCode()); result = prime * result + ((getSourceName() == null) ? 0 : getSourceName().hashCode()); result = prime * result + ((getSourceCode() == null) ? 0 : getSourceCode().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; } }