package com.yuchen.saas.parking.api.dto.coupon;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2023/6/9 16:17
 */
@Data
public class PaySuccessUseCouponReqDTO {

    /**
     * 用户优惠券id
     */
    @ApiModelProperty(value = "用户优惠券id")
    @NotNull(message = "用户优惠券id不能为空")
    private Long couponRecordId;

    /**
     * 账单id
     */
    @ApiModelProperty(value = "账单id")
    @NotBlank(message = "账单id不能为空")
    private String billId;

    /**
     * 优惠抵扣金额
     */
    @ApiModelProperty(value = "优惠抵扣金额")
    @NotNull(message = "优惠抵扣金额不能为空")
    private Integer payUseCouponCost;

    /**
     * 用户优惠券id
     */
    @ApiModelProperty(value = "用户id")
    private Long userDetailId;

    /**
     * 用户优惠券id
     */
    @ApiModelProperty(value = "用户id")
    private String plateNo;




}
