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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package com.iotechn.unimall.data.dto.product;
 
import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import com.dobbinsoft.fw.core.entiy.SuperDTO;
import com.iotechn.unimall.data.enums.GroupShopAutomaticRefundType;
import com.iotechn.unimall.data.enums.StatusType;
import lombok.Data;
 
import java.util.Date;
import java.util.List;
 
/**
@PackageName:com.iotechn.unimall.data.dto.goods
@ClassName: GroupShopDTO
@Description:
@author kbq
@date 19-11-13下午1:36
*/
 
@Data
@ApiEntity(description = "团购商品传输实体")
public class GroupShopDTO extends SuperDTO {
 
    @ApiField(description = "商品ID")
    private Long spuId;
 
    @ApiField(description = "最低价格")
    private Integer minPrice;
 
    @ApiField(description = "最好价格")
    private Integer maxPrice;
 
    @ApiField(description = "活动开始时间")
    private Date gmtStart;
 
    @ApiField(description = "活动结束时间")
    private Date gmtEnd;
 
    @ApiField(description = "团购最小人数")
    private Integer minNum;
 
    @ApiField(description = "当前已付款人数")
    private Integer buyerNum;
 
    @ApiField(description = "团购人数未满执行策略", enums = GroupShopAutomaticRefundType.class)
    private Integer automaticRefund;
 
    /**
     * TODO 删除 DTO GroupShopSkuDTO列表
     */
    @ApiField(description = "团购商品列表")
    private List<GroupShopSkuDTO> groupShopSkuDTOList;
 
    /**
     * spu属性
     */
    @ApiField(description = "商品原价(仅显示作用)")
    private Integer originalPrice;
 
    @ApiField(description = "价格(仅显示作用)")
    private Integer price;
 
    @ApiField(description = "VIP价格(仅显示作用)")
    private Integer vipPrice;
 
    @ApiField(description = "商品标题")
    private String title;
 
    @ApiField(description = "当前销量")
    private Integer sales;
 
    @ApiField(description = "商品主图")
    private String img;
 
    @ApiField(description = "富文本详情")
    private String detail;
 
    @ApiField(description = "商品描述")
    private String description;
 
    @ApiField(description = "所属类目ID")
    private Long categoryId;
 
    @ApiField(description = "运费模板ID")
    private Long freightTemplateId;
 
    @ApiField(description = "计量单位")
    private String unit;
 
    @ApiField(description = "状态", enums = StatusType.class)
    private Integer status;
 
}