shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
package com.ishop.model.vo;
 
import com.ishop.model.po.EbProductAttr;
import com.ishop.model.po.EbProductAttrValue;
 
import java.util.List;
 
public class ProductAddVo {
 
    public Long getId() {
        return id;
    }
 
    public void setId(Long id) {
        this.id = id;
    }
 
    public String getImage() {
        return image;
    }
 
    public void setImage(String image) {
        this.image = image;
    }
 
    public String getFlatPattern() {
        return flatPattern;
    }
 
    public void setFlatPattern(String flatPattern) {
        this.flatPattern = flatPattern;
    }
 
    public String getSliderImage() {
        return sliderImage;
    }
 
    public void setSliderImage(String sliderImage) {
        this.sliderImage = sliderImage;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
 
    public String getIntro() {
        return intro;
    }
 
    public void setIntro(String intro) {
        this.intro = intro;
    }
 
    public String getKeyword() {
        return keyword;
    }
 
    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }
 
    public String getCateId() {
        return cateId;
    }
 
    public void setCateId(String cateId) {
        this.cateId = cateId;
    }
 
    public Integer getBrandId() {
        return brandId;
    }
 
    public void setBrandId(Integer brandId) {
        this.brandId = brandId;
    }
 
    public Integer getCategoryId() {
        return categoryId;
    }
 
    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }
 
    public String getGuaranteeIds() {
        return guaranteeIds;
    }
 
    public void setGuaranteeIds(String guaranteeIds) {
        this.guaranteeIds = guaranteeIds;
    }
 
    public String getUnitName() {
        return unitName;
    }
 
    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }
 
    public Integer getTempId() {
        return tempId;
    }
 
    public void setTempId(Integer tempId) {
        this.tempId = tempId;
    }
 
    public Integer getSort() {
        return sort;
    }
 
    public void setSort(Integer sort) {
        this.sort = sort;
    }
 
    public Boolean getSpecType() {
        return specType;
    }
 
    public void setSpecType(Boolean specType) {
        this.specType = specType;
    }
 
    public Boolean getIsSub() {
        return isSub;
    }
 
    public void setIsSub(Boolean sub) {
        isSub = sub;
    }
 
    public List<EbProductAttr> getAttr() {
        return attr;
    }
 
    public void setAttr(List<EbProductAttr> attr) {
        this.attr = attr;
    }
 
    public List<EbProductAttrValue> getAttrValue() {
        return attrValue;
    }
 
    public void setAttrValue(List<EbProductAttrValue> attrValue) {
        this.attrValue = attrValue;
    }
 
    public String getContent() {
        return content;
    }
 
    public void setContent(String content) {
        this.content = content;
    }
 
    public List<Integer> getCouponIds() {
        return couponIds;
    }
 
    public void setCouponIds(List<Integer> couponIds) {
        this.couponIds = couponIds;
    }
 
    //    @ApiModelProperty(value = "商品id|添加时不填,修改时必填")
    private Long id;
 
//    @ApiModelProperty(value = "商品图片", required = true)
//    @NotBlank(message = "商品图片不能为空")
//    @Length(max = 255, message = "商品图片名称长度不能超过255个字符")
    private String image;
 
//    @ApiModelProperty(value = "展示图")
//    @Length(max = 1000, message = "展示图名称长度不能超过1000个字符")
    private String flatPattern;
 
//    @ApiModelProperty(value = "轮播图", required = true)
//    @NotBlank(message = "轮播图不能为空")
//    @Length(max = 2000, message = "轮播图名称长度不能超过2000个字符")
    private String sliderImage;
 
//    @ApiModelProperty(value = "商品名称", required = true)
//    @NotBlank(message = "商品名称不能为空")
//    @Length(max = 128, message = "商品名称长度不能超过128个字符")
    private String name;
 
//    @ApiModelProperty(value = "商品简介", required = true)
//    @NotBlank(message = "商品简介不能为空")
//    @Length(max = 256, message = "商品简介长度不能超过256个字符")
    private String intro;
 
//    @ApiModelProperty(value = "关键字", required = true)
//    @Length(max = 255, message = "关键字长度不能超过255个字符")
//    @NotBlank(message = "关键字不能为空")
    private String keyword;
 
//    @ApiModelProperty(value = "商户商品分类id|逗号分隔", required = true)
//    @NotBlank(message = "商户商品分类不能为空")
//    @Length(max = 64, message = "商品分类组合长度不能超过64个字符")
    private String cateId;
 
//    @ApiModelProperty(value = "品牌id", required = true)
//    @NotNull(message = "品牌id不能为空")
    private Integer brandId;
 
//    @ApiModelProperty(value = "平台分类id", required = true)
//    @NotNull(message = "平台分类id不能为空")
    private Integer categoryId;
 
//    @ApiModelProperty(value = "保障服务ids(英文逗号拼接)")
    private String guaranteeIds;
 
//    @ApiModelProperty(value = "单位名", required = true)
//    @NotBlank(message = "单位名称不能为空")
//    @Length(max = 32, message = "单位名长度不能超过32个字符")
    private String unitName;
 
//    @ApiModelProperty(value = "运费模板ID", required = true)
//    @NotNull(message = "运费模板ID不能为空")
    private Integer tempId;
 
//    @ApiModelProperty(value = "排序")
    private Integer sort;
 
//    @ApiModelProperty(value = "规格 0单 1多", required = true)
//    @NotNull(message = "商品规格类型不能为空")
    private Boolean specType;
 
//    @ApiModelProperty(value = "是否单独分佣", required = true)
//    @NotNull(message = "请选择是否单独分佣")
    private Boolean isSub;
 
//    @Valid
//    @ApiModelProperty(value = "商品属性", required = true)
//    @NotEmpty(message = "商品属性不能为空")
    private List<EbProductAttr> attr;
 
//    @Valid
//    @ApiModelProperty(value = "商品属性详情", required = true)
//    @NotEmpty(message = "商品属性详情不能为空")
//    private List<ProductAttrValueAddRequest> attrValue;
    private List<EbProductAttrValue> attrValue;
 
//    @ApiModelProperty(value = "商品描述")
    private String content;
 
//    @ApiModelProperty(value = "优惠券id集合")
    private List<Integer> couponIds;
}