rk
2025-12-16 2cfceadff437135a255990ab9698788a48adb636
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
package com.doumee.dao.web.request.goods;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
 
/**
 * Created by IntelliJ IDEA.
 *
 * @Author : Rk
 * @create 2023/3/23 9:50
 */
@Data
@ApiModel("更新购物车商品列表请求类")
public class AddCartGoodsRequest implements Serializable {
 
 
    @NotEmpty(message = "商品主键 不能为空")
    @ApiModelProperty(value = "商品主键")
    private Integer goodsId;
 
    @NotEmpty(message = "sku组合编码 不能为空")
    @ApiModelProperty(value = "sku组合编码(关联goods_sku表)")
    private Integer goodsSkuId;
 
    @NotEmpty(message = "加入数量 不能为空")
    @ApiModelProperty(value = "加入数量")
    private Integer num;
 
    private Integer memberId;
 
}