mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
package com.panzhihua.common.model.dtos.shop;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
/**
 * @auther lyq
 * @create 2021-04-14 15:02:14
 * @describe 购物车
 */
@Data
@ApiModel("购物车")
public class ComShopCartDTO {
 
    /**
     * 商品id
     */
    @ApiModelProperty(value = "商品名称", required = true)
    private Long goodsId;
 
    /**
     * 商品规格id
     */
    @ApiModelProperty(value = "商品规格id", required = true)
    private Long goodsAttrId;
 
    /**
     * 数量
     */
    @ApiModelProperty(value = "数量", required = true)
    private Integer number;
 
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", hidden = true)
    private Long userId;
}