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; }