package com.yc.ship.module.marketing.controller.app.coupon.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Schema(description = "用户 APP - 获取可以使用的优惠券 Request VO")
@Data
public class AppCouponCanUseReqVo {
    //产品分组
    @Schema(description = "产品分组id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull
    private Long categoryId;

    @Schema(description = "产品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull
    private Long spuId;

    @Schema(description = "规格ids", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull
    private String skuIds;

    @Schema(description = "订单金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull
    private BigDecimal orderAmount;

    @Schema(description = "出行日期")
    private String travelDate;
}
