44323
2024-05-16 80870e154d7755c36cdb345147532c131858e270
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
package com.ruoyi.management.vo;
 
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.domain.BaseModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
/**
 * <p>
 * 商品表
 * </p>
 *
 * @author 无关风月
 * @since 2024-04-26
 */
@Data
public class TGoodsVO extends BaseModel {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "剩余数量")
    private Long inventory;
    /**
     * 主键id
     */
    private Integer id;
    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String name;
    /**
     * 所需积分
     */
    @ApiModelProperty(value = "所需积分")
    private String integral;
    /**
     * 商品原价
     */
    @ApiModelProperty(value = "商品原价")
    private BigDecimal price;
    /**
     * 商品总数
     */
    @ApiModelProperty(value = "商品总数")
    private Integer total;
    /**
     * 剩余数量
     */
    @ApiModelProperty(value = "剩余数量")
    private Integer surplus;
    /**
     * 单个用户可兑换数量
     */
    @ApiModelProperty(value = "单个用户可兑换数量")
    private Integer userCount;
    /**
     * 商品类型id
     */
    @ApiModelProperty(value = "商品类型id")
    private Integer typeId;
    /**
     * 商品封面图
     */
    @ApiModelProperty(value = "商品封面图")
    private String coverImg;
    /**
     * 商品详情图片 多张逗号隔开
     */
    @ApiModelProperty(value = "商品详情图片 多张逗号隔开")
    private String detailImg;
    /**
     * 商品详情
     */
    @ApiModelProperty(value = "商品详情")
    private String detail;
    /**
     * 插入时间
     */
    @ApiModelProperty(value = "插入时间")
    private Date insertTime;
    /**
     * 是否删除 0否1是
     */
    @ApiModelProperty(value = "是否删除 0否1是")
    private Integer isDelete;
    /**
     * 兑换类型 1.0商城只有积分兑换 保留字段 
     */
    @ApiModelProperty(value = "前端忽略 兑换类型 1.0商城只有积分兑换 保留字段 ")
    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 +
        "}";
    }
}