“mitao”
2026-02-03 6b56672a7e02a0bf340021f00a4898bee9b13834
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
package com.ruoyi.system.dto;
 
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
 
/**
 * 大礼包下单请求DTO
 *
 * @author mitao
 * @since 2025-12-16
 */
@Data
@ApiModel("大礼包下单请求DTO")
public class BigGiftPlaceOrderDTO {
 
    @NotNull(message = "大礼包商品ID不能为空")
    @ApiModelProperty(value = "大礼包商品ID", required = true)
    private Integer bigGiftPackageId;
 
    @NotNull(message = "购买数量不能为空")
    @Min(value = 1, message = "购买数量最小为1")
    @ApiModelProperty(value = "购买数量", required = true)
    private Integer quantity;
 
    @NotNull(message = "支付方式不能为空")
    @ApiModelProperty(value = "支付方式:1=订金+尾款,2=全款", required = true)
    private Integer paymentType;
 
    @ApiModelProperty(value = "是否启用生效日(控制全额支付订单的分佣时间,未开启则支付完成后马上分佣,开启则次月1日分佣)")
    private Boolean effectDayFlag = false;
}