package org.springblade.yeePay.entity;

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

import javax.validation.constraints.NotBlank;

@Data
@Builder
@ApiModel("用户-进件")
public class UserRegisterDto {

    @ApiModelProperty(value = "提现人ID",required = false)
    String userId;

    @NotBlank
    @ApiModelProperty(value = "提现人姓名",required = true)
    String userName;

    @NotBlank
    @ApiModelProperty(value = "手机号",required = true)
    String userPhone;

    @ApiModelProperty(value = "提现人身份证件类型",required = false)
    String userLicenceType = "ID_CARD";

    @NotBlank
    @ApiModelProperty(value = "提现人身份证号",required = true)
    String userLicenceNo;

    @NotBlank
    @ApiModelProperty(value = "用户身份证正面照",required = true)
    String userCardFrontUrl;

    @NotBlank
    @ApiModelProperty(value = "用户身份证反面照",required = true)
    String userCardBackUrl;

    @NotBlank
    @ApiModelProperty(value = "收款银行卡账号",required = true)
    String bankCardNo;

    @NotBlank
    @ApiModelProperty(value = "银行账户类型",required = true)
    String bankAccountType;

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

    @ApiModelProperty(value = "进件回调地址",required = false)
    String notifyUrl;

    @NotBlank
    @ApiModelProperty(value = "商户API密钥",required = true)
    String secret;


}
