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;
import javax.validation.constraints.NotNull;

@Data
@Builder
@ApiModel("代付-下单")
public class PayToUserDto {

    /**
     * 精确到两位小数
     */
    @NotBlank
    @ApiModelProperty(value = "提现人ID",required = true)
    String userId;

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

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

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

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

    @ApiModelProperty(value = "商户提供的订单号",required = false)
    String notifyUrl;


}
