package com.red.circle.live.app.dto.clientobject;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.other.inner.model.dto.user.OwnSpecialIdDTO;
import com.red.circle.other.inner.model.dto.user.props.UserUsePropsDTO;
import java.io.Serial;
import java.io.Serializable;
import java.util.List;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 直播麦克风用户.
 *
 * @author pengliang on 2023/12/8
 */
@Data
@Accessors(chain = true)
public class LiveMicUserCO implements Serializable {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long id;

  /**
   * CP用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long cpUserId;

  /**
   * 账号.
   */
  private String account;

  /**
   * 头像.
   */
  private String userAvatar;

  /**
   * 用户昵称.
   */
  private String userNickname;

  /**
   * 用户性别:0 女，1 男.
   */
  private Integer userSex;

  /**
   * 拥有的靓号.
   */
  private OwnSpecialIdDTO ownSpecialId;

  /**
   * 使用的道具.
   */
  private List<UserUsePropsDTO> useProps;

  /**
   * 角色.
   */
  private String roles;

  /**
   * 魅力等级.
   */
  private Integer charmLevel;


  /**
   * 心动值
   */
  private Long heartbeatVal;

  /**
   * 是否幽灵用户
   */
  private Boolean isGhost;

}
