/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.guosen.bussiness.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-07-22
 */
@Data
@TableName("cyzh_bussiness_bonus_account")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BussinessBonusAccount对象", description = "BussinessBonusAccount对象")
public class BussinessBonusAccount extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 账号名称
	*/
		@ApiModelProperty(value = "账号名称")
		private String account;
	/**
	* 分润比例
	*/
		@ApiModelProperty(value = "分润比例")
		private BigDecimal rate;

	@ApiModelProperty(value = "收款帐户的卡号",required = true)
	String receiverAccountNo;

	@ApiModelProperty(value = "收款方开户名",required = true)
	String receiverAccountName;

	@ApiModelProperty(value = "收款方开户行\n" +
		"银行卡所在开户行编号，详见\n" +
		"https://open.yeepay.com/attachments/2020/07/23/doc_FFTv15d8TY_1595490360236.xlsx?fileName=%E6%80%BB%E8%A1%8C%E5%8F%8A%E7%9B%B8%E5%BA%94%E6%94%AF%E8%A1%8C%E7%BC%96%E7%A0%81.xlsx\n" +
		"示例值：ICBC",required = true)
	String receiverBankCode;

	@ApiModelProperty(value = "账户类型\n" +
		"可选项如下:\n" +
		"DEBIT_CARD:借记卡\n" +
		"CREDIT_CARD:贷记卡\n" +
		"QUASI_CREDIT_CARD:准贷卡\n" +
		"PASSBOOK:存折\n" +
		"UNIT_SETTLE_CARD:单位结算卡\n" +
		"PUBLIC_CARD:对公卡\n" +
		"示例值：DEBIT_CARD",required = true)
	String bankAccountType;

	@ApiModelProperty(value = "进件用户ID")
	String userInfoId;

	@ApiModelProperty(value = "所属平台商户")
	String bussinessId;

	@ApiModelProperty(value = "签约用户名")
	String userInfoName;

	@ApiModelProperty(value = "商户名称")
	String bussinessName;


}
