Helius
2021-09-17 9e5c3243c77592378830754c5a22e53affe8fc95
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package cc.mrbird.febs.mall.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotNull;
 
/**
 * @author wzy
 * @date 2021-09-17
 **/
@Data
@ApiModel(value = "AddCartDto", description = "添加到购物车接收参数类")
public class AddCartDto {
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "skuId")
    private Long skuId;
 
    @NotNull(message = "参数不能为空")
    @ApiModelProperty(value = "数量")
    private Integer cnt;
}