From 744594ef1a2f530fc3e86ea9dc48b62247f79420 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 19 五月 2020 17:13:23 +0800 Subject: [PATCH] 饿了么绘图,添加口碑 --- fanli/src/main/java/com/yeshi/fanli/entity/goods/CommonGoods.java | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 50 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/goods/CommonGoods.java b/fanli/src/main/java/com/yeshi/fanli/entity/goods/CommonGoods.java index 552a603..7cee102 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/goods/CommonGoods.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/goods/CommonGoods.java @@ -10,9 +10,13 @@ public class CommonGoods { public static int GOODS_TYPE_TB = 1;// 娣樺疂澶╃尗 public static int GOODS_TYPE_JD = 2;// 浜笢 + public static int GOODS_TYPE_PDD = 3;// 鎷煎澶� public static int SHOP_TYPE_TB = 1;// 娣樺疂 public static int SHOP_TYPE_TM = 2;// 澶╃尗 + public static int SHOP_TYPE_JD = 20;// 浜笢 + public static int SHOP_TYPE_JD_SELF = 21;// 浜笢鑷惀 + public static int SHOP_TYPE_PDD = 30;// 鎷煎澶� public static int STATE_NORMAL = 0;// 姝e父 public static int STATE_OFFLINE = 1;// 涓嬬嚎 @@ -37,6 +41,8 @@ private BigDecimal rate; @Column(name = "cg_picture") private String picture; + @Column(name = "cg_picture_white") + private String pictureWhite; @Column(name = "cg_state") private Integer state; @Column(name = "cg_price") @@ -55,17 +61,25 @@ private String videoCover; @Column(name = "cg_video_url") private String videoUrl; + @Column(name = "cg_material_lib_type") + private Integer materialLibType;// 鐗╂枡搴撶被鍨� 1-钀ラ攢鍟嗗搧搴� 0-闈炶惀閿�鍟嗗搧搴� + @Column(name = "cg_other_info") + private String otherInfo; // 鍟嗗搧鍏朵粬淇℃伅-json瀛楃涓� + @Column(name = "cg_category_info") + private String categoryInfo; // 鍟嗗搧鍒嗙被淇℃伅 + @Column(name = "cg_createtime") private Date createTime; @Column(name = "cg_updatetime") private Date updateTime; - public CommonGoods() {} - + public CommonGoods() { + } + public CommonGoods(Long id) { this.id = id; } - + public Long getId() { return id; } @@ -88,6 +102,14 @@ public void setGoodsId(Long goodsId) { this.goodsId = goodsId; + } + + public Integer getMaterialLibType() { + return materialLibType; + } + + public void setMaterialLibType(Integer materialLibType) { + this.materialLibType = materialLibType; } public Integer getGoodsType() { @@ -233,4 +255,29 @@ public void setVideoUrl(String videoUrl) { this.videoUrl = videoUrl; } + + public String getPictureWhite() { + return pictureWhite; + } + + public void setPictureWhite(String pictureWhite) { + this.pictureWhite = pictureWhite; + } + + public String getOtherInfo() { + return otherInfo; + } + + public void setOtherInfo(String otherInfo) { + this.otherInfo = otherInfo; + } + + public String getCategoryInfo() { + return categoryInfo; + } + + public void setCategoryInfo(String categoryInfo) { + this.categoryInfo = categoryInfo; + } + } -- Gitblit v1.8.0