package com.glacier.frame.entity.purchase;
import java.math.BigDecimal;
import java.util.Date;
public class PurchaseRequisition {
private String purReqId;
private String reqCode;
private String purchaseTypeId;
private Date reqDate;
private String storage;
private String orderState;
private String operators;
private String operatorDep;
private BigDecimal total;
private String accessory;
private String auditState;
private String auditor;
private Date auditDate;
private String auditRemark;
private String enabled;
private String summary;
private String remark;
private String creater;
private Date createTime;
private String updater;
private Date updateTime;
public String getPurReqId() {
return purReqId;
}
public void setPurReqId(String purReqId) {
this.purReqId = purReqId;
}
public String getReqCode() {
return reqCode;
}
public void setReqCode(String reqCode) {
this.reqCode = reqCode;
}
public String getPurchaseTypeId() {
return purchaseTypeId;
}
public void setPurchaseTypeId(String purchaseTypeId) {
this.purchaseTypeId = purchaseTypeId;
}
public Date getReqDate() {
return reqDate;
}
public void setReqDate(Date reqDate) {
this.reqDate = reqDate;
}
public String getStorage() {
return storage;
}
public void setStorage(String storage) {
this.storage = storage;
}
public String getOrderState() {
return orderState;
}
public void setOrderState(String orderState) {
this.orderState = orderState;
}
public String getOperators() {
return operators;
}
public void setOperators(String operators) {
this.operators = operators;
}
public String getOperatorDep() {
return operatorDep;
}
public void setOperatorDep(String operatorDep) {
this.operatorDep = operatorDep;
}
public BigDecimal getTotal() {
return total;
}
public void setTotal(BigDecimal total) {
this.total = total;
}
public String getAccessory() {
return accessory;
}
public void setAccessory(String accessory) {
this.accessory = accessory;
}
public String getAuditState() {
return auditState;
}
public void setAuditState(String auditState) {
this.auditState = auditState;
}
public String getAuditor() {
return auditor;
}
public void setAuditor(String auditor) {
this.auditor = auditor;
}
public Date getAuditDate() {
return auditDate;
}
public void setAuditDate(Date auditDate) {
this.auditDate = auditDate;
}
public String getAuditRemark() {
return auditRemark;
}
public void setAuditRemark(String auditRemark) {
this.auditRemark = auditRemark;
}
public String getEnabled() {
return enabled;
}
public void setEnabled(String enabled) {
this.enabled = enabled;
}
public String getSummary() {
return summary;
}
public void setSummary(String summary) {
this.summary = summary;
}
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;
}
PurchaseRequisition other = (PurchaseRequisition) that;
return (this.getPurReqId() == null ? other.getPurReqId() == null : this.getPurReqId().equals(other.getPurReqId()))
&& (this.getReqCode() == null ? other.getReqCode() == null : this.getReqCode().equals(other.getReqCode()))
&& (this.getPurchaseTypeId() == null ? other.getPurchaseTypeId() == null : this.getPurchaseTypeId().equals(other.getPurchaseTypeId()))
&& (this.getReqDate() == null ? other.getReqDate() == null : this.getReqDate().equals(other.getReqDate()))
&& (this.getStorage() == null ? other.getStorage() == null : this.getStorage().equals(other.getStorage()))
&& (this.getOrderState() == null ? other.getOrderState() == null : this.getOrderState().equals(other.getOrderState()))
&& (this.getOperators() == null ? other.getOperators() == null : this.getOperators().equals(other.getOperators()))
&& (this.getOperatorDep() == null ? other.getOperatorDep() == null : this.getOperatorDep().equals(other.getOperatorDep()))
&& (this.getTotal() == null ? other.getTotal() == null : this.getTotal().equals(other.getTotal()))
&& (this.getAccessory() == null ? other.getAccessory() == null : this.getAccessory().equals(other.getAccessory()))
&& (this.getAuditState() == null ? other.getAuditState() == null : this.getAuditState().equals(other.getAuditState()))
&& (this.getAuditor() == null ? other.getAuditor() == null : this.getAuditor().equals(other.getAuditor()))
&& (this.getAuditDate() == null ? other.getAuditDate() == null : this.getAuditDate().equals(other.getAuditDate()))
&& (this.getAuditRemark() == null ? other.getAuditRemark() == null : this.getAuditRemark().equals(other.getAuditRemark()))
&& (this.getEnabled() == null ? other.getEnabled() == null : this.getEnabled().equals(other.getEnabled()))
&& (this.getSummary() == null ? other.getSummary() == null : this.getSummary().equals(other.getSummary()))
&& (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 + ((getPurReqId() == null) ? 0 : getPurReqId().hashCode());
result = prime * result + ((getReqCode() == null) ? 0 : getReqCode().hashCode());
result = prime * result + ((getPurchaseTypeId() == null) ? 0 : getPurchaseTypeId().hashCode());
result = prime * result + ((getReqDate() == null) ? 0 : getReqDate().hashCode());
result = prime * result + ((getStorage() == null) ? 0 : getStorage().hashCode());
result = prime * result + ((getOrderState() == null) ? 0 : getOrderState().hashCode());
result = prime * result + ((getOperators() == null) ? 0 : getOperators().hashCode());
result = prime * result + ((getOperatorDep() == null) ? 0 : getOperatorDep().hashCode());
result = prime * result + ((getTotal() == null) ? 0 : getTotal().hashCode());
result = prime * result + ((getAccessory() == null) ? 0 : getAccessory().hashCode());
result = prime * result + ((getAuditState() == null) ? 0 : getAuditState().hashCode());
result = prime * result + ((getAuditor() == null) ? 0 : getAuditor().hashCode());
result = prime * result + ((getAuditDate() == null) ? 0 : getAuditDate().hashCode());
result = prime * result + ((getAuditRemark() == null) ? 0 : getAuditRemark().hashCode());
result = prime * result + ((getEnabled() == null) ? 0 : getEnabled().hashCode());
result = prime * result + ((getSummary() == null) ? 0 : getSummary().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;
}
}