/*
 *      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 java.util.Date;

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-07-22
 */
@Data
@TableName("cyzh_bussiness_bonus_records")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "BussinessBonusRecords对象", description = "BussinessBonusRecords对象")
public class BussinessBonusRecords extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 广告充值红利账号id
	*/
		@ApiModelProperty(value = "广告充值红利账号id")
		private Long bonusAccountId;

	/**
	 * 进件用户ID
	 */
	@ApiModelProperty(value = "进件用户ID")
	private Long userInfoId;

	/**
	 * 广告充值红利账号名称
	 */
	@ApiModelProperty(value = "广告充值红利账号名称")
	private String bonusAccountName;
	/**
	* 分润比例
	*/
		@ApiModelProperty(value = "分润比例")
		private BigDecimal rate;
	/**
	* 分成金额
	*/
		@ApiModelProperty(value = "分成金额")
		private BigDecimal price;
	/**
	* 分成状态   0-待分配 1-分配成功 2-分配中 3-分配失败
	*/
		@ApiModelProperty(value = "分成状态")
		private Integer bonusStatus;

	/**
	 * 提现记录id
	 */
	@ApiModelProperty(value = "提现记录id")
	private Long withdrawId;

	/**
	 * 分润日期
	 */
	@ApiModelProperty(value = "分润日期")
	private Date bonusDate;

	/**
	 * 失败原因
	 */
	@ApiModelProperty(value = "失败原因")
	private String failReason;

	/**
	 * 第三方支付日志
	 */
	@ApiModelProperty(value = "第三方支付日志")
	private String thirdPayLog;

	/**
	 * 冻结金额
	 */
	@ApiModelProperty(value = "冻结金额")
	private String freeze;

	/**
	 * 第三方付款单号
	 */
	@ApiModelProperty(value = "第三方付款单号")
	private String thirdOrderNo;

	@ApiModelProperty(value = "商户请求号")
	private String requestNo;

	/**
	 * 转账记录ID
	 */
	private Long transferOrderId;




}
