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

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

import javax.validation.constraints.NotBlank;

/**
 * 银联增加银行卡DTO
 *
 * @author huabiao
 * @create 2023/2/15  15:08
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ChinaumsAddBankCardDTO", description = "银联增加银行卡DTO")
public class ChinaumsAddBankCardDTO {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "平台订单号", hidden = true)
    private String outRequestNo;

    @ApiModelProperty(value = "个人用户ID", hidden = true)
    private String cusId;

    @ApiModelProperty(value = "二级商户ID", hidden = true)
    private String mchId;

    @ApiModelProperty(value = "银行账户类型：1(\"对私银行卡\"),2(\"对公银行账户\")", required = true)
    @NotBlank
    private String bankAcctType;

    @ApiModelProperty(value = "开户银行名称", required = true)
    @NotBlank
    private String bankName;

    @ApiModelProperty(value = "开户银行编码", required = true)
    @NotBlank
    private String bankCode;

    @ApiModelProperty(value = "开户银行联行号", required = true)
    @NotBlank
    private String bankBranchCode;

    @ApiModelProperty(value = "银行账号", required = true)
    @NotBlank
    private String bankAcctNo;

    @ApiModelProperty(value = "职业", hidden = true)
    private String profession;

    @ApiModelProperty(value = "绑定的手机号(对私账户必填)")
    private String mobileNumber;

    @ApiModelProperty(value = "短信验证码(对私账户必填)")
    private String smsCode;
}
