From e8dd3778ac3862ffe1a14e5920a4c40a199e89b5 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Tue, 19 Nov 2024 10:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=AD=97=E6=AE=B5=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/cn/ysk/cashier/pojo/product/TbProduct.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/eladmin-system/src/main/java/cn/ysk/cashier/pojo/product/TbProduct.java b/eladmin-system/src/main/java/cn/ysk/cashier/pojo/product/TbProduct.java index 77c2ff2e..431002a4 100644 --- a/eladmin-system/src/main/java/cn/ysk/cashier/pojo/product/TbProduct.java +++ b/eladmin-system/src/main/java/cn/ysk/cashier/pojo/product/TbProduct.java @@ -113,8 +113,12 @@ public class TbProduct implements Serializable { @ApiModelProperty(value = "是否热销") private Integer isHot = 0; + @Column(name = "`type`") + @ApiModelProperty(value = "商品类型(属性):普通商品 normal 套餐商品 package 称重商品 weigh 团购券 coupon") + private String type; + @Column(name = "`type_enum`") - @ApiModelProperty(value = "商品规格:0-单规格 1多规格") + @ApiModelProperty(value = "商品规格:normal-单规格 sku-多规格") private String typeEnum; @Column(name = "`is_del`",nullable = false)