lisy
2023-07-11 9e01ddb449dba96e681af4bdb6257e3c7c0cfe51
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
package com.dsh.account.model.vo.userBenefitDetail;
 
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.List;
 
@Data
public class PointMallDetailsResponse {
 
    @ApiModelProperty(value = "头像")
    private String headImg;
 
    @ApiModelProperty(value = "姓名")
    private String name;
 
    @ApiModelProperty(value = "可用积分")
    private Integer integral;
 
    @ApiModelProperty(value = "商品列表")
    private List<Goods> goods;
 
 
    @Data
    public static class Goods{
 
        @ApiModelProperty(value = "商品id")
        private Integer goodId;
 
        @ApiModelProperty(value = "商品封面图")
        private String goodImg;
 
        @ApiModelProperty(value = "商品名称")
        private String goodName;
 
        @ApiModelProperty(value = "1积分 2现金+积分")
        private Integer condition;
 
        @ApiModelProperty(value = "金额")
        private BigDecimal amount;
 
        @ApiModelProperty(value = "积分")
        private Integer integral;
 
        @ApiModelProperty(value = "适用范围: 1全部用户 2仅限会员 3仅限学员")
        private Integer belongsType;
 
        @ApiModelProperty(value = "商品类型: 1实物 2课包 3门票 4优惠券")
        private Integer goodsType;
 
        @ApiModelProperty(value = "已兑换数量")
        private Integer nums;
 
    }
 
}