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

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.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 房间内团队PK.
 * </p>
 *
 * @author pengshigang
 * @since 2022-03-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_indoor_team_pk_record")
public class GameIndoorTeamPkRecord extends TimestampBaseEntity {

  private static final long serialVersionUID = 1L;

  /**
   * 主键标识.
   */
  @TableId("id")
  private Long id;

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

  /**
   * 房间id.
   */
  @TableField("room_id")
  private Long roomId;

  /**
   * MVP用户id.
   */
  @TableField("mvp_user_id")
  private Long mvpUserId;

  /**
   * 蓝队积分.
   */
  @TableField("blue_team_score")
  private Long blueTeamScore;

  /**
   * 红队积分.
   */
  @TableField("red_team_score")
  private Long redTeamScore;

  /**
   * 游戏状态.
   */
  @TableField("game_status")
  private String gameStatus;

  /**
   * 游戏结束时间.
   */
  @TableField("end_time")
  private Timestamp endTime;

  /**
   * pk选定分钟数.
   */
  @TableField("pk_duration")
  private Long pkDuration;

  /**
   * 归属团队.
   */
  @TableField("belong_team")
  private String belongTeam;


}
