From ad85aa61b0f7eba7a0ddad82eba784b015b8413a Mon Sep 17 00:00:00 2001 From: xuhy <3313886187@qq.com> Date: 星期六, 17 八月 2024 17:54:13 +0800 Subject: [PATCH] 小程序用户id完善 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCoupon.java | 25 +++++++++++++++---------- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCoupon.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCoupon.java index 394efd2..87a0230 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCoupon.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/domain/TCoupon.java @@ -38,7 +38,15 @@ @ApiModelProperty(value = "优惠券名称") @TableField("name") private String name; - + + @ApiModelProperty(value = "封面图") + @TableField("cover_picture") + private String coverPicture; + + @ApiModelProperty(value = "详情图片") + @TableField("details_picture") + private String detailsPicture; + @ApiModelProperty(value = "优惠方式(1=满减,2=抵扣)") @TableField("preferential_mode") private Integer preferentialMode; @@ -102,19 +110,16 @@ @ApiModelProperty(value = "说明") @TableField("remark") private String remark; - @ApiModelProperty(value = "状态(1=上架,2=下架)") @TableField("status") private Integer status; + @ApiModelProperty(value = "发放数量") + @TableField(exist = false) + private Integer count; + @ApiModelProperty(value = "使用数量") + @TableField(exist = false) + private Integer useCount; - @ApiModelProperty(value = "添加时间") - @TableField("create_time") - private LocalDateTime createTime; - - @ApiModelProperty(value = "删除(0=否,1=是)") - @TableField("del_flag") - @TableLogic - private Integer delFlag; } -- Gitblit v1.7.1