admin
2018-12-29 4e557c1b42a6952c0c7e1deb8faa89a5d54b11d1
fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrderGoods.java
@@ -26,7 +26,7 @@
   public final static int TYPE_TAOBAO = 1;
   // 京东
   public final static int TYPE_JINGDONG = 2;
   @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
@@ -54,12 +58,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 +77,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 +98,14 @@
      this.id = id;
   }
   public Integer getGoodsType() {
      return goodsType;
   }
   public void setGoodsType(Integer goodsType) {
      this.goodsType = goodsType;
   }
   public String getGoodsId() {
      return goodsId;
   }