add
yj
2024-12-05 b9900893177c78fc559223521fe839aa21000017
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
package com.iotechn.unimall.data.dto;
 
import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.core.entiy.SuperDTO;
import lombok.Data;
 
import java.util.List;
 
/**
 * Created by rize on 2019/7/3.
 */
@Data
@ApiEntity(description = "购物车传输实体")
public class CartDTO extends SuperDTO {
 
    @ApiField(description = "商品规格ID")
    private Long skuId;
 
    @ApiField(description = "数量")
    private Integer num;
 
    @ApiField(description = "商品标题")
    private String title;
 
    @ApiField(description = "商品原价(仅显示作用)")
    private Integer originalPrice;
 
    @ApiField(description = "价格")
    private Integer price;
 
    @ApiField(description = "vip价格")
    private Integer vipPrice;
 
    @ApiField(description = "商品规格标题")
    private String skuTitle;
 
    @ApiField(description = "商品图片")
    private String spuImg;
 
    @ApiField(description = "商品规格图片")
    private String skuImg;
 
    @ApiField(description = "剩余库存")
    private Integer stock;
 
    @ApiField(description = "商品ID")
    private Long spuId;
 
    @ApiField(description = "所属类目ID")
    private Long categoryId;
 
    @ApiField(description = "商品ID列表")
    private List<Long> categoryIdList;
 
    @ApiField(description = "商品重量G")
    private Integer weight;
 
    @ApiField(description = "运费模板ID")
    private Long freightTemplateId;
 
}