package com.ishop.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:EB_MERCHANT_ORDER * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class EbMerchantOrder extends BasePo { // 序列化版本号 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 String realName = null; @JsonIgnore protected boolean isset_realName = false; private String userPhone = null; @JsonIgnore protected boolean isset_userPhone = false; private String userAddress = null; @JsonIgnore protected boolean isset_userAddress = 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 payPrice = null; @JsonIgnore protected boolean isset_payPrice = false; private Double payPostage = null; @JsonIgnore protected boolean isset_payPostage = false; private Integer useIntegral = null; @JsonIgnore protected boolean isset_useIntegral = false; private Double integralPrice = null; @JsonIgnore protected boolean isset_integralPrice = false; private Long couponId = null; @JsonIgnore protected boolean isset_couponId = false; private Double couponPrice = null; @JsonIgnore protected boolean isset_couponPrice = false; private String payType = null; @JsonIgnore protected boolean isset_payType = false; private String payChannel = null; @JsonIgnore protected boolean isset_payChannel = false; private Integer gainIntegral = null; @JsonIgnore protected boolean isset_gainIntegral = false; private String userRemark = null; @JsonIgnore protected boolean isset_userRemark = false; private String merchantRemark = null; @JsonIgnore protected boolean isset_merchantRemark = false; private Integer shippingType = null; @JsonIgnore protected boolean isset_shippingType = false; private Double firstBrokerage = null; @JsonIgnore protected boolean isset_firstBrokerage = false; private Double secondBrokerage = null; @JsonIgnore protected boolean isset_secondBrokerage = false; private Double commissionCharge = null; @JsonIgnore protected boolean isset_commissionCharge = false; private String verifyCode = null; @JsonIgnore protected boolean isset_verifyCode = false; private String deliveryType = null; @JsonIgnore protected boolean isset_deliveryType = false; private Integer isSplitDelivery = null; @JsonIgnore protected boolean isset_isSplitDelivery = false; private Long seckillId = null; @JsonIgnore protected boolean isset_seckillId = false; private Integer bargainUserId = null; @JsonIgnore protected boolean isset_bargainUserId = false; private Integer bargainId = null; @JsonIgnore protected boolean isset_bargainId = false; private Integer pinkId = null; @JsonIgnore protected boolean isset_pinkId = false; private Long combinationId = null; @JsonIgnore protected boolean isset_combinationId = false; private Long clerkId = null; @JsonIgnore protected boolean isset_clerkId = false; private Integer type = null; @JsonIgnore protected boolean isset_type = false; private Long createTime = null; @JsonIgnore protected boolean isset_createTime = false; private Long updateTime = null; @JsonIgnore protected boolean isset_updateTime = false; /** * 默认构造函数 */ public EbMerchantOrder() { } /** * 根据主键构造对象 */ public EbMerchantOrder(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 String getRealName() { return this.realName; } public void setRealName(String realName) { this.realName = realName; this.isset_realName = true; } @JsonIgnore public boolean isEmptyRealName() { return this.realName == null || this.realName.length() == 0; } public String getUserPhone() { return this.userPhone; } public void setUserPhone(String userPhone) { this.userPhone = userPhone; this.isset_userPhone = true; } @JsonIgnore public boolean isEmptyUserPhone() { return this.userPhone == null || this.userPhone.length() == 0; } public String getUserAddress() { return this.userAddress; } public void setUserAddress(String userAddress) { this.userAddress = userAddress; this.isset_userAddress = true; } @JsonIgnore public boolean isEmptyUserAddress() { return this.userAddress == null || this.userAddress.length() == 0; } 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 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 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 Long getCouponId() { return this.couponId; } public void setCouponId(Long couponId) { this.couponId = couponId; this.isset_couponId = true; } @JsonIgnore public boolean isEmptyCouponId() { return this.couponId == 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 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 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 getUserRemark() { return this.userRemark; } public void setUserRemark(String userRemark) { this.userRemark = userRemark; this.isset_userRemark = true; } @JsonIgnore public boolean isEmptyUserRemark() { return this.userRemark == null || this.userRemark.length() == 0; } public String getMerchantRemark() { return this.merchantRemark; } public void setMerchantRemark(String merchantRemark) { this.merchantRemark = merchantRemark; this.isset_merchantRemark = true; } @JsonIgnore public boolean isEmptyMerchantRemark() { return this.merchantRemark == null || this.merchantRemark.length() == 0; } public Integer getShippingType() { return this.shippingType; } public void setShippingType(Integer shippingType) { this.shippingType = shippingType; this.isset_shippingType = true; } @JsonIgnore public boolean isEmptyShippingType() { return this.shippingType == null; } public Double getFirstBrokerage() { return this.firstBrokerage; } public void setFirstBrokerage(Double firstBrokerage) { this.firstBrokerage = firstBrokerage; this.isset_firstBrokerage = true; } @JsonIgnore public boolean isEmptyFirstBrokerage() { return this.firstBrokerage == null; } public Double getSecondBrokerage() { return this.secondBrokerage; } public void setSecondBrokerage(Double secondBrokerage) { this.secondBrokerage = secondBrokerage; this.isset_secondBrokerage = true; } @JsonIgnore public boolean isEmptySecondBrokerage() { return this.secondBrokerage == null; } public Double getCommissionCharge() { return this.commissionCharge; } public void setCommissionCharge(Double commissionCharge) { this.commissionCharge = commissionCharge; this.isset_commissionCharge = true; } @JsonIgnore public boolean isEmptyCommissionCharge() { return this.commissionCharge == null; } public String getVerifyCode() { return this.verifyCode; } public void setVerifyCode(String verifyCode) { this.verifyCode = verifyCode; this.isset_verifyCode = true; } @JsonIgnore public boolean isEmptyVerifyCode() { return this.verifyCode == null || this.verifyCode.length() == 0; } public String getDeliveryType() { return this.deliveryType; } public void setDeliveryType(String deliveryType) { this.deliveryType = deliveryType; this.isset_deliveryType = true; } @JsonIgnore public boolean isEmptyDeliveryType() { return this.deliveryType == null || this.deliveryType.length() == 0; } public Integer getIsSplitDelivery() { return this.isSplitDelivery; } public void setIsSplitDelivery(Integer isSplitDelivery) { this.isSplitDelivery = isSplitDelivery; this.isset_isSplitDelivery = true; } @JsonIgnore public boolean isEmptyIsSplitDelivery() { return this.isSplitDelivery == null; } public Long getSeckillId() { return this.seckillId; } public void setSeckillId(Long seckillId) { this.seckillId = seckillId; this.isset_seckillId = true; } @JsonIgnore public boolean isEmptySeckillId() { return this.seckillId == null; } public Integer getBargainUserId() { return this.bargainUserId; } public void setBargainUserId(Integer bargainUserId) { this.bargainUserId = bargainUserId; this.isset_bargainUserId = true; } @JsonIgnore public boolean isEmptyBargainUserId() { return this.bargainUserId == null; } public Integer getBargainId() { return this.bargainId; } public void setBargainId(Integer bargainId) { this.bargainId = bargainId; this.isset_bargainId = true; } @JsonIgnore public boolean isEmptyBargainId() { return this.bargainId == null; } public Integer getPinkId() { return this.pinkId; } public void setPinkId(Integer pinkId) { this.pinkId = pinkId; this.isset_pinkId = true; } @JsonIgnore public boolean isEmptyPinkId() { return this.pinkId == null; } public Long getCombinationId() { return this.combinationId; } public void setCombinationId(Long combinationId) { this.combinationId = combinationId; this.isset_combinationId = true; } @JsonIgnore public boolean isEmptyCombinationId() { return this.combinationId == null; } public Long getClerkId() { return this.clerkId; } public void setClerkId(Long clerkId) { this.clerkId = clerkId; this.isset_clerkId = true; } @JsonIgnore public boolean isEmptyClerkId() { return this.clerkId == null; } 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 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("realName=").append(this.realName) .append("userPhone=").append(this.userPhone) .append("userAddress=").append(this.userAddress) .append("totalNum=").append(this.totalNum) .append("proTotalPrice=").append(this.proTotalPrice) .append("totalPostage=").append(this.totalPostage) .append("totalPrice=").append(this.totalPrice) .append("payPrice=").append(this.payPrice) .append("payPostage=").append(this.payPostage) .append("useIntegral=").append(this.useIntegral) .append("integralPrice=").append(this.integralPrice) .append("couponId=").append(this.couponId) .append("couponPrice=").append(this.couponPrice) .append("payType=").append(this.payType) .append("payChannel=").append(this.payChannel) .append("gainIntegral=").append(this.gainIntegral) .append("userRemark=").append(this.userRemark) .append("merchantRemark=").append(this.merchantRemark) .append("shippingType=").append(this.shippingType) .append("firstBrokerage=").append(this.firstBrokerage) .append("secondBrokerage=").append(this.secondBrokerage) .append("commissionCharge=").append(this.commissionCharge) .append("verifyCode=").append(this.verifyCode) .append("deliveryType=").append(this.deliveryType) .append("isSplitDelivery=").append(this.isSplitDelivery) .append("seckillId=").append(this.seckillId) .append("bargainUserId=").append(this.bargainUserId) .append("bargainId=").append(this.bargainId) .append("pinkId=").append(this.pinkId) .append("combinationId=").append(this.combinationId) .append("clerkId=").append(this.clerkId) .append("type=").append(this.type) .append("createTime=").append(this.createTime) .append("updateTime=").append(this.updateTime) .toString(); } /** * 克隆 */ public EbMerchantOrder $clone() { EbMerchantOrder eb_merchant_order = new EbMerchantOrder(); // 数据库名称 //eb_merchant_order.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { eb_merchant_order.setId(this.getId()); } // 普通属性 if (this.isset_orderNo) { eb_merchant_order.setOrderNo(this.getOrderNo()); } if (this.isset_merId) { eb_merchant_order.setMerId(this.getMerId()); } if (this.isset_uid) { eb_merchant_order.setUid(this.getUid()); } if (this.isset_realName) { eb_merchant_order.setRealName(this.getRealName()); } if (this.isset_userPhone) { eb_merchant_order.setUserPhone(this.getUserPhone()); } if (this.isset_userAddress) { eb_merchant_order.setUserAddress(this.getUserAddress()); } if (this.isset_totalNum) { eb_merchant_order.setTotalNum(this.getTotalNum()); } if (this.isset_proTotalPrice) { eb_merchant_order.setProTotalPrice(this.getProTotalPrice()); } if (this.isset_totalPostage) { eb_merchant_order.setTotalPostage(this.getTotalPostage()); } if (this.isset_totalPrice) { eb_merchant_order.setTotalPrice(this.getTotalPrice()); } if (this.isset_payPrice) { eb_merchant_order.setPayPrice(this.getPayPrice()); } if (this.isset_payPostage) { eb_merchant_order.setPayPostage(this.getPayPostage()); } if (this.isset_useIntegral) { eb_merchant_order.setUseIntegral(this.getUseIntegral()); } if (this.isset_integralPrice) { eb_merchant_order.setIntegralPrice(this.getIntegralPrice()); } if (this.isset_couponId) { eb_merchant_order.setCouponId(this.getCouponId()); } if (this.isset_couponPrice) { eb_merchant_order.setCouponPrice(this.getCouponPrice()); } if (this.isset_payType) { eb_merchant_order.setPayType(this.getPayType()); } if (this.isset_payChannel) { eb_merchant_order.setPayChannel(this.getPayChannel()); } if (this.isset_gainIntegral) { eb_merchant_order.setGainIntegral(this.getGainIntegral()); } if (this.isset_userRemark) { eb_merchant_order.setUserRemark(this.getUserRemark()); } if (this.isset_merchantRemark) { eb_merchant_order.setMerchantRemark(this.getMerchantRemark()); } if (this.isset_shippingType) { eb_merchant_order.setShippingType(this.getShippingType()); } if (this.isset_firstBrokerage) { eb_merchant_order.setFirstBrokerage(this.getFirstBrokerage()); } if (this.isset_secondBrokerage) { eb_merchant_order.setSecondBrokerage(this.getSecondBrokerage()); } if (this.isset_commissionCharge) { eb_merchant_order.setCommissionCharge(this.getCommissionCharge()); } if (this.isset_verifyCode) { eb_merchant_order.setVerifyCode(this.getVerifyCode()); } if (this.isset_deliveryType) { eb_merchant_order.setDeliveryType(this.getDeliveryType()); } if (this.isset_isSplitDelivery) { eb_merchant_order.setIsSplitDelivery(this.getIsSplitDelivery()); } if (this.isset_seckillId) { eb_merchant_order.setSeckillId(this.getSeckillId()); } if (this.isset_bargainUserId) { eb_merchant_order.setBargainUserId(this.getBargainUserId()); } if (this.isset_bargainId) { eb_merchant_order.setBargainId(this.getBargainId()); } if (this.isset_pinkId) { eb_merchant_order.setPinkId(this.getPinkId()); } if (this.isset_combinationId) { eb_merchant_order.setCombinationId(this.getCombinationId()); } if (this.isset_clerkId) { eb_merchant_order.setClerkId(this.getClerkId()); } if (this.isset_type) { eb_merchant_order.setType(this.getType()); } if (this.isset_createTime) { eb_merchant_order.setCreateTime(this.getCreateTime()); } if (this.isset_updateTime) { eb_merchant_order.setUpdateTime(this.getUpdateTime()); } return eb_merchant_order; } }