package com.red.circle.other.infra.database.rds.entity.team;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.red.circle.framework.mybatis.entity.TimestampBaseEntity;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 团队主播解约费记录.
 * </p>
 *
 * @author pengshigang on 2023-09-20 15:10
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("team_termination_fee_record")
public class TeamTerminationFeeRecord extends TimestampBaseEntity {

  /**
   * 申请退出记录ID.
   */
  @TableId(value = "id", type = IdType.ASSIGN_ID)
  private Long id;

  /**
   * 归属平台.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 违约费.
   */
  @TableField("termination_fee")
  private BigDecimal terminationFee;

  /**
   * 付款用户ID.
   */
  @TableField("host_user_id")
  private Long hostUserId;

  /**
   * 付款金币流水id.
   */
  @TableField("host_running_water_id")
  private Long hostRunningWaterId;

  /**
   * 收款用户ID.
   */
  @TableField("payee_user_id")
  private Long payeeUserId;

  /**
   * 收款金币流水id.
   */
  @TableField("payee_running_water_id")
  private Long payeeRunningWaterId;

  /**
   * 收款人收到金额.
   */
  @TableField("payee_amount")
  private BigDecimal payeeAmount;

}
