From 91ec2fe7b1087b18f40bba6ffda07ad601d562ed Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Thu, 22 Dec 2022 10:48:15 +0800 Subject: [PATCH] 20221222 --- src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 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 369b65b..8f19a19 100644 --- a/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java +++ b/src/main/java/cc/mrbird/febs/mall/entity/MallGoods.java @@ -26,11 +26,6 @@ private String thumb; - /** - * ALTER TABLE `mall_goods` - * DROP COLUMN `goods_parameter`, - * ADD COLUMN `goods_parameter` text NULL COMMENT '商品参数' AFTER `thumb`; - */ private String goodsParameter; private String goodsDetails; @@ -52,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; /** @@ -114,5 +114,9 @@ private Integer hasCarriage; private BigDecimal carriage; + //补贴金额 + private BigDecimal subsidyAmount; + //星级等级 + private String starRating; } -- Gitblit v1.9.1