From 401510af482a05aa777db983791f8e7594edaec2 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期二, 08 七月 2025 13:53:55 +0800 Subject: [PATCH] 新增迭代 --- ruoyi-api/ruoyi-api-goods/src/main/java/com/ruoyi/goods/api/model/TGoodsVO.java | 147 ++---------------------------------------------- 1 files changed, 8 insertions(+), 139 deletions(-) diff --git a/ruoyi-api/ruoyi-api-goods/src/main/java/com/ruoyi/goods/api/model/TGoodsVO.java b/ruoyi-api/ruoyi-api-goods/src/main/java/com/ruoyi/goods/api/model/TGoodsVO.java index 9285f64..bef752f 100644 --- a/ruoyi-api/ruoyi-api-goods/src/main/java/com/ruoyi/goods/api/model/TGoodsVO.java +++ b/ruoyi-api/ruoyi-api-goods/src/main/java/com/ruoyi/goods/api/model/TGoodsVO.java @@ -26,7 +26,7 @@ /** * 主键id */ - private Integer id; + private Long id; /** * 商品名称 */ @@ -36,7 +36,7 @@ * 所需积分 */ @ApiModelProperty(value = "所需积分") - private String integral; + private Integer integral; /** * 商品原价 */ @@ -52,6 +52,8 @@ */ @ApiModelProperty(value = "剩余数量") private Integer surplus; + @ApiModelProperty(value = "排序") + private Integer sort; /** * 单个用户可兑换数量 */ @@ -61,7 +63,10 @@ * 商品类型id */ @ApiModelProperty(value = "商品类型id") - private Integer typeId; + private String typeIds; + + @ApiModelProperty(value = "基础已兑换数量") + private Integer basicCount; /** * 商品封面图 */ @@ -94,140 +99,4 @@ private Integer type; - public Integer getId() { - return id; - } - - public void setId(Integer id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getintegral() { - return -integral; - } - - public void setintegral(String -integral) { - this. -integral = -integral; - } - - public BigDecimal getPrice() { - return price; - } - - public void setPrice(BigDecimal price) { - this.price = price; - } - - public Integer getTotal() { - return total; - } - - public void setTotal(Integer total) { - this.total = total; - } - - public Integer getSurplus() { - return surplus; - } - - public void setSurplus(Integer surplus) { - this.surplus = surplus; - } - - public Integer getUserCount() { - return userCount; - } - - public void setUserCount(Integer userCount) { - this.userCount = userCount; - } - - public Integer getTypeId() { - return typeId; - } - - public void setTypeId(Integer typeId) { - this.typeId = typeId; - } - - public String getCoverImg() { - return coverImg; - } - - public void setCoverImg(String coverImg) { - this.coverImg = coverImg; - } - - public String getDetailImg() { - return detailImg; - } - - public void setDetailImg(String detailImg) { - this.detailImg = detailImg; - } - - public String getDetail() { - return detail; - } - - public void setDetail(String detail) { - this.detail = detail; - } - - public Date getInsertTime() { - return insertTime; - } - - public void setInsertTime(Date insertTime) { - this.insertTime = insertTime; - } - - public Integer getIsDelete() { - return isDelete; - } - - public void setIsDelete(Integer isDelete) { - this.isDelete = isDelete; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - @Override - public String toString() { - return "TGoods{" + - ", id=" + id + - ", name=" + name + - ", integral=" + -integral + - ", price=" + price + - ", total=" + total + - ", surplus=" + surplus + - ", userCount=" + userCount + - ", typeId=" + typeId + - ", coverImg=" + coverImg + - ", detailImg=" + detailImg + - ", detail=" + detail + - ", insertTime=" + insertTime + - ", isDelete=" + isDelete + - ", type=" + type + - "}"; - } } -- Gitblit v1.7.1