/*
 *      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.bonusgroupaccount.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;

/**
 * 分润组收款账号实体类
 *
 * @author BladeX
 * @since 2021-11-13
 */
@Data
@TableName("cyzh_bonus_group_account")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BonusGroupAccount对象", description = "分润组收款账号")
public class BonusGroupAccount extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 收款账户名称
	*/
		@ApiModelProperty(value = "收款账户名称")
		private String accountReceiverName;
	/**
	* 收款账户号码
	*/
		@ApiModelProperty(value = "收款账户号码")
		private String receiverAccountNo;
	/**
	* 银行开户编码
	*/
		@ApiModelProperty(value = "银行开户编码")
		private String receiverBankCode;
	/**
	* 账户类型
	*/
		@ApiModelProperty(value = "账户类型")
		private String bankAccountType;
	/**
	* 分润比例
	*/
		@ApiModelProperty(value = "分润比例")
		private BigDecimal rate;

	/**
	 * 是否默认账户
	 */
	@ApiModelProperty(value = "是否默认账户")
	private Integer isDefault;

	/**
	 * 业务场景ID
	 */
	@ApiModelProperty(value = "业务场景ID")
	private Long bonusSceneId;

	/**
	 * 所属分润商户ID
	 */
	@ApiModelProperty(value = "所属分润商户ID")
	private Long bonusGroupId;


}
