package org.springblade.yeePay.entity.saas.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springblade.yeePay.common.YeepayApiConstant;

import javax.validation.constraints.NotBlank;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Builder
@ApiModel("提现卡添加入参")
public class WithdrawCardBindDto {

	@NotBlank
	@ApiModelProperty(value = "商户编号：易宝支付分配的的商户唯一标识",required = true)
	private String merchantNo;

	/**
	 * YeepayApiConstant---bankAccountType
	 * 银行卡类型
	 * 可选项如下:
	 * DEBIT_CARD:借记卡
	 * ENTERPRISE_ACCOUNT:对公账号
	 */
	@NotBlank
	@ApiModelProperty(value = "银行卡类型",required = true)
	private YeepayApiConstant.bankAccountType bankCardType;

	@NotBlank
	@ApiModelProperty(value = "银行账号:为了保证出款成功，各农信社卡或账号16位以下的农业银行卡，建议或尽可能填写支行编码；",required = true)
	private String accountNo;

	@ApiModelProperty(value = "开户银行编码:当bankCardType为ENTERPRISE_ACCOUNT时必填；")
	private String bankCode;

	@ApiModelProperty(value = "银行支行编码")
	private String branchCode;
}
