From f4a0f2acc63d7785eab108419a4e16f5f688cb95 Mon Sep 17 00:00:00 2001
From: yujian <yujian@163.com>
Date: 星期六, 18 一月 2020 12:06:27 +0800
Subject: [PATCH] 用户注册信息

---
 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