package com.fs.hisStore.param;

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

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

@Data
@ApiModel("立减金退款参数")
public class FsStoreCashCouponRefundParam {
    
    @NotNull(message = "立减金记录ID不能为空")
    @Positive(message = "立减金记录ID必须为正数")
    @ApiModelProperty(value = "立减金记录ID")
    private Long id;

    @ApiModelProperty(value = "用户ID")
    private Long userId;
    
    @NotNull(message = "优惠券ID不能为空")
    @Positive(message = "优惠券ID必须为正数")
    @ApiModelProperty(value = "优惠券ID")
    private Long couponId;

    //couponType 3 立减金
    @NotNull(message = "优惠券类型不能为空")
    @Positive(message = "优惠券类型必须为正数")
    @ApiModelProperty(value = "优惠券类型")
    private Integer couponType;
}