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 com.red.circle.common.business.enums.SVIPLevelEnum;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.live.RoomProfileDTO;
import com.red.circle.other.inner.model.dto.material.props.UserBackpackProps;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.sql.Timestamp;
import java.util.List;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 喇叭列表 前端控制器.
 * </p>
 *
 * @author pengshigang
 * @since 2022-8-9
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class GameTrumpetRecordCO extends ClientObject {

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

  /**
   * 用户资料.
   */
  private UserProfileDTO userProfileCO;

  /**
   * 房间资料.
   */
  private RoomProfileDTO roomProfileCO;

  /**
   * 信息内容.
   */
  private String message;

  /**
   * 记录创建时间.
   */
  private Timestamp createTime;

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

  /**
   * SVip等级.
   */
  private SVIPLevelEnum userSVipLevel;

}
