package com.red.circle.console.app.dto.clienobject.game;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.live.RoomProfileDTO;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serializable;
import java.sql.Timestamp;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * Team PK.
 *
 * @author pengshigang on 2022/9/14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameTeamPkCO implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 记录编号.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * 系统.
   */
  private String sysOrigin;

  /**
   * mvp用户.
   */
  private UserProfileDTO msvUserProfile;

  /**
   * 房间.
   */
  private RoomProfileDTO roomProfile;

  /**
   * 蓝队积分.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long blueTeamScore;

  /**
   * 红队积分.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long redTeamScore;

  /**
   * 游戏开始时间
   */
  private Timestamp createTime;

}
