package com.hfkj.entity; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; /** * bs_trade_settle * @author */ /** * * 代码由工具生成 * **/ public class BsTradeSettle implements Serializable { /** * 主键 */ private Long id; /** * 公司id */ private Long companyId; /** * 代理商id */ private Long agentId; /** * 业务员id */ private Long salesmanId; /** * 业务员名称 */ private String salesmanName; /** * 商户id */ private Long merId; /** * 商户名称 */ private String merName; /** * 商户简称 */ private String merAbbreviate; /** * 商户号 */ private String merNo; /** * 门店id */ private Long storeId; /** * 门店名称 */ private String storeName; /** * 平台类型 1:拉卡拉 */ private Integer platformType; /** * 平台商户号 */ private String platformMerNo; /** * 平台流水号 */ private String platformTradeNo; /** * 平台对账单流水号 */ private String platformLogNo; /** * 支付模式: 微信:WECHAT 支付宝:ALIPAY 银联:UQRCODEPAY 【建行】龙支付:DRAGON */ private String payMode; /** * 商户交易流水 */ private String outTradeNo; /** * 账户端交易流水号 */ private String accTradeNo; /** * 交易类型 1:支付 2:交易退款 */ private Integer tradeType; /** * 交易金额 */ private BigDecimal tradeAmount; /** * 交易时间 */ private Date tradeTime; /** * 交易手续费 */ private BigDecimal shdFeeAmt; /** * 结算金额 */ private BigDecimal settleAmount; /** * 结算日期 */ private Date settleDate; /** * 费率 */ private BigDecimal feeRate; /** * 原商户交易流水 */ private String orgOutTradeNo; /** * 状态 0:删除 1:正常 */ private Integer status; /** * 创建时间 */ private Date createTime; 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 Long getAgentId() { return agentId; } public void setAgentId(Long agentId) { this.agentId = agentId; } public Long getSalesmanId() { return salesmanId; } public void setSalesmanId(Long salesmanId) { this.salesmanId = salesmanId; } public String getSalesmanName() { return salesmanName; } public void setSalesmanName(String salesmanName) { this.salesmanName = salesmanName; } public Long getMerId() { return merId; } public void setMerId(Long merId) { this.merId = merId; } public String getMerName() { return merName; } public void setMerName(String merName) { this.merName = merName; } public String getMerAbbreviate() { return merAbbreviate; } public void setMerAbbreviate(String merAbbreviate) { this.merAbbreviate = merAbbreviate; } public String getMerNo() { return merNo; } public void setMerNo(String merNo) { this.merNo = merNo; } public Long getStoreId() { return storeId; } public void setStoreId(Long storeId) { this.storeId = storeId; } public String getStoreName() { return storeName; } public void setStoreName(String storeName) { this.storeName = storeName; } public Integer getPlatformType() { return platformType; } public void setPlatformType(Integer platformType) { this.platformType = platformType; } public String getPlatformMerNo() { return platformMerNo; } public void setPlatformMerNo(String platformMerNo) { this.platformMerNo = platformMerNo; } public String getPlatformTradeNo() { return platformTradeNo; } public void setPlatformTradeNo(String platformTradeNo) { this.platformTradeNo = platformTradeNo; } public String getPlatformLogNo() { return platformLogNo; } public void setPlatformLogNo(String platformLogNo) { this.platformLogNo = platformLogNo; } public String getPayMode() { return payMode; } public void setPayMode(String payMode) { this.payMode = payMode; } public String getOutTradeNo() { return outTradeNo; } public void setOutTradeNo(String outTradeNo) { this.outTradeNo = outTradeNo; } public String getAccTradeNo() { return accTradeNo; } public void setAccTradeNo(String accTradeNo) { this.accTradeNo = accTradeNo; } public Integer getTradeType() { return tradeType; } public void setTradeType(Integer tradeType) { this.tradeType = tradeType; } public BigDecimal getTradeAmount() { return tradeAmount; } public void setTradeAmount(BigDecimal tradeAmount) { this.tradeAmount = tradeAmount; } public Date getTradeTime() { return tradeTime; } public void setTradeTime(Date tradeTime) { this.tradeTime = tradeTime; } public BigDecimal getShdFeeAmt() { return shdFeeAmt; } public void setShdFeeAmt(BigDecimal shdFeeAmt) { this.shdFeeAmt = shdFeeAmt; } public BigDecimal getSettleAmount() { return settleAmount; } public void setSettleAmount(BigDecimal settleAmount) { this.settleAmount = settleAmount; } public Date getSettleDate() { return settleDate; } public void setSettleDate(Date settleDate) { this.settleDate = settleDate; } public BigDecimal getFeeRate() { return feeRate; } public void setFeeRate(BigDecimal feeRate) { this.feeRate = feeRate; } public String getOrgOutTradeNo() { return orgOutTradeNo; } public void setOrgOutTradeNo(String orgOutTradeNo) { this.orgOutTradeNo = orgOutTradeNo; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } 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; } BsTradeSettle other = (BsTradeSettle) 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.getAgentId() == null ? other.getAgentId() == null : this.getAgentId().equals(other.getAgentId())) && (this.getSalesmanId() == null ? other.getSalesmanId() == null : this.getSalesmanId().equals(other.getSalesmanId())) && (this.getSalesmanName() == null ? other.getSalesmanName() == null : this.getSalesmanName().equals(other.getSalesmanName())) && (this.getMerId() == null ? other.getMerId() == null : this.getMerId().equals(other.getMerId())) && (this.getMerName() == null ? other.getMerName() == null : this.getMerName().equals(other.getMerName())) && (this.getMerAbbreviate() == null ? other.getMerAbbreviate() == null : this.getMerAbbreviate().equals(other.getMerAbbreviate())) && (this.getMerNo() == null ? other.getMerNo() == null : this.getMerNo().equals(other.getMerNo())) && (this.getStoreId() == null ? other.getStoreId() == null : this.getStoreId().equals(other.getStoreId())) && (this.getStoreName() == null ? other.getStoreName() == null : this.getStoreName().equals(other.getStoreName())) && (this.getPlatformType() == null ? other.getPlatformType() == null : this.getPlatformType().equals(other.getPlatformType())) && (this.getPlatformMerNo() == null ? other.getPlatformMerNo() == null : this.getPlatformMerNo().equals(other.getPlatformMerNo())) && (this.getPlatformTradeNo() == null ? other.getPlatformTradeNo() == null : this.getPlatformTradeNo().equals(other.getPlatformTradeNo())) && (this.getPlatformLogNo() == null ? other.getPlatformLogNo() == null : this.getPlatformLogNo().equals(other.getPlatformLogNo())) && (this.getPayMode() == null ? other.getPayMode() == null : this.getPayMode().equals(other.getPayMode())) && (this.getOutTradeNo() == null ? other.getOutTradeNo() == null : this.getOutTradeNo().equals(other.getOutTradeNo())) && (this.getAccTradeNo() == null ? other.getAccTradeNo() == null : this.getAccTradeNo().equals(other.getAccTradeNo())) && (this.getTradeType() == null ? other.getTradeType() == null : this.getTradeType().equals(other.getTradeType())) && (this.getTradeAmount() == null ? other.getTradeAmount() == null : this.getTradeAmount().equals(other.getTradeAmount())) && (this.getTradeTime() == null ? other.getTradeTime() == null : this.getTradeTime().equals(other.getTradeTime())) && (this.getShdFeeAmt() == null ? other.getShdFeeAmt() == null : this.getShdFeeAmt().equals(other.getShdFeeAmt())) && (this.getSettleAmount() == null ? other.getSettleAmount() == null : this.getSettleAmount().equals(other.getSettleAmount())) && (this.getSettleDate() == null ? other.getSettleDate() == null : this.getSettleDate().equals(other.getSettleDate())) && (this.getFeeRate() == null ? other.getFeeRate() == null : this.getFeeRate().equals(other.getFeeRate())) && (this.getOrgOutTradeNo() == null ? other.getOrgOutTradeNo() == null : this.getOrgOutTradeNo().equals(other.getOrgOutTradeNo())) && (this.getStatus() == null ? other.getStatus() == null : this.getStatus().equals(other.getStatus())) && (this.getCreateTime() == null ? other.getCreateTime() == null : this.getCreateTime().equals(other.getCreateTime())) && (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 + ((getAgentId() == null) ? 0 : getAgentId().hashCode()); result = prime * result + ((getSalesmanId() == null) ? 0 : getSalesmanId().hashCode()); result = prime * result + ((getSalesmanName() == null) ? 0 : getSalesmanName().hashCode()); result = prime * result + ((getMerId() == null) ? 0 : getMerId().hashCode()); result = prime * result + ((getMerName() == null) ? 0 : getMerName().hashCode()); result = prime * result + ((getMerAbbreviate() == null) ? 0 : getMerAbbreviate().hashCode()); result = prime * result + ((getMerNo() == null) ? 0 : getMerNo().hashCode()); result = prime * result + ((getStoreId() == null) ? 0 : getStoreId().hashCode()); result = prime * result + ((getStoreName() == null) ? 0 : getStoreName().hashCode()); result = prime * result + ((getPlatformType() == null) ? 0 : getPlatformType().hashCode()); result = prime * result + ((getPlatformMerNo() == null) ? 0 : getPlatformMerNo().hashCode()); result = prime * result + ((getPlatformTradeNo() == null) ? 0 : getPlatformTradeNo().hashCode()); result = prime * result + ((getPlatformLogNo() == null) ? 0 : getPlatformLogNo().hashCode()); result = prime * result + ((getPayMode() == null) ? 0 : getPayMode().hashCode()); result = prime * result + ((getOutTradeNo() == null) ? 0 : getOutTradeNo().hashCode()); result = prime * result + ((getAccTradeNo() == null) ? 0 : getAccTradeNo().hashCode()); result = prime * result + ((getTradeType() == null) ? 0 : getTradeType().hashCode()); result = prime * result + ((getTradeAmount() == null) ? 0 : getTradeAmount().hashCode()); result = prime * result + ((getTradeTime() == null) ? 0 : getTradeTime().hashCode()); result = prime * result + ((getShdFeeAmt() == null) ? 0 : getShdFeeAmt().hashCode()); result = prime * result + ((getSettleAmount() == null) ? 0 : getSettleAmount().hashCode()); result = prime * result + ((getSettleDate() == null) ? 0 : getSettleDate().hashCode()); result = prime * result + ((getFeeRate() == null) ? 0 : getFeeRate().hashCode()); result = prime * result + ((getOrgOutTradeNo() == null) ? 0 : getOrgOutTradeNo().hashCode()); result = prime * result + ((getStatus() == null) ? 0 : getStatus().hashCode()); result = prime * result + ((getCreateTime() == null) ? 0 : getCreateTime().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(", agentId=").append(agentId); sb.append(", salesmanId=").append(salesmanId); sb.append(", salesmanName=").append(salesmanName); sb.append(", merId=").append(merId); sb.append(", merName=").append(merName); sb.append(", merAbbreviate=").append(merAbbreviate); sb.append(", merNo=").append(merNo); sb.append(", storeId=").append(storeId); sb.append(", storeName=").append(storeName); sb.append(", platformType=").append(platformType); sb.append(", platformMerNo=").append(platformMerNo); sb.append(", platformTradeNo=").append(platformTradeNo); sb.append(", platformLogNo=").append(platformLogNo); sb.append(", payMode=").append(payMode); sb.append(", outTradeNo=").append(outTradeNo); sb.append(", accTradeNo=").append(accTradeNo); sb.append(", tradeType=").append(tradeType); sb.append(", tradeAmount=").append(tradeAmount); sb.append(", tradeTime=").append(tradeTime); sb.append(", shdFeeAmt=").append(shdFeeAmt); sb.append(", settleAmount=").append(settleAmount); sb.append(", settleDate=").append(settleDate); sb.append(", feeRate=").append(feeRate); sb.append(", orgOutTradeNo=").append(orgOutTradeNo); sb.append(", status=").append(status); sb.append(", createTime=").append(createTime); 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(); } }