package com.glacier.frame.entity.basicdatas; import java.util.Date; public class Warehouse { private String warehouseId; private Integer orderNum; private String warehouseCode; private String warehouseName; private String departmentId; private String warehouseManager; private String retailLibraries; private String phone; private String address; private String head; private String remark; private String enabled; private String creater; private Date createTime; private String updater; private Date updateTime; private String depDisplay; private String warehouseManagerDisplay; public String getDepDisplay() { return depDisplay; } public void setDepDisplay(String depDisplay) { this.depDisplay = depDisplay; } public String getWarehouseManagerDisplay() { return warehouseManagerDisplay; } public void setWarehouseManagerDisplay(String warehouseManagerDisplay) { this.warehouseManagerDisplay = warehouseManagerDisplay; } public String getWarehouseId() { return warehouseId; } public void setWarehouseId(String warehouseId) { this.warehouseId = warehouseId; } public Integer getOrderNum() { return orderNum; } public void setOrderNum(Integer orderNum) { this.orderNum = orderNum; } public String getWarehouseCode() { return warehouseCode; } public void setWarehouseCode(String warehouseCode) { this.warehouseCode = warehouseCode; } public String getWarehouseName() { return warehouseName; } public void setWarehouseName(String warehouseName) { this.warehouseName = warehouseName; } public String getDepartmentId() { return departmentId; } public void setDepartmentId(String departmentId) { this.departmentId = departmentId; } public String getWarehouseManager() { return warehouseManager; } public void setWarehouseManager(String warehouseManager) { this.warehouseManager = warehouseManager; } public String getRetailLibraries() { return retailLibraries; } public void setRetailLibraries(String retailLibraries) { this.retailLibraries = retailLibraries; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public String getHead() { return head; } public void setHead(String head) { this.head = head; } public String getRemark() { return remark; } public void setRemark(String remark) { this.remark = remark; } 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; } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } Warehouse other = (Warehouse) that; return (this.getWarehouseId() == null ? other.getWarehouseId() == null : this.getWarehouseId().equals(other.getWarehouseId())) && (this.getOrderNum() == null ? other.getOrderNum() == null : this.getOrderNum().equals(other.getOrderNum())) && (this.getWarehouseCode() == null ? other.getWarehouseCode() == null : this.getWarehouseCode().equals(other.getWarehouseCode())) && (this.getWarehouseName() == null ? other.getWarehouseName() == null : this.getWarehouseName().equals(other.getWarehouseName())) && (this.getDepartmentId() == null ? other.getDepartmentId() == null : this.getDepartmentId().equals(other.getDepartmentId())) && (this.getWarehouseManager() == null ? other.getWarehouseManager() == null : this.getWarehouseManager().equals(other.getWarehouseManager())) && (this.getRetailLibraries() == null ? other.getRetailLibraries() == null : this.getRetailLibraries().equals(other.getRetailLibraries())) && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone())) && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress())) && (this.getHead() == null ? other.getHead() == null : this.getHead().equals(other.getHead())) && (this.getRemark() == null ? other.getRemark() == null : this.getRemark().equals(other.getRemark())) && (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())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getWarehouseId() == null) ? 0 : getWarehouseId().hashCode()); result = prime * result + ((getOrderNum() == null) ? 0 : getOrderNum().hashCode()); result = prime * result + ((getWarehouseCode() == null) ? 0 : getWarehouseCode().hashCode()); result = prime * result + ((getWarehouseName() == null) ? 0 : getWarehouseName().hashCode()); result = prime * result + ((getDepartmentId() == null) ? 0 : getDepartmentId().hashCode()); result = prime * result + ((getWarehouseManager() == null) ? 0 : getWarehouseManager().hashCode()); result = prime * result + ((getRetailLibraries() == null) ? 0 : getRetailLibraries().hashCode()); result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode()); result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode()); result = prime * result + ((getHead() == null) ? 0 : getHead().hashCode()); result = prime * result + ((getRemark() == null) ? 0 : getRemark().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()); return result; } }