package com.ishop.model.po; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.JsonIgnore; import com.walker.jdbc.BasePo; /** * 表名:EB_ORDER_DETAIL * * @author genrator */ @JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY) public class EbOrderDetail 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 Long productId = null; @JsonIgnore protected boolean isset_productId = false; private String productName = null; @JsonIgnore protected boolean isset_productName = false; private String image = null; @JsonIgnore protected boolean isset_image = false; private Integer attrValueId = null; @JsonIgnore protected boolean isset_attrValueId = false; private String sku = null; @JsonIgnore protected boolean isset_sku = false; private Double price = null; @JsonIgnore protected boolean isset_price = false; private Double vipPrice = null; @JsonIgnore protected boolean isset_vipPrice = false; private Double payPrice = null; @JsonIgnore protected boolean isset_payPrice = false; private Integer payNum = null; @JsonIgnore protected boolean isset_payNum = false; private Double weight = null; @JsonIgnore protected boolean isset_weight = false; private Double volume = null; @JsonIgnore protected boolean isset_volume = false; private Integer isReply = null; @JsonIgnore protected boolean isset_isReply = false; private Integer isReceipt = null; @JsonIgnore protected boolean isset_isReceipt = false; private Integer subBrokerageType = null; @JsonIgnore protected boolean isset_subBrokerageType = false; private Integer brokerage = null; @JsonIgnore protected boolean isset_brokerage = false; private Integer brokerageTwo = null; @JsonIgnore protected boolean isset_brokerageTwo = false; private Double freightFee = null; @JsonIgnore protected boolean isset_freightFee = 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 Integer gainIntegral = null; @JsonIgnore protected boolean isset_gainIntegral = false; private Integer productType = null; @JsonIgnore protected boolean isset_productType = false; private Double firstBrokerageFee = null; @JsonIgnore protected boolean isset_firstBrokerageFee = false; private Double secondBrokerageFee = null; @JsonIgnore protected boolean isset_secondBrokerageFee = false; private Integer deliveryNum = null; @JsonIgnore protected boolean isset_deliveryNum = false; private Integer applyRefundNum = null; @JsonIgnore protected boolean isset_applyRefundNum = false; private Integer refundNum = null; @JsonIgnore protected boolean isset_refundNum = false; private Double refundPrice = null; @JsonIgnore protected boolean isset_refundPrice = false; private Integer refundUseIntegral = null; @JsonIgnore protected boolean isset_refundUseIntegral = false; private Double refundIntegralPrice = null; @JsonIgnore protected boolean isset_refundIntegralPrice = false; private Integer refundGainIntegral = null; @JsonIgnore protected boolean isset_refundGainIntegral = false; private Double refundFirstBrokerageFee = null; @JsonIgnore protected boolean isset_refundFirstBrokerageFee = false; private Double refundSecondBrokerageFee = null; @JsonIgnore protected boolean isset_refundSecondBrokerageFee = false; private Long createTime = null; @JsonIgnore protected boolean isset_createTime = false; private Long updateTime = null; @JsonIgnore protected boolean isset_updateTime = false; /** * 默认构造函数 */ public EbOrderDetail() { } /** * 根据主键构造对象 */ public EbOrderDetail(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 Long getProductId() { return this.productId; } public void setProductId(Long productId) { this.productId = productId; this.isset_productId = true; } @JsonIgnore public boolean isEmptyProductId() { return this.productId == null; } public String getProductName() { return this.productName; } public void setProductName(String productName) { this.productName = productName; this.isset_productName = true; } @JsonIgnore public boolean isEmptyProductName() { return this.productName == null || this.productName.length() == 0; } public String getImage() { return this.image; } public void setImage(String image) { this.image = image; this.isset_image = true; } @JsonIgnore public boolean isEmptyImage() { return this.image == null || this.image.length() == 0; } public Integer getAttrValueId() { return this.attrValueId; } public void setAttrValueId(Integer attrValueId) { this.attrValueId = attrValueId; this.isset_attrValueId = true; } @JsonIgnore public boolean isEmptyAttrValueId() { return this.attrValueId == null; } public String getSku() { return this.sku; } public void setSku(String sku) { this.sku = sku; this.isset_sku = true; } @JsonIgnore public boolean isEmptySku() { return this.sku == null || this.sku.length() == 0; } public Double getPrice() { return this.price; } public void setPrice(Double price) { this.price = price; this.isset_price = true; } @JsonIgnore public boolean isEmptyPrice() { return this.price == null; } public Double getVipPrice() { return this.vipPrice; } public void setVipPrice(Double vipPrice) { this.vipPrice = vipPrice; this.isset_vipPrice = true; } @JsonIgnore public boolean isEmptyVipPrice() { return this.vipPrice == 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 Integer getPayNum() { return this.payNum; } public void setPayNum(Integer payNum) { this.payNum = payNum; this.isset_payNum = true; } @JsonIgnore public boolean isEmptyPayNum() { return this.payNum == null; } public Double getWeight() { return this.weight; } public void setWeight(Double weight) { this.weight = weight; this.isset_weight = true; } @JsonIgnore public boolean isEmptyWeight() { return this.weight == null; } public Double getVolume() { return this.volume; } public void setVolume(Double volume) { this.volume = volume; this.isset_volume = true; } @JsonIgnore public boolean isEmptyVolume() { return this.volume == null; } public Integer getIsReply() { return this.isReply; } public void setIsReply(Integer isReply) { this.isReply = isReply; this.isset_isReply = true; } @JsonIgnore public boolean isEmptyIsReply() { return this.isReply == null; } public Integer getIsReceipt() { return this.isReceipt; } public void setIsReceipt(Integer isReceipt) { this.isReceipt = isReceipt; this.isset_isReceipt = true; } @JsonIgnore public boolean isEmptyIsReceipt() { return this.isReceipt == null; } public Integer getSubBrokerageType() { return this.subBrokerageType; } public void setSubBrokerageType(Integer subBrokerageType) { this.subBrokerageType = subBrokerageType; this.isset_subBrokerageType = true; } @JsonIgnore public boolean isEmptySubBrokerageType() { return this.subBrokerageType == null; } public Integer getBrokerage() { return this.brokerage; } public void setBrokerage(Integer brokerage) { this.brokerage = brokerage; this.isset_brokerage = true; } @JsonIgnore public boolean isEmptyBrokerage() { return this.brokerage == null; } public Integer getBrokerageTwo() { return this.brokerageTwo; } public void setBrokerageTwo(Integer brokerageTwo) { this.brokerageTwo = brokerageTwo; this.isset_brokerageTwo = true; } @JsonIgnore public boolean isEmptyBrokerageTwo() { return this.brokerageTwo == null; } public Double getFreightFee() { return this.freightFee; } public void setFreightFee(Double freightFee) { this.freightFee = freightFee; this.isset_freightFee = true; } @JsonIgnore public boolean isEmptyFreightFee() { return this.freightFee == 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 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 Integer getProductType() { return this.productType; } public void setProductType(Integer productType) { this.productType = productType; this.isset_productType = true; } @JsonIgnore public boolean isEmptyProductType() { return this.productType == null; } public Double getFirstBrokerageFee() { return this.firstBrokerageFee; } public void setFirstBrokerageFee(Double firstBrokerageFee) { this.firstBrokerageFee = firstBrokerageFee; this.isset_firstBrokerageFee = true; } @JsonIgnore public boolean isEmptyFirstBrokerageFee() { return this.firstBrokerageFee == null; } public Double getSecondBrokerageFee() { return this.secondBrokerageFee; } public void setSecondBrokerageFee(Double secondBrokerageFee) { this.secondBrokerageFee = secondBrokerageFee; this.isset_secondBrokerageFee = true; } @JsonIgnore public boolean isEmptySecondBrokerageFee() { return this.secondBrokerageFee == null; } public Integer getDeliveryNum() { return this.deliveryNum; } public void setDeliveryNum(Integer deliveryNum) { this.deliveryNum = deliveryNum; this.isset_deliveryNum = true; } @JsonIgnore public boolean isEmptyDeliveryNum() { return this.deliveryNum == null; } public Integer getApplyRefundNum() { return this.applyRefundNum; } public void setApplyRefundNum(Integer applyRefundNum) { this.applyRefundNum = applyRefundNum; this.isset_applyRefundNum = true; } @JsonIgnore public boolean isEmptyApplyRefundNum() { return this.applyRefundNum == null; } public Integer getRefundNum() { return this.refundNum; } public void setRefundNum(Integer refundNum) { this.refundNum = refundNum; this.isset_refundNum = true; } @JsonIgnore public boolean isEmptyRefundNum() { return this.refundNum == null; } public Double getRefundPrice() { return this.refundPrice; } public void setRefundPrice(Double refundPrice) { this.refundPrice = refundPrice; this.isset_refundPrice = true; } @JsonIgnore public boolean isEmptyRefundPrice() { return this.refundPrice == null; } public Integer getRefundUseIntegral() { return this.refundUseIntegral; } public void setRefundUseIntegral(Integer refundUseIntegral) { this.refundUseIntegral = refundUseIntegral; this.isset_refundUseIntegral = true; } @JsonIgnore public boolean isEmptyRefundUseIntegral() { return this.refundUseIntegral == null; } public Double getRefundIntegralPrice() { return this.refundIntegralPrice; } public void setRefundIntegralPrice(Double refundIntegralPrice) { this.refundIntegralPrice = refundIntegralPrice; this.isset_refundIntegralPrice = true; } @JsonIgnore public boolean isEmptyRefundIntegralPrice() { return this.refundIntegralPrice == null; } public Integer getRefundGainIntegral() { return this.refundGainIntegral; } public void setRefundGainIntegral(Integer refundGainIntegral) { this.refundGainIntegral = refundGainIntegral; this.isset_refundGainIntegral = true; } @JsonIgnore public boolean isEmptyRefundGainIntegral() { return this.refundGainIntegral == null; } public Double getRefundFirstBrokerageFee() { return this.refundFirstBrokerageFee; } public void setRefundFirstBrokerageFee(Double refundFirstBrokerageFee) { this.refundFirstBrokerageFee = refundFirstBrokerageFee; this.isset_refundFirstBrokerageFee = true; } @JsonIgnore public boolean isEmptyRefundFirstBrokerageFee() { return this.refundFirstBrokerageFee == null; } public Double getRefundSecondBrokerageFee() { return this.refundSecondBrokerageFee; } public void setRefundSecondBrokerageFee(Double refundSecondBrokerageFee) { this.refundSecondBrokerageFee = refundSecondBrokerageFee; this.isset_refundSecondBrokerageFee = true; } @JsonIgnore public boolean isEmptyRefundSecondBrokerageFee() { return this.refundSecondBrokerageFee == 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("productId=").append(this.productId) .append("productName=").append(this.productName) .append("image=").append(this.image) .append("attrValueId=").append(this.attrValueId) .append("sku=").append(this.sku) .append("price=").append(this.price) .append("vipPrice=").append(this.vipPrice) .append("payPrice=").append(this.payPrice) .append("payNum=").append(this.payNum) .append("weight=").append(this.weight) .append("volume=").append(this.volume) .append("isReply=").append(this.isReply) .append("isReceipt=").append(this.isReceipt) .append("subBrokerageType=").append(this.subBrokerageType) .append("brokerage=").append(this.brokerage) .append("brokerageTwo=").append(this.brokerageTwo) .append("freightFee=").append(this.freightFee) .append("couponPrice=").append(this.couponPrice) .append("useIntegral=").append(this.useIntegral) .append("integralPrice=").append(this.integralPrice) .append("gainIntegral=").append(this.gainIntegral) .append("productType=").append(this.productType) .append("firstBrokerageFee=").append(this.firstBrokerageFee) .append("secondBrokerageFee=").append(this.secondBrokerageFee) .append("deliveryNum=").append(this.deliveryNum) .append("applyRefundNum=").append(this.applyRefundNum) .append("refundNum=").append(this.refundNum) .append("refundPrice=").append(this.refundPrice) .append("refundUseIntegral=").append(this.refundUseIntegral) .append("refundIntegralPrice=").append(this.refundIntegralPrice) .append("refundGainIntegral=").append(this.refundGainIntegral) .append("refundFirstBrokerageFee=").append(this.refundFirstBrokerageFee) .append("refundSecondBrokerageFee=").append(this.refundSecondBrokerageFee) .append("createTime=").append(this.createTime) .append("updateTime=").append(this.updateTime) .toString(); } /** * 克隆 */ public EbOrderDetail $clone() { EbOrderDetail eb_order_detail = new EbOrderDetail(); // 数据库名称 //eb_order_detail.setDatabaseName_(this.getDatabaseName_()); // 主键 if (this.isset_id) { eb_order_detail.setId(this.getId()); } // 普通属性 if (this.isset_orderNo) { eb_order_detail.setOrderNo(this.getOrderNo()); } if (this.isset_merId) { eb_order_detail.setMerId(this.getMerId()); } if (this.isset_uid) { eb_order_detail.setUid(this.getUid()); } if (this.isset_productId) { eb_order_detail.setProductId(this.getProductId()); } if (this.isset_productName) { eb_order_detail.setProductName(this.getProductName()); } if (this.isset_image) { eb_order_detail.setImage(this.getImage()); } if (this.isset_attrValueId) { eb_order_detail.setAttrValueId(this.getAttrValueId()); } if (this.isset_sku) { eb_order_detail.setSku(this.getSku()); } if (this.isset_price) { eb_order_detail.setPrice(this.getPrice()); } if (this.isset_vipPrice) { eb_order_detail.setVipPrice(this.getVipPrice()); } if (this.isset_payPrice) { eb_order_detail.setPayPrice(this.getPayPrice()); } if (this.isset_payNum) { eb_order_detail.setPayNum(this.getPayNum()); } if (this.isset_weight) { eb_order_detail.setWeight(this.getWeight()); } if (this.isset_volume) { eb_order_detail.setVolume(this.getVolume()); } if (this.isset_isReply) { eb_order_detail.setIsReply(this.getIsReply()); } if (this.isset_isReceipt) { eb_order_detail.setIsReceipt(this.getIsReceipt()); } if (this.isset_subBrokerageType) { eb_order_detail.setSubBrokerageType(this.getSubBrokerageType()); } if (this.isset_brokerage) { eb_order_detail.setBrokerage(this.getBrokerage()); } if (this.isset_brokerageTwo) { eb_order_detail.setBrokerageTwo(this.getBrokerageTwo()); } if (this.isset_freightFee) { eb_order_detail.setFreightFee(this.getFreightFee()); } if (this.isset_couponPrice) { eb_order_detail.setCouponPrice(this.getCouponPrice()); } if (this.isset_useIntegral) { eb_order_detail.setUseIntegral(this.getUseIntegral()); } if (this.isset_integralPrice) { eb_order_detail.setIntegralPrice(this.getIntegralPrice()); } if (this.isset_gainIntegral) { eb_order_detail.setGainIntegral(this.getGainIntegral()); } if (this.isset_productType) { eb_order_detail.setProductType(this.getProductType()); } if (this.isset_firstBrokerageFee) { eb_order_detail.setFirstBrokerageFee(this.getFirstBrokerageFee()); } if (this.isset_secondBrokerageFee) { eb_order_detail.setSecondBrokerageFee(this.getSecondBrokerageFee()); } if (this.isset_deliveryNum) { eb_order_detail.setDeliveryNum(this.getDeliveryNum()); } if (this.isset_applyRefundNum) { eb_order_detail.setApplyRefundNum(this.getApplyRefundNum()); } if (this.isset_refundNum) { eb_order_detail.setRefundNum(this.getRefundNum()); } if (this.isset_refundPrice) { eb_order_detail.setRefundPrice(this.getRefundPrice()); } if (this.isset_refundUseIntegral) { eb_order_detail.setRefundUseIntegral(this.getRefundUseIntegral()); } if (this.isset_refundIntegralPrice) { eb_order_detail.setRefundIntegralPrice(this.getRefundIntegralPrice()); } if (this.isset_refundGainIntegral) { eb_order_detail.setRefundGainIntegral(this.getRefundGainIntegral()); } if (this.isset_refundFirstBrokerageFee) { eb_order_detail.setRefundFirstBrokerageFee(this.getRefundFirstBrokerageFee()); } if (this.isset_refundSecondBrokerageFee) { eb_order_detail.setRefundSecondBrokerageFee(this.getRefundSecondBrokerageFee()); } if (this.isset_createTime) { eb_order_detail.setCreateTime(this.getCreateTime()); } if (this.isset_updateTime) { eb_order_detail.setUpdateTime(this.getUpdateTime()); } return eb_order_detail; } }