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

/**
 * <p>
 * .
 * </p>
 *
 * @author pengshigang
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("game_room_vote_record")
public class GameRoomVoteRecord implements Serializable {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 标题.
   */
  @TableField("title")
  private String title;

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

  /**
   * 是否单选.
   */
  @TableField("is_single_choice")
  private Boolean singleChoice;

  /**
   * 类型.
   */
  @TableField("type")
  private String type;

  /**
   * 是否已结束.
   */
  @TableField("game_over")
  private Boolean gameOver;

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

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

  /**
   * 创建时间.
   */
  @TableField("create_time")
  private Timestamp createTime;

  /**
   * 创建用户.
   */
  @TableField("create_user")
  private Long createUser;

  /**
   * 修改时间.
   */
  @TableField("update_time")
  private Timestamp updateTime;

  /**
   * 修改用户.
   */
  @TableField("update_user")
  private Long updateUser;


}
