rk
2025-12-15 12d724c247e4f7dcb77b3a94891ccf4d86b53cfa
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
package com.doumee.dao.web.request;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;
 
/**
 * Created by IntelliJ IDEA.
 *
 * @Author : Rk
 * @create 2023/3/24 15:32
 */
@Data
@ApiModel("商品下单请求类")
public class OrderPayRequest {
 
    @NotNull(message = "订单类型 不能为空")
    @ApiModelProperty(value = "订单类型 0平台商城 1咖豆商城 2咖啡计划")
    private Integer orderType;
 
    @NotNull(message = "收货地址 不能为空")
    @ApiModelProperty(value = "收货地址主键")
    private Integer addressId;
 
    @NotNull(message = "订单总金额 不能为空")
    @ApiModelProperty(value = "订单总金额")
    private BigDecimal titlePrice;
 
    @ApiModelProperty(value = "咖啡计划订单形式 0新增 1延长 (咖啡计划订单必填)")
    private Integer planOrderType;
 
    @ApiModelProperty(value = "优惠券主键")
    private Integer couponId;
 
    @ApiModelProperty(value = "支付商品详细")
    List<PayDetailRequest> payDetailRequestList;
 
    @ApiModelProperty(value = "订单备注")
    private String remark;
 
    @ApiModelProperty(value = "是否购物车支付 : 0 = 否 ; 1 = 是")
    private Integer isShopChart;
 
    @ApiModelProperty(value = "抵扣余额")
    private BigDecimal deductionBalance;
 
 
    @ApiModelProperty(hidden = true)
    private Integer memberId ;
 
}