From e97b71caed03d1f1aa3ae21b1ea0deac4dd9ffe0 Mon Sep 17 00:00:00 2001
From: yujian <yujian@123.com>
Date: 星期五, 16 八月 2019 14:28:38 +0800
Subject: [PATCH] Merge branch 'div' of ssh://193.112.35.168:29418/fanli-server into div
---
fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrderGoods.java | 37 ++++++++++++++++++++++++-------------
1 files changed, 24 insertions(+), 13 deletions(-)
diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrderGoods.java b/fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrderGoods.java
index 4742dc8..e285d34 100644
--- a/fanli/src/main/java/com/yeshi/fanli/entity/order/CommonOrderGoods.java
+++ b/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;// 绛夊悓浜嶤ommonOrder鐨剆ourceType
// 鏍囬(鍙樺寲鏃舵柊寤�)
@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;
}
--
Gitblit v1.8.0