yujian
2019-03-27 cdcbed9af813b2a02cdc01eefa24db8bec6b51a9
fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrderGoods.java
@@ -23,10 +23,11 @@
   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 +35,10 @@
   @Expose
   @Column(name = "cog_goods_id")
   private String goodsId;
   // 商品的类型
   @Column(name = "cog_goods_type")
   private Integer goodsType;// 等同于CommonOrder的sourceType
   // 标题(变化时新建)
   @Expose
@@ -54,12 +59,12 @@
   @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 +78,18 @@
   // 创建时间
   @Column(name = "cog_create_time")
   private Date createTime;
   // 更新时间
   @Column(name = "cog_update_time")
   private Date updateTime;
   public CommonOrderGoods(){
   public CommonOrderGoods() {
   }
   public CommonOrderGoods(Long id){
   public CommonOrderGoods(Long id) {
      this.id = id;
   }
   public Long getId() {
      return id;
@@ -96,6 +99,14 @@
      this.id = id;
   }
   public Integer getGoodsType() {
      return goodsType;
   }
   public void setGoodsType(Integer goodsType) {
      this.goodsType = goodsType;
   }
   public String getGoodsId() {
      return goodsId;
   }