From 6edbf12f8d6fc4d8da1161b77ea9703ecb3b0f64 Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 20 Jul 2023 14:44:57 +0800 Subject: [PATCH] 支付返利,微信余额支付会有返利。发卷,赠送积分逻辑 --- src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 44 insertions(+), 1 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 0db73f4..4ca77a4 100644 --- a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java +++ b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java @@ -26,6 +26,8 @@ private String thumb; + private String goodsParameter; + private String goodsDetails; private Integer isSale; @@ -45,6 +47,11 @@ private Long categoryId; + /** + * 是否热卖 1:是 2:否 + */ + public static final Integer ISHOT_STATE_YES = 1; + public static final Integer ISHOT_STATE_NO = 2; private Integer isHot; /** @@ -63,7 +70,7 @@ private Integer isSku; /** - * 是否普通商品 1-普通商品 2-套餐 + * 是否普通商品 1-普通商品 2-积分商品 3-双卷商品 */ private Integer isNormal; @@ -82,9 +89,45 @@ */ private BigDecimal costPrice; + /** + * 商品类型 1-付费商品 2-积分商品 + */ + private Integer goodsType; + + /** + * 积分 + */ + 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; + + private String wxCodeImg; + //运费方式 (1:固定运费 2:运费模板) + private Integer carriageType; + //运费金额 + private BigDecimal carriageAmount; + //运费模板ID + private Long carriageRuleId; + //重量 + private BigDecimal goodsWeight; + //序号 + private Integer orderNumber; + private BigDecimal levelOnePrice; + private BigDecimal levelTwoPrice; + private BigDecimal levelThreePrice; + } -- Gitblit v1.9.1