|
package com.ishop.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:EB_WECHAT_PAY_INFO *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class EbWechatPayInfo extends BasePo<EbWechatPayInfo> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private String appId = null;
|
@JsonIgnore
|
protected boolean isset_appId = false;
|
|
private String mchId = null;
|
@JsonIgnore
|
protected boolean isset_mchId = false;
|
|
private String deviceInfo = null;
|
@JsonIgnore
|
protected boolean isset_deviceInfo = false;
|
|
private String openId = null;
|
@JsonIgnore
|
protected boolean isset_openId = false;
|
|
private String nonceStr = null;
|
@JsonIgnore
|
protected boolean isset_nonceStr = false;
|
|
private String sign = null;
|
@JsonIgnore
|
protected boolean isset_sign = false;
|
|
private String signType = null;
|
@JsonIgnore
|
protected boolean isset_signType = false;
|
|
private String body = null;
|
@JsonIgnore
|
protected boolean isset_body = false;
|
|
private String detail = null;
|
@JsonIgnore
|
protected boolean isset_detail = false;
|
|
private String attach = null;
|
@JsonIgnore
|
protected boolean isset_attach = false;
|
|
private String outTradeNo = null;
|
@JsonIgnore
|
protected boolean isset_outTradeNo = false;
|
|
private String feeType = null;
|
@JsonIgnore
|
protected boolean isset_feeType = false;
|
|
private Integer totalFee = null;
|
@JsonIgnore
|
protected boolean isset_totalFee = false;
|
|
private String spbillCreateIp = null;
|
@JsonIgnore
|
protected boolean isset_spbillCreateIp = false;
|
|
private String timeStart = null;
|
@JsonIgnore
|
protected boolean isset_timeStart = false;
|
|
private String timeExpire = null;
|
@JsonIgnore
|
protected boolean isset_timeExpire = false;
|
|
private String notifyUrl = null;
|
@JsonIgnore
|
protected boolean isset_notifyUrl = false;
|
|
private String tradeType = null;
|
@JsonIgnore
|
protected boolean isset_tradeType = false;
|
|
private String productId = null;
|
@JsonIgnore
|
protected boolean isset_productId = false;
|
|
private String sceneInfo = null;
|
@JsonIgnore
|
protected boolean isset_sceneInfo = false;
|
|
private String errCode = null;
|
@JsonIgnore
|
protected boolean isset_errCode = false;
|
|
private String prepayId = null;
|
@JsonIgnore
|
protected boolean isset_prepayId = false;
|
|
private String codeUrl = null;
|
@JsonIgnore
|
protected boolean isset_codeUrl = false;
|
|
private String isSubscribe = null;
|
@JsonIgnore
|
protected boolean isset_isSubscribe = false;
|
|
private String tradeState = null;
|
@JsonIgnore
|
protected boolean isset_tradeState = false;
|
|
private String bankType = null;
|
@JsonIgnore
|
protected boolean isset_bankType = false;
|
|
private Integer cashFee = null;
|
@JsonIgnore
|
protected boolean isset_cashFee = false;
|
|
private Integer couponFee = null;
|
@JsonIgnore
|
protected boolean isset_couponFee = false;
|
|
private String transactionId = null;
|
@JsonIgnore
|
protected boolean isset_transactionId = false;
|
|
private String timeEnd = null;
|
@JsonIgnore
|
protected boolean isset_timeEnd = false;
|
|
private String tradeStateDesc = null;
|
@JsonIgnore
|
protected boolean isset_tradeStateDesc = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public EbWechatPayInfo() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public EbWechatPayInfo(Long id) {
|
this.setId(id);
|
}
|
|
/**
|
* 设置主键值
|
*/
|
@Override
|
public void setPkValue(Object value) {
|
this.setId((Long) value);
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
this.isset_id = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyId() {
|
return this.id == null;
|
}
|
|
public String getAppId() {
|
return this.appId;
|
}
|
|
public void setAppId(String appId) {
|
this.appId = appId;
|
this.isset_appId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAppId() {
|
return this.appId == null || this.appId.length() == 0;
|
}
|
|
public String getMchId() {
|
return this.mchId;
|
}
|
|
public void setMchId(String mchId) {
|
this.mchId = mchId;
|
this.isset_mchId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMchId() {
|
return this.mchId == null || this.mchId.length() == 0;
|
}
|
|
public String getDeviceInfo() {
|
return this.deviceInfo;
|
}
|
|
public void setDeviceInfo(String deviceInfo) {
|
this.deviceInfo = deviceInfo;
|
this.isset_deviceInfo = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDeviceInfo() {
|
return this.deviceInfo == null || this.deviceInfo.length() == 0;
|
}
|
|
public String getOpenId() {
|
return this.openId;
|
}
|
|
public void setOpenId(String openId) {
|
this.openId = openId;
|
this.isset_openId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOpenId() {
|
return this.openId == null || this.openId.length() == 0;
|
}
|
|
public String getNonceStr() {
|
return this.nonceStr;
|
}
|
|
public void setNonceStr(String nonceStr) {
|
this.nonceStr = nonceStr;
|
this.isset_nonceStr = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyNonceStr() {
|
return this.nonceStr == null || this.nonceStr.length() == 0;
|
}
|
|
public String getSign() {
|
return this.sign;
|
}
|
|
public void setSign(String sign) {
|
this.sign = sign;
|
this.isset_sign = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySign() {
|
return this.sign == null || this.sign.length() == 0;
|
}
|
|
public String getSignType() {
|
return this.signType;
|
}
|
|
public void setSignType(String signType) {
|
this.signType = signType;
|
this.isset_signType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySignType() {
|
return this.signType == null || this.signType.length() == 0;
|
}
|
|
public String getBody() {
|
return this.body;
|
}
|
|
public void setBody(String body) {
|
this.body = body;
|
this.isset_body = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBody() {
|
return this.body == null || this.body.length() == 0;
|
}
|
|
public String getDetail() {
|
return this.detail;
|
}
|
|
public void setDetail(String detail) {
|
this.detail = detail;
|
this.isset_detail = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyDetail() {
|
return this.detail == null || this.detail.length() == 0;
|
}
|
|
public String getAttach() {
|
return this.attach;
|
}
|
|
public void setAttach(String attach) {
|
this.attach = attach;
|
this.isset_attach = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyAttach() {
|
return this.attach == null || this.attach.length() == 0;
|
}
|
|
public String getOutTradeNo() {
|
return this.outTradeNo;
|
}
|
|
public void setOutTradeNo(String outTradeNo) {
|
this.outTradeNo = outTradeNo;
|
this.isset_outTradeNo = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOutTradeNo() {
|
return this.outTradeNo == null || this.outTradeNo.length() == 0;
|
}
|
|
public String getFeeType() {
|
return this.feeType;
|
}
|
|
public void setFeeType(String feeType) {
|
this.feeType = feeType;
|
this.isset_feeType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyFeeType() {
|
return this.feeType == null || this.feeType.length() == 0;
|
}
|
|
public Integer getTotalFee() {
|
return this.totalFee;
|
}
|
|
public void setTotalFee(Integer totalFee) {
|
this.totalFee = totalFee;
|
this.isset_totalFee = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTotalFee() {
|
return this.totalFee == null;
|
}
|
|
public String getSpbillCreateIp() {
|
return this.spbillCreateIp;
|
}
|
|
public void setSpbillCreateIp(String spbillCreateIp) {
|
this.spbillCreateIp = spbillCreateIp;
|
this.isset_spbillCreateIp = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySpbillCreateIp() {
|
return this.spbillCreateIp == null || this.spbillCreateIp.length() == 0;
|
}
|
|
public String getTimeStart() {
|
return this.timeStart;
|
}
|
|
public void setTimeStart(String timeStart) {
|
this.timeStart = timeStart;
|
this.isset_timeStart = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTimeStart() {
|
return this.timeStart == null || this.timeStart.length() == 0;
|
}
|
|
public String getTimeExpire() {
|
return this.timeExpire;
|
}
|
|
public void setTimeExpire(String timeExpire) {
|
this.timeExpire = timeExpire;
|
this.isset_timeExpire = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTimeExpire() {
|
return this.timeExpire == null || this.timeExpire.length() == 0;
|
}
|
|
public String getNotifyUrl() {
|
return this.notifyUrl;
|
}
|
|
public void setNotifyUrl(String notifyUrl) {
|
this.notifyUrl = notifyUrl;
|
this.isset_notifyUrl = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyNotifyUrl() {
|
return this.notifyUrl == null || this.notifyUrl.length() == 0;
|
}
|
|
public String getTradeType() {
|
return this.tradeType;
|
}
|
|
public void setTradeType(String tradeType) {
|
this.tradeType = tradeType;
|
this.isset_tradeType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTradeType() {
|
return this.tradeType == null || this.tradeType.length() == 0;
|
}
|
|
public String getProductId() {
|
return this.productId;
|
}
|
|
public void setProductId(String productId) {
|
this.productId = productId;
|
this.isset_productId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProductId() {
|
return this.productId == null || this.productId.length() == 0;
|
}
|
|
public String getSceneInfo() {
|
return this.sceneInfo;
|
}
|
|
public void setSceneInfo(String sceneInfo) {
|
this.sceneInfo = sceneInfo;
|
this.isset_sceneInfo = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptySceneInfo() {
|
return this.sceneInfo == null || this.sceneInfo.length() == 0;
|
}
|
|
public String getErrCode() {
|
return this.errCode;
|
}
|
|
public void setErrCode(String errCode) {
|
this.errCode = errCode;
|
this.isset_errCode = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyErrCode() {
|
return this.errCode == null || this.errCode.length() == 0;
|
}
|
|
public String getPrepayId() {
|
return this.prepayId;
|
}
|
|
public void setPrepayId(String prepayId) {
|
this.prepayId = prepayId;
|
this.isset_prepayId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPrepayId() {
|
return this.prepayId == null || this.prepayId.length() == 0;
|
}
|
|
public String getCodeUrl() {
|
return this.codeUrl;
|
}
|
|
public void setCodeUrl(String codeUrl) {
|
this.codeUrl = codeUrl;
|
this.isset_codeUrl = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCodeUrl() {
|
return this.codeUrl == null || this.codeUrl.length() == 0;
|
}
|
|
public String getIsSubscribe() {
|
return this.isSubscribe;
|
}
|
|
public void setIsSubscribe(String isSubscribe) {
|
this.isSubscribe = isSubscribe;
|
this.isset_isSubscribe = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsSubscribe() {
|
return this.isSubscribe == null || this.isSubscribe.length() == 0;
|
}
|
|
public String getTradeState() {
|
return this.tradeState;
|
}
|
|
public void setTradeState(String tradeState) {
|
this.tradeState = tradeState;
|
this.isset_tradeState = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTradeState() {
|
return this.tradeState == null || this.tradeState.length() == 0;
|
}
|
|
public String getBankType() {
|
return this.bankType;
|
}
|
|
public void setBankType(String bankType) {
|
this.bankType = bankType;
|
this.isset_bankType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyBankType() {
|
return this.bankType == null || this.bankType.length() == 0;
|
}
|
|
public Integer getCashFee() {
|
return this.cashFee;
|
}
|
|
public void setCashFee(Integer cashFee) {
|
this.cashFee = cashFee;
|
this.isset_cashFee = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCashFee() {
|
return this.cashFee == null;
|
}
|
|
public Integer getCouponFee() {
|
return this.couponFee;
|
}
|
|
public void setCouponFee(Integer couponFee) {
|
this.couponFee = couponFee;
|
this.isset_couponFee = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCouponFee() {
|
return this.couponFee == null;
|
}
|
|
public String getTransactionId() {
|
return this.transactionId;
|
}
|
|
public void setTransactionId(String transactionId) {
|
this.transactionId = transactionId;
|
this.isset_transactionId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTransactionId() {
|
return this.transactionId == null || this.transactionId.length() == 0;
|
}
|
|
public String getTimeEnd() {
|
return this.timeEnd;
|
}
|
|
public void setTimeEnd(String timeEnd) {
|
this.timeEnd = timeEnd;
|
this.isset_timeEnd = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTimeEnd() {
|
return this.timeEnd == null || this.timeEnd.length() == 0;
|
}
|
|
public String getTradeStateDesc() {
|
return this.tradeStateDesc;
|
}
|
|
public void setTradeStateDesc(String tradeStateDesc) {
|
this.tradeStateDesc = tradeStateDesc;
|
this.isset_tradeStateDesc = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTradeStateDesc() {
|
return this.tradeStateDesc == null || this.tradeStateDesc.length() == 0;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("appId=").append(this.appId)
|
.append("mchId=").append(this.mchId)
|
.append("deviceInfo=").append(this.deviceInfo)
|
.append("openId=").append(this.openId)
|
.append("nonceStr=").append(this.nonceStr)
|
.append("sign=").append(this.sign)
|
.append("signType=").append(this.signType)
|
.append("body=").append(this.body)
|
.append("detail=").append(this.detail)
|
.append("attach=").append(this.attach)
|
.append("outTradeNo=").append(this.outTradeNo)
|
.append("feeType=").append(this.feeType)
|
.append("totalFee=").append(this.totalFee)
|
.append("spbillCreateIp=").append(this.spbillCreateIp)
|
.append("timeStart=").append(this.timeStart)
|
.append("timeExpire=").append(this.timeExpire)
|
.append("notifyUrl=").append(this.notifyUrl)
|
.append("tradeType=").append(this.tradeType)
|
.append("productId=").append(this.productId)
|
.append("sceneInfo=").append(this.sceneInfo)
|
.append("errCode=").append(this.errCode)
|
.append("prepayId=").append(this.prepayId)
|
.append("codeUrl=").append(this.codeUrl)
|
.append("isSubscribe=").append(this.isSubscribe)
|
.append("tradeState=").append(this.tradeState)
|
.append("bankType=").append(this.bankType)
|
.append("cashFee=").append(this.cashFee)
|
.append("couponFee=").append(this.couponFee)
|
.append("transactionId=").append(this.transactionId)
|
.append("timeEnd=").append(this.timeEnd)
|
.append("tradeStateDesc=").append(this.tradeStateDesc)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public EbWechatPayInfo $clone() {
|
EbWechatPayInfo eb_wechat_pay_info = new EbWechatPayInfo();
|
|
// 数据库名称
|
//eb_wechat_pay_info.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
eb_wechat_pay_info.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_appId) {
|
eb_wechat_pay_info.setAppId(this.getAppId());
|
}
|
if (this.isset_mchId) {
|
eb_wechat_pay_info.setMchId(this.getMchId());
|
}
|
if (this.isset_deviceInfo) {
|
eb_wechat_pay_info.setDeviceInfo(this.getDeviceInfo());
|
}
|
if (this.isset_openId) {
|
eb_wechat_pay_info.setOpenId(this.getOpenId());
|
}
|
if (this.isset_nonceStr) {
|
eb_wechat_pay_info.setNonceStr(this.getNonceStr());
|
}
|
if (this.isset_sign) {
|
eb_wechat_pay_info.setSign(this.getSign());
|
}
|
if (this.isset_signType) {
|
eb_wechat_pay_info.setSignType(this.getSignType());
|
}
|
if (this.isset_body) {
|
eb_wechat_pay_info.setBody(this.getBody());
|
}
|
if (this.isset_detail) {
|
eb_wechat_pay_info.setDetail(this.getDetail());
|
}
|
if (this.isset_attach) {
|
eb_wechat_pay_info.setAttach(this.getAttach());
|
}
|
if (this.isset_outTradeNo) {
|
eb_wechat_pay_info.setOutTradeNo(this.getOutTradeNo());
|
}
|
if (this.isset_feeType) {
|
eb_wechat_pay_info.setFeeType(this.getFeeType());
|
}
|
if (this.isset_totalFee) {
|
eb_wechat_pay_info.setTotalFee(this.getTotalFee());
|
}
|
if (this.isset_spbillCreateIp) {
|
eb_wechat_pay_info.setSpbillCreateIp(this.getSpbillCreateIp());
|
}
|
if (this.isset_timeStart) {
|
eb_wechat_pay_info.setTimeStart(this.getTimeStart());
|
}
|
if (this.isset_timeExpire) {
|
eb_wechat_pay_info.setTimeExpire(this.getTimeExpire());
|
}
|
if (this.isset_notifyUrl) {
|
eb_wechat_pay_info.setNotifyUrl(this.getNotifyUrl());
|
}
|
if (this.isset_tradeType) {
|
eb_wechat_pay_info.setTradeType(this.getTradeType());
|
}
|
if (this.isset_productId) {
|
eb_wechat_pay_info.setProductId(this.getProductId());
|
}
|
if (this.isset_sceneInfo) {
|
eb_wechat_pay_info.setSceneInfo(this.getSceneInfo());
|
}
|
if (this.isset_errCode) {
|
eb_wechat_pay_info.setErrCode(this.getErrCode());
|
}
|
if (this.isset_prepayId) {
|
eb_wechat_pay_info.setPrepayId(this.getPrepayId());
|
}
|
if (this.isset_codeUrl) {
|
eb_wechat_pay_info.setCodeUrl(this.getCodeUrl());
|
}
|
if (this.isset_isSubscribe) {
|
eb_wechat_pay_info.setIsSubscribe(this.getIsSubscribe());
|
}
|
if (this.isset_tradeState) {
|
eb_wechat_pay_info.setTradeState(this.getTradeState());
|
}
|
if (this.isset_bankType) {
|
eb_wechat_pay_info.setBankType(this.getBankType());
|
}
|
if (this.isset_cashFee) {
|
eb_wechat_pay_info.setCashFee(this.getCashFee());
|
}
|
if (this.isset_couponFee) {
|
eb_wechat_pay_info.setCouponFee(this.getCouponFee());
|
}
|
if (this.isset_transactionId) {
|
eb_wechat_pay_info.setTransactionId(this.getTransactionId());
|
}
|
if (this.isset_timeEnd) {
|
eb_wechat_pay_info.setTimeEnd(this.getTimeEnd());
|
}
|
if (this.isset_tradeStateDesc) {
|
eb_wechat_pay_info.setTradeStateDesc(this.getTradeStateDesc());
|
}
|
return eb_wechat_pay_info;
|
}
|
}
|