|
package com.ishop.model.po;
|
|
import com.fasterxml.jackson.annotation.JsonAutoDetect;
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
import com.walker.jdbc.BasePo;
|
|
/**
|
* 表名:EB_ORDER *
|
* @author genrator
|
*/
|
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
|
public class EbOrder extends BasePo<EbOrder> {
|
// 序列化版本号
|
private static final long serialVersionUID = 1L;
|
|
// 主键
|
private Long id = null;
|
@JsonIgnore
|
protected boolean isset_id = false;
|
|
// 属性列表
|
private String orderNo = null;
|
@JsonIgnore
|
protected boolean isset_orderNo = false;
|
|
private Integer merId = null;
|
@JsonIgnore
|
protected boolean isset_merId = false;
|
|
private Long uid = null;
|
@JsonIgnore
|
protected boolean isset_uid = false;
|
|
private Integer totalNum = null;
|
@JsonIgnore
|
protected boolean isset_totalNum = false;
|
|
private Double proTotalPrice = null;
|
@JsonIgnore
|
protected boolean isset_proTotalPrice = false;
|
|
private Double totalPostage = null;
|
@JsonIgnore
|
protected boolean isset_totalPostage = false;
|
|
private Double totalPrice = null;
|
@JsonIgnore
|
protected boolean isset_totalPrice = false;
|
|
private Double couponPrice = null;
|
@JsonIgnore
|
protected boolean isset_couponPrice = false;
|
|
private Integer useIntegral = null;
|
@JsonIgnore
|
protected boolean isset_useIntegral = false;
|
|
private Double integralPrice = null;
|
@JsonIgnore
|
protected boolean isset_integralPrice = false;
|
|
private Double payPrice = null;
|
@JsonIgnore
|
protected boolean isset_payPrice = false;
|
|
private Double payPostage = null;
|
@JsonIgnore
|
protected boolean isset_payPostage = false;
|
|
private Integer paid = null;
|
@JsonIgnore
|
protected boolean isset_paid = false;
|
|
private Long payTime = null;
|
@JsonIgnore
|
protected boolean isset_payTime = false;
|
|
private String payType = null;
|
@JsonIgnore
|
protected boolean isset_payType = false;
|
|
private String payChannel = null;
|
@JsonIgnore
|
protected boolean isset_payChannel = false;
|
|
private Integer status = null;
|
@JsonIgnore
|
protected boolean isset_status = false;
|
|
private Integer refundStatus = null;
|
@JsonIgnore
|
protected boolean isset_refundStatus = false;
|
|
private Integer cancelStatus = null;
|
@JsonIgnore
|
protected boolean isset_cancelStatus = false;
|
|
private Integer isUserDel = null;
|
@JsonIgnore
|
protected boolean isset_isUserDel = false;
|
|
private Integer isMerchantDel = null;
|
@JsonIgnore
|
protected boolean isset_isMerchantDel = false;
|
|
private Integer gainIntegral = null;
|
@JsonIgnore
|
protected boolean isset_gainIntegral = false;
|
|
private String outTradeNo = null;
|
@JsonIgnore
|
protected boolean isset_outTradeNo = false;
|
|
private String redirect = null;
|
@JsonIgnore
|
protected boolean isset_redirect = false;
|
|
private Integer type = null;
|
@JsonIgnore
|
protected boolean isset_type = false;
|
|
private Integer level = null;
|
@JsonIgnore
|
protected boolean isset_level = false;
|
|
private String platOrderNo = null;
|
@JsonIgnore
|
protected boolean isset_platOrderNo = false;
|
|
private Integer isDel = null;
|
@JsonIgnore
|
protected boolean isset_isDel = false;
|
|
private Long receivingTime = null;
|
@JsonIgnore
|
protected boolean isset_receivingTime = false;
|
|
private Long createTime = null;
|
@JsonIgnore
|
protected boolean isset_createTime = false;
|
|
private Long updateTime = null;
|
@JsonIgnore
|
protected boolean isset_updateTime = false;
|
|
/**
|
* 默认构造函数
|
*/
|
public EbOrder() {
|
}
|
|
/**
|
* 根据主键构造对象
|
*/
|
public EbOrder(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 getOrderNo() {
|
return this.orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
this.isset_orderNo = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyOrderNo() {
|
return this.orderNo == null || this.orderNo.length() == 0;
|
}
|
|
public Integer getMerId() {
|
return this.merId;
|
}
|
|
public void setMerId(Integer merId) {
|
this.merId = merId;
|
this.isset_merId = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyMerId() {
|
return this.merId == null;
|
}
|
|
public Long getUid() {
|
return this.uid;
|
}
|
|
public void setUid(Long uid) {
|
this.uid = uid;
|
this.isset_uid = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUid() {
|
return this.uid == null;
|
}
|
|
public Integer getTotalNum() {
|
return this.totalNum;
|
}
|
|
public void setTotalNum(Integer totalNum) {
|
this.totalNum = totalNum;
|
this.isset_totalNum = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTotalNum() {
|
return this.totalNum == null;
|
}
|
|
public Double getProTotalPrice() {
|
return this.proTotalPrice;
|
}
|
|
public void setProTotalPrice(Double proTotalPrice) {
|
this.proTotalPrice = proTotalPrice;
|
this.isset_proTotalPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyProTotalPrice() {
|
return this.proTotalPrice == null;
|
}
|
|
public Double getTotalPostage() {
|
return this.totalPostage;
|
}
|
|
public void setTotalPostage(Double totalPostage) {
|
this.totalPostage = totalPostage;
|
this.isset_totalPostage = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTotalPostage() {
|
return this.totalPostage == null;
|
}
|
|
public Double getTotalPrice() {
|
return this.totalPrice;
|
}
|
|
public void setTotalPrice(Double totalPrice) {
|
this.totalPrice = totalPrice;
|
this.isset_totalPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyTotalPrice() {
|
return this.totalPrice == null;
|
}
|
|
public Double getCouponPrice() {
|
return this.couponPrice;
|
}
|
|
public void setCouponPrice(Double couponPrice) {
|
this.couponPrice = couponPrice;
|
this.isset_couponPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCouponPrice() {
|
return this.couponPrice == null;
|
}
|
|
public Integer getUseIntegral() {
|
return this.useIntegral;
|
}
|
|
public void setUseIntegral(Integer useIntegral) {
|
this.useIntegral = useIntegral;
|
this.isset_useIntegral = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUseIntegral() {
|
return this.useIntegral == null;
|
}
|
|
public Double getIntegralPrice() {
|
return this.integralPrice;
|
}
|
|
public void setIntegralPrice(Double integralPrice) {
|
this.integralPrice = integralPrice;
|
this.isset_integralPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIntegralPrice() {
|
return this.integralPrice == null;
|
}
|
|
public Double getPayPrice() {
|
return this.payPrice;
|
}
|
|
public void setPayPrice(Double payPrice) {
|
this.payPrice = payPrice;
|
this.isset_payPrice = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPayPrice() {
|
return this.payPrice == null;
|
}
|
|
public Double getPayPostage() {
|
return this.payPostage;
|
}
|
|
public void setPayPostage(Double payPostage) {
|
this.payPostage = payPostage;
|
this.isset_payPostage = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPayPostage() {
|
return this.payPostage == null;
|
}
|
|
public Integer getPaid() {
|
return this.paid;
|
}
|
|
public void setPaid(Integer paid) {
|
this.paid = paid;
|
this.isset_paid = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPaid() {
|
return this.paid == null;
|
}
|
|
public Long getPayTime() {
|
return this.payTime;
|
}
|
|
public void setPayTime(Long payTime) {
|
this.payTime = payTime;
|
this.isset_payTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPayTime() {
|
return this.payTime == null;
|
}
|
|
public String getPayType() {
|
return this.payType;
|
}
|
|
public void setPayType(String payType) {
|
this.payType = payType;
|
this.isset_payType = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPayType() {
|
return this.payType == null || this.payType.length() == 0;
|
}
|
|
public String getPayChannel() {
|
return this.payChannel;
|
}
|
|
public void setPayChannel(String payChannel) {
|
this.payChannel = payChannel;
|
this.isset_payChannel = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPayChannel() {
|
return this.payChannel == null || this.payChannel.length() == 0;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
|
public void setStatus(Integer status) {
|
this.status = status;
|
this.isset_status = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyStatus() {
|
return this.status == null;
|
}
|
|
public Integer getRefundStatus() {
|
return this.refundStatus;
|
}
|
|
public void setRefundStatus(Integer refundStatus) {
|
this.refundStatus = refundStatus;
|
this.isset_refundStatus = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRefundStatus() {
|
return this.refundStatus == null;
|
}
|
|
public Integer getCancelStatus() {
|
return this.cancelStatus;
|
}
|
|
public void setCancelStatus(Integer cancelStatus) {
|
this.cancelStatus = cancelStatus;
|
this.isset_cancelStatus = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCancelStatus() {
|
return this.cancelStatus == null;
|
}
|
|
public Integer getIsUserDel() {
|
return this.isUserDel;
|
}
|
|
public void setIsUserDel(Integer isUserDel) {
|
this.isUserDel = isUserDel;
|
this.isset_isUserDel = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsUserDel() {
|
return this.isUserDel == null;
|
}
|
|
public Integer getIsMerchantDel() {
|
return this.isMerchantDel;
|
}
|
|
public void setIsMerchantDel(Integer isMerchantDel) {
|
this.isMerchantDel = isMerchantDel;
|
this.isset_isMerchantDel = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsMerchantDel() {
|
return this.isMerchantDel == null;
|
}
|
|
public Integer getGainIntegral() {
|
return this.gainIntegral;
|
}
|
|
public void setGainIntegral(Integer gainIntegral) {
|
this.gainIntegral = gainIntegral;
|
this.isset_gainIntegral = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyGainIntegral() {
|
return this.gainIntegral == null;
|
}
|
|
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 getRedirect() {
|
return this.redirect;
|
}
|
|
public void setRedirect(String redirect) {
|
this.redirect = redirect;
|
this.isset_redirect = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyRedirect() {
|
return this.redirect == null || this.redirect.length() == 0;
|
}
|
|
public Integer getType() {
|
return this.type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
this.isset_type = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyType() {
|
return this.type == null;
|
}
|
|
public Integer getLevel() {
|
return this.level;
|
}
|
|
public void setLevel(Integer level) {
|
this.level = level;
|
this.isset_level = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyLevel() {
|
return this.level == null;
|
}
|
|
public String getPlatOrderNo() {
|
return this.platOrderNo;
|
}
|
|
public void setPlatOrderNo(String platOrderNo) {
|
this.platOrderNo = platOrderNo;
|
this.isset_platOrderNo = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyPlatOrderNo() {
|
return this.platOrderNo == null || this.platOrderNo.length() == 0;
|
}
|
|
public Integer getIsDel() {
|
return this.isDel;
|
}
|
|
public void setIsDel(Integer isDel) {
|
this.isDel = isDel;
|
this.isset_isDel = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyIsDel() {
|
return this.isDel == null;
|
}
|
|
public Long getReceivingTime() {
|
return this.receivingTime;
|
}
|
|
public void setReceivingTime(Long receivingTime) {
|
this.receivingTime = receivingTime;
|
this.isset_receivingTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyReceivingTime() {
|
return this.receivingTime == null;
|
}
|
|
public Long getCreateTime() {
|
return this.createTime;
|
}
|
|
public void setCreateTime(Long createTime) {
|
this.createTime = createTime;
|
this.isset_createTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyCreateTime() {
|
return this.createTime == null;
|
}
|
|
public Long getUpdateTime() {
|
return this.updateTime;
|
}
|
|
public void setUpdateTime(Long updateTime) {
|
this.updateTime = updateTime;
|
this.isset_updateTime = true;
|
}
|
|
@JsonIgnore
|
public boolean isEmptyUpdateTime() {
|
return this.updateTime == null;
|
}
|
|
/**
|
* 重写 toString() 方法
|
*/
|
@Override
|
public String toString() {
|
return new StringBuilder()
|
.append("id=").append(this.id)
|
.append("orderNo=").append(this.orderNo)
|
.append("merId=").append(this.merId)
|
.append("uid=").append(this.uid)
|
.append("totalNum=").append(this.totalNum)
|
.append("proTotalPrice=").append(this.proTotalPrice)
|
.append("totalPostage=").append(this.totalPostage)
|
.append("totalPrice=").append(this.totalPrice)
|
.append("couponPrice=").append(this.couponPrice)
|
.append("useIntegral=").append(this.useIntegral)
|
.append("integralPrice=").append(this.integralPrice)
|
.append("payPrice=").append(this.payPrice)
|
.append("payPostage=").append(this.payPostage)
|
.append("paid=").append(this.paid)
|
.append("payTime=").append(this.payTime)
|
.append("payType=").append(this.payType)
|
.append("payChannel=").append(this.payChannel)
|
.append("status=").append(this.status)
|
.append("refundStatus=").append(this.refundStatus)
|
.append("cancelStatus=").append(this.cancelStatus)
|
.append("isUserDel=").append(this.isUserDel)
|
.append("isMerchantDel=").append(this.isMerchantDel)
|
.append("gainIntegral=").append(this.gainIntegral)
|
.append("outTradeNo=").append(this.outTradeNo)
|
.append("redirect=").append(this.redirect)
|
.append("type=").append(this.type)
|
.append("level=").append(this.level)
|
.append("platOrderNo=").append(this.platOrderNo)
|
.append("isDel=").append(this.isDel)
|
.append("receivingTime=").append(this.receivingTime)
|
.append("createTime=").append(this.createTime)
|
.append("updateTime=").append(this.updateTime)
|
.toString();
|
}
|
|
/**
|
* 克隆
|
*/
|
public EbOrder $clone() {
|
EbOrder eb_order = new EbOrder();
|
|
// 数据库名称
|
//eb_order.setDatabaseName_(this.getDatabaseName_());
|
|
// 主键
|
if (this.isset_id) {
|
eb_order.setId(this.getId());
|
}
|
// 普通属性
|
if (this.isset_orderNo) {
|
eb_order.setOrderNo(this.getOrderNo());
|
}
|
if (this.isset_merId) {
|
eb_order.setMerId(this.getMerId());
|
}
|
if (this.isset_uid) {
|
eb_order.setUid(this.getUid());
|
}
|
if (this.isset_totalNum) {
|
eb_order.setTotalNum(this.getTotalNum());
|
}
|
if (this.isset_proTotalPrice) {
|
eb_order.setProTotalPrice(this.getProTotalPrice());
|
}
|
if (this.isset_totalPostage) {
|
eb_order.setTotalPostage(this.getTotalPostage());
|
}
|
if (this.isset_totalPrice) {
|
eb_order.setTotalPrice(this.getTotalPrice());
|
}
|
if (this.isset_couponPrice) {
|
eb_order.setCouponPrice(this.getCouponPrice());
|
}
|
if (this.isset_useIntegral) {
|
eb_order.setUseIntegral(this.getUseIntegral());
|
}
|
if (this.isset_integralPrice) {
|
eb_order.setIntegralPrice(this.getIntegralPrice());
|
}
|
if (this.isset_payPrice) {
|
eb_order.setPayPrice(this.getPayPrice());
|
}
|
if (this.isset_payPostage) {
|
eb_order.setPayPostage(this.getPayPostage());
|
}
|
if (this.isset_paid) {
|
eb_order.setPaid(this.getPaid());
|
}
|
if (this.isset_payTime) {
|
eb_order.setPayTime(this.getPayTime());
|
}
|
if (this.isset_payType) {
|
eb_order.setPayType(this.getPayType());
|
}
|
if (this.isset_payChannel) {
|
eb_order.setPayChannel(this.getPayChannel());
|
}
|
if (this.isset_status) {
|
eb_order.setStatus(this.getStatus());
|
}
|
if (this.isset_refundStatus) {
|
eb_order.setRefundStatus(this.getRefundStatus());
|
}
|
if (this.isset_cancelStatus) {
|
eb_order.setCancelStatus(this.getCancelStatus());
|
}
|
if (this.isset_isUserDel) {
|
eb_order.setIsUserDel(this.getIsUserDel());
|
}
|
if (this.isset_isMerchantDel) {
|
eb_order.setIsMerchantDel(this.getIsMerchantDel());
|
}
|
if (this.isset_gainIntegral) {
|
eb_order.setGainIntegral(this.getGainIntegral());
|
}
|
if (this.isset_outTradeNo) {
|
eb_order.setOutTradeNo(this.getOutTradeNo());
|
}
|
if (this.isset_redirect) {
|
eb_order.setRedirect(this.getRedirect());
|
}
|
if (this.isset_type) {
|
eb_order.setType(this.getType());
|
}
|
if (this.isset_level) {
|
eb_order.setLevel(this.getLevel());
|
}
|
if (this.isset_platOrderNo) {
|
eb_order.setPlatOrderNo(this.getPlatOrderNo());
|
}
|
if (this.isset_isDel) {
|
eb_order.setIsDel(this.getIsDel());
|
}
|
if (this.isset_receivingTime) {
|
eb_order.setReceivingTime(this.getReceivingTime());
|
}
|
if (this.isset_createTime) {
|
eb_order.setCreateTime(this.getCreateTime());
|
}
|
if (this.isset_updateTime) {
|
eb_order.setUpdateTime(this.getUpdateTime());
|
}
|
return eb_order;
|
}
|
}
|