package com.red.circle.order.infra.database.rds.entity.count;

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.io.Serial;
import java.math.BigDecimal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户退款影响至主播业绩减少情况记录表.
 * </p>
 *
 * @author pengshigang
 * @since 2021-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_refund_anchor_track_record")
public class RoomRefundAnchorTrackRecord extends TimestampBaseEntity {

  @Serial
  private static final long serialVersionUID = 1L;

  @TableId("id")
  private Long id;

  /**
   * 来源系统.
   */
  @TableField("sys_origin")
  private String sysOrigin;

  /**
   * 主播业绩被减少的年月.
   */
  @TableField("years")
  private Integer years;

  /**
   * 主播用户id.
   */
  @TableField("anchor_user_id")
  private Long anchorUserId;

  /**
   * 退款人用户id.
   */
  @TableField("refunder_user_id")
  private Long refunderUserId;

  /**
   * 主播被减少的糖果数.
   */
  @TableField("candy_quantity")
  private BigDecimal candyQuantity;

}
