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
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;
 
import java.util.List;
 
/**
 * Created by rize on 2019/7/6.
 */
@Data
@ApiEntity(description = "下单传输实体")
public class OrderRequestDTO {
 
    @ApiField(description = "商品列表")
    private List<OrderRequestSkuDTO> skuList;
 
    /**
     * 商品支付总价
     */
    @ApiField(description = "商品支付总价")
    private Integer totalPrice;
 
    @ApiField(description = "商品原始总价(仅显示作用)")
    private Integer totalOriginalPrice;
 
    @ApiField(description = "用户地址ID")
    private Long addressId;
 
    @ApiField(description = "商品团购ID")
    private Long groupShopId;
 
    /**
     * 用户优惠券id
     */
    @ApiField(description = "用户优惠券ID")
    private Long couponId;
 
    @ApiField(description = "用户订单备注")
    private String mono;
 
    /**
     * 购物车 ? 直接点击购买商品 cart,buy
     */
    @ApiField(description = "购物车 ? 直接点击购买商品 cart,buy")
    private String takeWay;
 
    @ApiField(description = "运费")
    private Integer freightPrice;
 
    @ApiField(description = "前端计算后期望的订单价格")
    private Integer exceptPrice;
 
}