package com.cool.store.request;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 提现申请请求
 */
@Data
public class WithdrawApplicationRequest implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value ="提现账户名称", required = true)
    @NotBlank(message = "提现账户名称不能为空")
    private String accountName;

    @ApiModelProperty(value ="提现金额", required = true)
    @NotNull(message = "提现金额不能为空")
    private BigDecimal amount;

    @ApiModelProperty(value ="到账银行卡号", required = true)
    @NotBlank(message = "到账银行卡号不能为空")
    private String bankCardNo;

    @ApiModelProperty(value = "银行所属银行", required = true)
    @NotBlank(message = "银行所属银行不能为空")
    private String bankName;

    @ApiModelProperty(value = "提现账户", required = true)
    @NotBlank(message = "提现账户不能为空")
    private String accountNo;
}
