From a7cdff75aa70b55a32c8c3d7ff55085647424c92 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 27 Oct 2023 10:16:33 +0800
Subject: [PATCH] 版本管理

---
 src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java |   73 ++++++++++++++++++++++++++++++++++++
 1 files changed, 73 insertions(+), 0 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java
index df5c4df..70b064f 100644
--- a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java
+++ b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java
@@ -5,6 +5,7 @@
 import com.baomidou.mybatisplus.annotation.TableName;
 import lombok.Data;
 
+import java.math.BigDecimal;
 import java.util.List;
 
 /**
@@ -25,9 +26,20 @@
 
     private String thumb;
 
+    private String goodsParameter;
+
     private String goodsDetails;
 
     private Integer isSale;
+
+    /**
+     * 上架
+     */
+    public static final Integer ISSALE_STATUS_ENABLE = 1;
+    /**
+     * 下架
+     */
+    public static final Integer ISSALE_STATUS_DISABLED = 2;
 
     private String originalPrice;
 
@@ -35,11 +47,72 @@
 
     private Long categoryId;
 
+    /**
+     * 是否热卖  1:是  2:否
+     */
+    public static final Integer ISHOT_STATE_YES = 1;
+    public static final Integer ISHOT_STATE_NO = 2;
     private Integer isHot;
+
+    /**
+     * 静态倍数
+     */
+    private BigDecimal staticMulti;
+
+    /**
+     * 静态占比
+     */
+    private BigDecimal staticProp;
+
+    /**
+     * 是否多规则 1-是 2-否
+     */
+    private Integer isSku;
+
+    /**
+     * 是否普通商品 1-普通商品 2-套餐
+     */
+    private Integer isNormal;
+
+    /**
+     * 库存
+     */
+    private Integer stock;
+
+    /**
+     * 销量
+     */
+    private Integer volume;
+
+    /**
+     * 成本价
+     */
+    private BigDecimal costPrice;
+
+    /**
+     * 商品类型 1-付费商品 2-H金劵商品
+     */
+    private Integer goodsType;
+
+    /**
+     * H金劵
+     */
+    private BigDecimal score;
 
     @TableField(exist = false)
     private List<MallGoodsStyle> styles;
 
     @TableField(exist = false)
+    private List<MallGoodsSku> skus;
+
+    @TableField(exist = false)
     private List<String> images;
+
+    @TableField(exist = false)
+    private String orderNo;
+
+    private Integer hasCarriage;
+
+    private BigDecimal carriage;
+
 }

--
Gitblit v1.9.1