package com.hai.entity; import com.hai.model.HighMerchantModel; import java.io.Serializable; import java.util.Date; /** * high_merchant * @author */ /** * * 代码由工具生成 * **/ public class HighMerchant implements Serializable { /** * 主键 */ private Long id; /** * 单位id */ private Long companyId; /** * 商户编号 */ private String merchantKey; /** * 商户名称 */ private String merchantName; /** * 商户logo */ private String merchantLogo; /** * 描述 */ private String merchantDesc; /** * 电话 */ private String telephone; /** * 银行名称 */ private String bankName; /** * 银行账号 */ private String bankAccount; /** * 银行开户人 */ private String bankHolder; /** * 商户地址 */ private String address; /** * 状态:0:不可用,1:可用 */ private Integer status; /** * 操作人id */ private Long operatorId; /** * 操作人名称 */ private String operatorName; /** * 创建时间 */ private Date createTime; /** * 创建时间 */ private Date updateTime; private String ext1; private String ext2; private String ext3; private static final long serialVersionUID = 1L; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Long getCompanyId() { return companyId; } public void setCompanyId(Long companyId) { this.companyId = companyId; } public String getMerchantKey() { return merchantKey; } public void setMerchantKey(String merchantKey) { this.merchantKey = merchantKey; } public String getMerchantName() { return merchantName; } public void setMerchantName(String merchantName) { this.merchantName = merchantName; } public String getMerchantLogo() { return merchantLogo; } public void setMerchantLogo(String merchantLogo) { this.merchantLogo = merchantLogo; } public String getMerchantDesc() { return merchantDesc; } public void setMerchantDesc(String merchantDesc) { this.merchantDesc = merchantDesc; } public String getTelephone() { return telephone; } public void setTelephone(String telephone) { this.telephone = telephone; } public String getBankName() { return bankName; } public void setBankName(String bankName) { this.bankName = bankName; } public String getBankAccount() { return bankAccount; } public void setBankAccount(String bankAccount) { this.bankAccount = bankAccount; } public String getBankHolder() { return bankHolder; } public void setBankHolder(String bankHolder) { this.bankHolder = bankHolder; } public String getAddress() { return address; } public void setAddress(String address) { this.address = address; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public Long getOperatorId() { return operatorId; } public void setOperatorId(Long operatorId) { this.operatorId = operatorId; } public String getOperatorName() { return operatorName; } public void setOperatorName(String operatorName) { this.operatorName = operatorName; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public String getExt1() { return ext1; } public void setExt1(String ext1) { this.ext1 = ext1; } public String getExt2() { return ext2; } public void setExt2(String ext2) { this.ext2 = ext2; } public String getExt3() { return ext3; } public void setExt3(String ext3) { this.ext3 = ext3; } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } HighMerchant other = (HighMerchant) that; return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId())) && (this.getCompanyId() == null ? other.getCompanyId() == null : this.getCompanyId().equals(other.getCompanyId())) && (this.getMerchantKey() == null ? other.getMerchantKey() == null : this.getMerchantKey().equals(other.getMerchantKey())) && (this.getMerchantName() == null ? other.getMerchantName() == null : this.getMerchantName().equals(other.getMerchantName())) && (this.getMerchantLogo() == null ? other.getMerchantLogo() == null : this.getMerchantLogo().equals(other.getMerchantLogo())) && (this.getMerchantDesc() == null ? other.getMerchantDesc() == null : this.getMerchantDesc().equals(other.getMerchantDesc())) && (this.getTelephone() == null ? other.getTelephone() == null : this.getTelephone().equals(other.getTelephone())) && (this.getBankName() == null ? other.getBankName() == null : this.getBankName().equals(other.getBankName())) && (this.getBankAccount() == null ? other.getBankAccount() == null : this.getBankAccount().equals(other.getBankAccount())) && (this.getBankHolder() == null ? other.getBankHolder() == null : this.getBankHolder().equals(other.getBankHolder())) && (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getOperatorId() == null ? other.getOperatorId() == null : this.getOperatorId().equals(other.getOperatorId())) && (this.getOperatorName() == null ? other.getOperatorName() == null : this.getOperatorName().equals(other.getOperatorName())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (this.getUpdateTime() == null ? other.getUpdateTime() == null : this.getUpdateTime().equals(other.getUpdateTime())) && (this.getExt1() == null ? other.getExt1() == null : this.getExt1().equals(other.getExt1())) && (this.getExt2() == null ? other.getExt2() == null : this.getExt2().equals(other.getExt2())) && (this.getExt3() == null ? other.getExt3() == null : this.getExt3().equals(other.getExt3())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getId() == null) ? 0 : getId().hashCode()); result = prime * result + ((getCompanyId() == null) ? 0 : getCompanyId().hashCode()); result = prime * result + ((getMerchantKey() == null) ? 0 : getMerchantKey().hashCode()); result = prime * result + ((getMerchantName() == null) ? 0 : getMerchantName().hashCode()); result = prime * result + ((getMerchantLogo() == null) ? 0 : getMerchantLogo().hashCode()); result = prime * result + ((getMerchantDesc() == null) ? 0 : getMerchantDesc().hashCode()); result = prime * result + ((getTelephone() == null) ? 0 : getTelephone().hashCode()); result = prime * result + ((getBankName() == null) ? 0 : getBankName().hashCode()); result = prime * result + ((getBankAccount() == null) ? 0 : getBankAccount().hashCode()); result = prime * result + ((getBankHolder() == null) ? 0 : getBankHolder().hashCode()); result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getOperatorId() == null) ? 0 : getOperatorId().hashCode()); result = prime * result + ((getOperatorName() == null) ? 0 : getOperatorName().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().hashCode()); result = prime * result + ((getUpdateTime() == null) ? 0 : getUpdateTime().hashCode()); result = prime * result + ((getExt1() == null) ? 0 : getExt1().hashCode()); result = prime * result + ((getExt2() == null) ? 0 : getExt2().hashCode()); result = prime * result + ((getExt3() == null) ? 0 : getExt3().hashCode()); return result; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", id=").append(id); sb.append(", companyId=").append(companyId); sb.append(", merchantKey=").append(merchantKey); sb.append(", merchantName=").append(merchantName); sb.append(", merchantLogo=").append(merchantLogo); sb.append(", merchantDesc=").append(merchantDesc); sb.append(", telephone=").append(telephone); sb.append(", bankName=").append(bankName); sb.append(", bankAccount=").append(bankAccount); sb.append(", bankHolder=").append(bankHolder); sb.append(", address=").append(address); sb.append(", status=").append(status); sb.append(", operatorId=").append(operatorId); sb.append(", operatorName=").append(operatorName); sb.append(", createTime=").append(createTime); sb.append(", updateTime=").append(updateTime); sb.append(", ext1=").append(ext1); sb.append(", ext2=").append(ext2); sb.append(", ext3=").append(ext3); sb.append(", serialVersionUID=").append(serialVersionUID); sb.append("]"); return sb.toString(); } }