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

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springblade.core.mp.base.BaseEntity;
import java.time.LocalDate;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

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

	private static final long serialVersionUID = 1L;

	/**
	* 分润账号ID
	*/
		@ApiModelProperty(value = "分润账号ID")
		private Long accountId;
	/**
	* 收款账户名称
	*/
		@ApiModelProperty(value = "收款账户名称")
		private String accountReceiverName;
	/**
	* 分润金额
	*/
		@ApiModelProperty(value = "分润金额")
		private BigDecimal bonusAmt;
	/**
	* 收款账户号码
	*/
		@ApiModelProperty(value = "收款账户号码")
		private String receiverAccountNo;
	/**
	* 银行开户编码
	*/
		@ApiModelProperty(value = "银行开户编码")
		private String receiverBankCode;
	/**
	* 账户类型
	*/
		@ApiModelProperty(value = "账户类型")
		private String bankAccountType;

	/**
	 * 是否是平台账户
	 */
	@ApiModelProperty(value = "是否是平台账户")
	private Integer accountIsDefault;
	/**
	* 分润比例
	*/
		@ApiModelProperty(value = "分润比例")
		private BigDecimal rate;
	/**
	* 分润状态 	REQUEST_RECEIVE：请求已接收	REQUEST_ACCEPT：请求已受理	REMITING：银行处理中	FAIL：失败	SUCCESS：成功
	*/
		@ApiModelProperty(value = "分润状态 	REQUEST_RECEIVE：请求已接收	REQUEST_ACCEPT：请求已受理	REMITING：银行处理中	FAIL：失败	SUCCESS：成功")
		private String bonusStatus;
	/**
	* 业务场景ID
	*/
		@ApiModelProperty(value = "业务场景ID")
		private Long bonusSceneId;
	/**
	* 分润商户组ID
	*/
		@ApiModelProperty(value = "分润商户组ID")
		private Long bonusGroupId;
	/**
	* 分润策略ID
	*/
		@ApiModelProperty(value = "分润策略ID")
		private Long bonusStrategyId;
	/**
	* 分润策略账户ID
	*/
		@ApiModelProperty(value = "分润策略账户ID")
		private Long bonusStrategyAccountId;
	/**
	* 业务场景名称
	*/
		@ApiModelProperty(value = "业务场景名称")
		private String bonusSceneName;
	/**
	* 分润商户组名称
	*/
		@ApiModelProperty(value = "分润商户组名称")
		private String bonusGroupName;
	/**
	* 分润策略名称
	*/
		@ApiModelProperty(value = "分润策略名称")
		private String bonusStrategyName;
	/**
	* 分润日期
	*/
		@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
		@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
		@ApiModelProperty(value = "分润日期")
		private Date bonusDate;

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


}
