package com.hai.entity; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * tb_recharge_pay_order * @author */ /** * * 代码由工具生成 * **/ public class TbRechargePayOrder implements Serializable { private String rechargeid; private String phone; private String couno; private String status; private String distributorid; private Date validstartdate; private Date validenddate; private String distcoucount; private String coutypecode; private Date createtime; private String createuser; private Date modifytime; private String modifyuser; private BigDecimal prebalance; private BigDecimal postbalance; private String billversion; private String reconversion; private String promoterid; private String accessType; private String staticcheckcode; private String useShop; private static final long serialVersionUID = 1L; public String getRechargeid() { return rechargeid; } public void setRechargeid(String rechargeid) { this.rechargeid = rechargeid; } public String getPhone() { return phone; } public void setPhone(String phone) { this.phone = phone; } public String getCouno() { return couno; } public void setCouno(String couno) { this.couno = couno; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getDistributorid() { return distributorid; } public void setDistributorid(String distributorid) { this.distributorid = distributorid; } public Date getValidstartdate() { return validstartdate; } public void setValidstartdate(Date validstartdate) { this.validstartdate = validstartdate; } public Date getValidenddate() { return validenddate; } public void setValidenddate(Date validenddate) { this.validenddate = validenddate; } public String getDistcoucount() { return distcoucount; } public void setDistcoucount(String distcoucount) { this.distcoucount = distcoucount; } public String getCoutypecode() { return coutypecode; } public void setCoutypecode(String coutypecode) { this.coutypecode = coutypecode; } public Date getCreatetime() { return createtime; } public void setCreatetime(Date createtime) { this.createtime = createtime; } public String getCreateuser() { return createuser; } public void setCreateuser(String createuser) { this.createuser = createuser; } public Date getModifytime() { return modifytime; } public void setModifytime(Date modifytime) { this.modifytime = modifytime; } public String getModifyuser() { return modifyuser; } public void setModifyuser(String modifyuser) { this.modifyuser = modifyuser; } public BigDecimal getPrebalance() { return prebalance; } public void setPrebalance(BigDecimal prebalance) { this.prebalance = prebalance; } public BigDecimal getPostbalance() { return postbalance; } public void setPostbalance(BigDecimal postbalance) { this.postbalance = postbalance; } public String getBillversion() { return billversion; } public void setBillversion(String billversion) { this.billversion = billversion; } public String getReconversion() { return reconversion; } public void setReconversion(String reconversion) { this.reconversion = reconversion; } public String getPromoterid() { return promoterid; } public void setPromoterid(String promoterid) { this.promoterid = promoterid; } public String getAccessType() { return accessType; } public void setAccessType(String accessType) { this.accessType = accessType; } public String getStaticcheckcode() { return staticcheckcode; } public void setStaticcheckcode(String staticcheckcode) { this.staticcheckcode = staticcheckcode; } public String getUseShop() { return useShop; } public void setUseShop(String useShop) { this.useShop = useShop; } @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } TbRechargePayOrder other = (TbRechargePayOrder) that; return (this.getRechargeid() == null ? other.getRechargeid() == null : this.getRechargeid().equals(other.getRechargeid())) && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone())) && (this.getCouno() == null ? other.getCouno() == null : this.getCouno().equals(other.getCouno())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getDistributorid() == null ? other.getDistributorid() == null : this.getDistributorid().equals(other.getDistributorid())) && (this.getValidstartdate() == null ? other.getValidstartdate() == null : this.getValidstartdate().equals(other.getValidstartdate())) && (this.getValidenddate() == null ? other.getValidenddate() == null : this.getValidenddate().equals(other.getValidenddate())) && (this.getDistcoucount() == null ? other.getDistcoucount() == null : this.getDistcoucount().equals(other.getDistcoucount())) && (this.getCoutypecode() == null ? other.getCoutypecode() == null : this.getCoutypecode().equals(other.getCoutypecode())) && (this.getCreatetime() == null ? other.getCreatetime() == null : this.getCreatetime().equals(other.getCreatetime())) && (this.getCreateuser() == null ? other.getCreateuser() == null : this.getCreateuser().equals(other.getCreateuser())) && (this.getModifytime() == null ? other.getModifytime() == null : this.getModifytime().equals(other.getModifytime())) && (this.getModifyuser() == null ? other.getModifyuser() == null : this.getModifyuser().equals(other.getModifyuser())) && (this.getPrebalance() == null ? other.getPrebalance() == null : this.getPrebalance().equals(other.getPrebalance())) && (this.getPostbalance() == null ? other.getPostbalance() == null : this.getPostbalance().equals(other.getPostbalance())) && (this.getBillversion() == null ? other.getBillversion() == null : this.getBillversion().equals(other.getBillversion())) && (this.getReconversion() == null ? other.getReconversion() == null : this.getReconversion().equals(other.getReconversion())) && (this.getPromoterid() == null ? other.getPromoterid() == null : this.getPromoterid().equals(other.getPromoterid())) && (this.getAccessType() == null ? other.getAccessType() == null : this.getAccessType().equals(other.getAccessType())) && (this.getStaticcheckcode() == null ? other.getStaticcheckcode() == null : this.getStaticcheckcode().equals(other.getStaticcheckcode())) && (this.getUseShop() == null ? other.getUseShop() == null : this.getUseShop().equals(other.getUseShop())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getRechargeid() == null) ? 0 : getRechargeid().hashCode()); result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode()); result = prime * result + ((getCouno() == null) ? 0 : getCouno().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getDistributorid() == null) ? 0 : getDistributorid().hashCode()); result = prime * result + ((getValidstartdate() == null) ? 0 : getValidstartdate().hashCode()); result = prime * result + ((getValidenddate() == null) ? 0 : getValidenddate().hashCode()); result = prime * result + ((getDistcoucount() == null) ? 0 : getDistcoucount().hashCode()); result = prime * result + ((getCoutypecode() == null) ? 0 : getCoutypecode().hashCode()); result = prime * result + ((getCreatetime() == null) ? 0 : getCreatetime().hashCode()); result = prime * result + ((getCreateuser() == null) ? 0 : getCreateuser().hashCode()); result = prime * result + ((getModifytime() == null) ? 0 : getModifytime().hashCode()); result = prime * result + ((getModifyuser() == null) ? 0 : getModifyuser().hashCode()); result = prime * result + ((getPrebalance() == null) ? 0 : getPrebalance().hashCode()); result = prime * result + ((getPostbalance() == null) ? 0 : getPostbalance().hashCode()); result = prime * result + ((getBillversion() == null) ? 0 : getBillversion().hashCode()); result = prime * result + ((getReconversion() == null) ? 0 : getReconversion().hashCode()); result = prime * result + ((getPromoterid() == null) ? 0 : getPromoterid().hashCode()); result = prime * result + ((getAccessType() == null) ? 0 : getAccessType().hashCode()); result = prime * result + ((getStaticcheckcode() == null) ? 0 : getStaticcheckcode().hashCode()); result = prime * result + ((getUseShop() == null) ? 0 : getUseShop().hashCode()); return result; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", rechargeid=").append(rechargeid); sb.append(", phone=").append(phone); sb.append(", couno=").append(couno); sb.append(", status=").append(status); sb.append(", distributorid=").append(distributorid); sb.append(", validstartdate=").append(validstartdate); sb.append(", validenddate=").append(validenddate); sb.append(", distcoucount=").append(distcoucount); sb.append(", coutypecode=").append(coutypecode); sb.append(", createtime=").append(createtime); sb.append(", createuser=").append(createuser); sb.append(", modifytime=").append(modifytime); sb.append(", modifyuser=").append(modifyuser); sb.append(", prebalance=").append(prebalance); sb.append(", postbalance=").append(postbalance); sb.append(", billversion=").append(billversion); sb.append(", reconversion=").append(reconversion); sb.append(", promoterid=").append(promoterid); sb.append(", accessType=").append(accessType); sb.append(", staticcheckcode=").append(staticcheckcode); sb.append(", useShop=").append(useShop); sb.append(", serialVersionUID=").append(serialVersionUID); sb.append("]"); return sb.toString(); } }