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.NotNull;

@Data
@Builder
@ApiModel("转账-下单")
public class PayToUserDto {

    /**
     * 精确到两位小数
     */
    @NotNull
    @ApiModelProperty(value = "提现金额，单位：元（RMB）",required = true)
    Double orderAmount;

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

    @NotNull
    @ApiModelProperty(value = "银行预留手机号",required = true)
    String userPhone;

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

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

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

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

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

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

    @NotNull
    @ApiModelProperty(value = "商户提供的订单号",required = true)
    String bussinessOrderId;

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


}
