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

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

import javax.validation.constraints.NotNull;

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

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

    @ApiModelProperty(value = "优惠金额")
    @NotNull(message = "优惠金额不能为空")
    private Long couponCost;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    private Long billId;

    @ApiModelProperty(name = "useStatus", value = "使用状态(1:未使用 2:已使用 3:已过期)")
    @NotNull(message = "用户优惠券使用状态不能为空")
    private Integer useStatus;

    @ApiModelProperty(name = "plateNo", value = "车牌号")
    private String plateNo;

}
