package com.red.circle.other.app.dto.clientobject.game;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 正在房间内PK的双方人员信息.
 *
 * @author pengshigang on 2021/9/25
 */
@Data
@Accessors(chain = true)
public class GameRoomPkUserCO implements Serializable {

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

  /**
   * 结束时间.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long overTime;

  /**
   * 发起人用户ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long sponsorUserId;

  /**
   * 发起人用户区域
   */
  private String sponsorUserRegion;

  /**
   * 发起人用户账号.
   */
  private String sponsorUserAccount;

  /**
   * 发起人房间id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long sponsorRoomId;

  /**
   * 发起人名称
   */
  private String sponsorName;

  /**
   * 发起人头像.
   */
  private String sponsorCover;

  /**
   * 发起人积分
   */
  private Long sponsorIntegral;

  /**
   * 发起人道具头像.
   */
  private String sponsorPropsCover;

  /**
   * 发起人道具头像资源链接.
   */
  private String sponsorPropsSourceUrl;

  /**
   * 接受人用户ID.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long recipientUserId;

  /**
   * 接受人名称
   */
  private String recipientName;

  /**
   * 接受人用户账号.
   */
  private String recipientUserAccount;

  /**
   * 接受人房间id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long recipientRoomId;

  /**
   * 接受人头像.
   */
  private String recipientCover;

  /**
   * 接收人积分
   */
  private Long recipientIntegral;

  /**
   * 接收人道具头像.
   */
  private String recipientPropsCover;

  /**
   * 接收人道具头像资源链接.
   */
  private String recipientPropsSourceUrl;

  /**
   * pk类型
   */
  private String pkType;


}
