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
package com.iotechn.unimall.data.dto.order;
 
import com.dobbinsoft.fw.core.annotation.doc.ApiEntity;
import com.dobbinsoft.fw.core.annotation.doc.ApiField;
import lombok.Data;
 
/**
 * Created by rize on 2019/7/6.
 */
@Data
@ApiEntity(description = "订单请求商品传输实体")
public class OrderRequestSkuDTO {
 
    @ApiField(description = "商品规格ID")
    private Long skuId;
 
    @ApiField(description = "商品ID")
    private Long spuId;
 
    @ApiField(description = "商品数量")
    private Integer num;
 
    /** 以下信息仅在预览时使用,是前端传过来的,是不可靠的,不可在结算中使用 **/
    @ApiField(description = "商品价格")
    private Integer price;
 
    @ApiField(description = "Vip价格")
    private Integer vipPrice;
 
    @ApiField(description = "商品重量(G)")
    private Integer weight;
 
    @ApiField(description = "运费模板ID")
    private Long freightTemplateId;
 
}