package com.yn.bftl.thirdparty.modules.chinaums.dto;

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

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

/**
 * 银行卡金额校验DTO
 *
 * @author huabiao
 * @create 2023/2/21  17:27
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "BankCardAmountValidateDTO", description = "银行卡金额校验DTO")
public class BankCardAmountValidateDTO {

    @ApiModelProperty(value = "银行卡ID", required = true)
    @NotNull
    private Long id;

    @ApiModelProperty(value = "验证金额", required = true)
    @NotNull
    private BigDecimal amount;
}
