yujian
2020-06-09 554de444b87aab5f93cb1593a8095612cf9479a7
fanli/src/main/java/com/yeshi/fanli/entity/taobao/TaoBaoCoupon.java
@@ -2,142 +2,141 @@
import java.math.BigDecimal;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import org.yeshi.utils.mybatis.Column;
import org.yeshi.utils.mybatis.Table;
import com.google.gson.annotations.Expose;
@Table(name = "yeshi_ec_taobao_coupon")
@Entity
@Table("yeshi_ec_taobao_coupon")
public class TaoBaoCoupon {
   @Id
   @GeneratedValue(strategy = GenerationType.AUTO)
   @Column(name = "id")
   @Expose
   private long id;
   @Column(name = "id")
   private Long id;
   @Expose
   @Column(name = "auctionId")
   private String auctionId;
   @Column(name = "`title`")
   @Expose
   @Column(name = "title")
   private String title;
   @Expose
   @Column(name = "pictUrl")
   private String pictUrl;
   @Expose
   @Column(name = "auctionUrl")
   private String auctionUrl;
   @Column(name = "classNames")
   private String classNames; // 分类名称 多级分类/分开
   @Column(name = "`taobaokeUrl`", length = 1024)
   @Column(name = "taobaokeUrl")
   private String taobaokeUrl;
   @Expose
   @Column(name = "zkPrice")
   private BigDecimal zkPrice; // 无线价格
   @Expose
   private int biz30day;
   @Column(name = "biz30day")
   private Integer biz30day;
   @Expose
   private double tkRate; // 比例
   @Column(name = "tkRate")
   private Double tkRate; // 比例
   @Column(name = "brokerage")
   private BigDecimal brokerage; // 佣金
   @Column(name = "shopWangWang")
   private String shopWangWang; // 店铺旺旺
   private long sellerId;// 卖家Id
   @Column(name = "sellerId")
   private Long sellerId;// 卖家Id
   @Column(name = "shopTitle")
   private String shopTitle; // 店铺名称
   @Expose
   private int shopType; // 平台类型 1-淘宝 2-天猫 0-其他
   @Column(name = "shopType")
   private Integer shopType; // 平台类型 1-淘宝 2-天猫 0-其他
   @Column(name = "couponId")
   private String couponId; // 优惠券ID
   private int couponSum; // 优惠券总数
   private int couponCount; // 优惠券剩余量
   @Column(name = "couponSum")
   private Integer couponSum; // 优惠券总数
   @Column(name = "couponCount")
   private Integer couponCount; // 优惠券剩余量
   @Expose
   @Column(name = "couponinfo")
   private String couponinfo; // 优惠券信息
   @Column(name = "couponStartFee")
   private BigDecimal couponStartFee; // 优惠券起始金额
   @Column(name = "couponAmount")
   private BigDecimal couponAmount; // 优惠券金额
   @Expose
   @Column(name = "quanPrice")
   private BigDecimal quanPrice;
   @Column(name = "couponBegin")
   private String couponBegin;
   @Column(name = "couponEnd")
   private String couponEnd;
   @Column(name = "couponLink", length = 1024)
   @Column(name = "couponLink")
   private String couponLink;
   @Column(name = "generalizeUrl", length = 1024)
   @Column(name = "generalizeUrl")
   private String generalizeUrl; // 推广URl
   @Expose
   private int orderby;
   @Column(name = "orderby")
   private Integer orderby;
   @Expose
   private long createtime;
   @Column(name = "createtime")
   private Long createtime;
   @Expose
   @Column(name = "showType")
   private Integer showType;
   @Expose
   @Transient
   private BigDecimal hongbao;
   @Expose
   private int showType; //
   public TaoBaoCoupon() {
   }
   public TaoBaoCoupon() {}
   public TaoBaoCoupon(long id) {
      super();
      this.id = id;
   }
   public long getId() {
   public Long getId() {
      return id;
   }
   public void setId(long id) {
   public void setId(Long id) {
      this.id = id;
   }
   public int getShowType() {
      return showType;
   }
   public void setShowType(int showType) {
      this.showType = showType;
   }
   public BigDecimal getHongbao() {
      return hongbao;
   }
   public void setHongbao(BigDecimal hongbao) {
      this.hongbao = hongbao;
   }
   public BigDecimal getQuanPrice() {
      return quanPrice;
   }
   public void setQuanPrice(BigDecimal quanPrice) {
      this.quanPrice = quanPrice;
   }
   public String getAuctionId() {
      return auctionId;
   }
   public BigDecimal getCouponStartFee() {
      return couponStartFee;
   }
   public int getOrderby() {
      return orderby;
   }
   public void setOrderby(int orderby) {
      this.orderby = orderby;
   }
   public void setCouponStartFee(BigDecimal couponStartFee) {
      this.couponStartFee = couponStartFee;
   }
   public BigDecimal getCouponAmount() {
      return couponAmount;
   }
   public void setCouponAmount(BigDecimal couponAmount) {
      this.couponAmount = couponAmount;
   }
   public void setAuctionId(String auctionId) {
@@ -192,19 +191,19 @@
      this.zkPrice = zkPrice;
   }
   public int getBiz30day() {
   public Integer getBiz30day() {
      return biz30day;
   }
   public void setBiz30day(int biz30day) {
   public void setBiz30day(Integer biz30day) {
      this.biz30day = biz30day;
   }
   public double getTkRate() {
   public Double getTkRate() {
      return tkRate;
   }
   public void setTkRate(double tkRate) {
   public void setTkRate(Double tkRate) {
      this.tkRate = tkRate;
   }
@@ -224,11 +223,11 @@
      this.shopWangWang = shopWangWang;
   }
   public long getSellerId() {
   public Long getSellerId() {
      return sellerId;
   }
   public void setSellerId(long sellerId) {
   public void setSellerId(Long sellerId) {
      this.sellerId = sellerId;
   }
@@ -240,11 +239,11 @@
      this.shopTitle = shopTitle;
   }
   public int getShopType() {
   public Integer getShopType() {
      return shopType;
   }
   public void setShopType(int shopType) {
   public void setShopType(Integer shopType) {
      this.shopType = shopType;
   }
@@ -256,28 +255,20 @@
      this.couponId = couponId;
   }
   public int getCouponSum() {
   public Integer getCouponSum() {
      return couponSum;
   }
   public void setCouponSum(int couponSum) {
   public void setCouponSum(Integer couponSum) {
      this.couponSum = couponSum;
   }
   public int getCouponCount() {
   public Integer getCouponCount() {
      return couponCount;
   }
   public void setCouponCount(int couponCount) {
   public void setCouponCount(Integer couponCount) {
      this.couponCount = couponCount;
   }
   public long getCreatetime() {
      return createtime;
   }
   public void setCreatetime(long createtime) {
      this.createtime = createtime;
   }
   public String getCouponinfo() {
@@ -286,6 +277,30 @@
   public void setCouponinfo(String couponinfo) {
      this.couponinfo = couponinfo;
   }
   public BigDecimal getCouponStartFee() {
      return couponStartFee;
   }
   public void setCouponStartFee(BigDecimal couponStartFee) {
      this.couponStartFee = couponStartFee;
   }
   public BigDecimal getCouponAmount() {
      return couponAmount;
   }
   public void setCouponAmount(BigDecimal couponAmount) {
      this.couponAmount = couponAmount;
   }
   public BigDecimal getQuanPrice() {
      return quanPrice;
   }
   public void setQuanPrice(BigDecimal quanPrice) {
      this.quanPrice = quanPrice;
   }
   public String getCouponBegin() {
@@ -320,6 +335,38 @@
      this.generalizeUrl = generalizeUrl;
   }
   public Integer getOrderby() {
      return orderby;
   }
   public void setOrderby(Integer orderby) {
      this.orderby = orderby;
   }
   public Long getCreatetime() {
      return createtime;
   }
   public void setCreatetime(Long createtime) {
      this.createtime = createtime;
   }
   public Integer getShowType() {
      return showType;
   }
   public void setShowType(Integer showType) {
      this.showType = showType;
   }
   public BigDecimal getHongbao() {
      return hongbao;
   }
   public void setHongbao(BigDecimal hongbao) {
      this.hongbao = hongbao;
   }
   @Override
   public int hashCode() {
      final int prime = 31;