jyy
2021-01-26 ab2879bbcb846256cc182198b9c04e50fbc276c1
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
package com.matrix.system.app.vo;
 
import com.matrix.system.hive.bean.ShoppingGoods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
 
import java.math.BigDecimal;
 
/**
 * @author wzy
 * @date 2020-12-23
 **/
@ApiModel(value = "ShoppingGoodsListVo", description = "商品列表返回类")
public class ShoppingGoodsListVo {
 
    @ApiModelProperty(value = "商品ID")
    private Long id;
 
    @ApiModelProperty(value = "商品编号")
    private String goodsCode;
 
    @ApiModelProperty(value = "商品名称")
    private String name;
 
    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;
 
    @ApiModelProperty(value = "是否赠送")
    private String isPresent;
 
    @ApiModelProperty(value = "商品规格")
    private String unit;
 
    @ApiModelProperty(value = "计量单位")
    private String measure;
 
    @ApiModelProperty(value = "商品图片")
    private String img;
 
    @ApiModelProperty(value = "商品类型")
    private String goodsType;
 
    public String getGoodsType() {
        return goodsType;
    }
 
    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getGoodsCode() {
        return goodsCode;
    }
 
    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public BigDecimal getPrice() {
        return price;
    }
 
    public void setPrice(BigDecimal price) {
        this.price = price;
    }
 
    public String getIsPresent() {
        return isPresent;
    }
 
    public void setIsPresent(String isPresent) {
        if ("是".equals(isPresent)) {
            this.isPresent = "1";
        } else {
            this.isPresent = "0";
        }
    }
 
    public String getUnit() {
        return unit;
    }
 
    public void setUnit(String unit) {
        this.unit = unit;
    }
 
    public String getMeasure() {
        return measure;
    }
 
    public void setMeasure(String measure) {
        this.measure = measure;
    }
 
    public String getImg() {
        return img;
    }
 
    public void setImg(String img) {
        this.img = img;
    }
}