yujian
2020-05-09 7e7db2fa55a9a3af46d4fd8ede0dee147f101d64
fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrderGoods.java
@@ -23,10 +23,10 @@
   private static final long serialVersionUID = 1L;
   // 淘宝
   public final static int TYPE_TAOBAO = 1;
   // 京东
   public final static int TYPE_JINGDONG = 2;
   public final static String TYPE_TAOBAO = "TB";
   // 天猫
   public final static String TYPE_TMALL = "TM";
   @Column(name = "cog_id")
   private Long id;
@@ -34,6 +34,10 @@
   @Expose
   @Column(name = "cog_goods_id")
   private String goodsId;
   // 商品的类型
   @Column(name = "cog_goods_type")
   private Integer goodsType;// 等同于CommonOrder的sourceType
   // 标题(变化时新建)
   @Expose
@@ -50,16 +54,20 @@
   @Column(name = "cog_price")
   private BigDecimal price;
   //实际价格
   @Column(name = "cog_actual_price")
   private BigDecimal actualPrice;
   // 店铺id
   @Expose
   @Column(name = "cog_shop_id")
   private Long shopId;
   // 店铺名称
   @Expose
   @Column(name = "cog_shop_name")
   private String shopName;
   // 店铺的类型
   @Expose
   @Column(name = "cog_shop_type")
@@ -73,20 +81,23 @@
   // 创建时间
   @Column(name = "cog_create_time")
   private Date createTime;
   // 更新时间
   @Column(name = "cog_update_time")
   private Date updateTime;
   public CommonOrderGoods(){
   // 分类
   private String category1;
   private String category2;
   private String category3;
   public CommonOrderGoods() {
   }
   public CommonOrderGoods(Long id){
   public CommonOrderGoods(Long id) {
      this.id = id;
   }
   public Long getId() {
      return id;
@@ -94,6 +105,14 @@
   public void setId(Long id) {
      this.id = id;
   }
   public Integer getGoodsType() {
      return goodsType;
   }
   public void setGoodsType(Integer goodsType) {
      this.goodsType = goodsType;
   }
   public String getGoodsId() {
@@ -176,4 +195,36 @@
      this.updateTime = updateTime;
   }
   public BigDecimal getActualPrice() {
      return actualPrice;
   }
   public void setActualPrice(BigDecimal actualPrice) {
      this.actualPrice = actualPrice;
   }
   public String getCategory1() {
      return category1;
   }
   public void setCategory1(String category1) {
      this.category1 = category1;
   }
   public String getCategory2() {
      return category2;
   }
   public void setCategory2(String category2) {
      this.category2 = category2;
   }
   public String getCategory3() {
      return category3;
   }
   public void setCategory3(String category3) {
      this.category3 = category3;
   }
}