From d2296f646d0eb2dec1f0fa72f02e386e55ccf298 Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期四, 22 八月 2024 15:39:29 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java | 21 ++++++++++----------- 1 files changed, 10 insertions(+), 11 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java index f4666eb..84e3633 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TGoods.java @@ -1,6 +1,7 @@ package com.ruoyi.other.api.domain; import com.baomidou.mybatisplus.annotation.*; +import com.ruoyi.common.core.web.domain.BasePojo; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Data; @@ -22,7 +23,7 @@ @EqualsAndHashCode(callSuper = false) @TableName("t_goods") @ApiModel(value="TGoods对象", description="") -public class TGoods implements Serializable { +public class TGoods extends BasePojo { private static final long serialVersionUID = 1L; @@ -83,8 +84,8 @@ private Integer underlyingSales; @ApiModelProperty(value = "商品描述") - @TableField("describe") - private String describe; + @TableField("describes") + private String describes; @ApiModelProperty(value = "商品介绍") @TableField("introduce") @@ -98,14 +99,12 @@ @TableField("status") private Integer status; - @ApiModelProperty(value = "添加时间") - @TableField("create_time") - private LocalDateTime createTime; - @ApiModelProperty(value = "删除(0=否,1=是)") - @TableField("del_flag") - @TableLogic - private Integer delFlag; - + @ApiModelProperty(value = "销量") + @TableField(exist = false) + private Integer salesCount; + @ApiModelProperty(value = "1商品2优惠卷") + @TableField(exist = false) + private Integer goodType; } -- Gitblit v1.7.1