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
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 UpdCartGoodsRequest implements Serializable {
 
    @NotEmpty(message = "购物车商品主键 不能为空")
    @ApiModelProperty(value = "购物车商品主键")
    private Integer id;
 
    @NotEmpty(message = "更新后数量 不能为空")
    @ApiModelProperty(value = "数量")
    private Integer num;
 
    private Integer memberId;
 
}