package com.red.circle.mq.business.model.event.room;

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;

/**
 * 房间创建成功,消息队列命令.
 *
 * @author pengliang on 2021/2/20
 */
@Data
@Accessors(chain = true)
public class RoomVoiceCreateSuccessEvent implements Serializable {

  private static final long serialVersionUID = 1L;

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

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

  /**
   * 房间封面.
   */
  private String roomCover;

  /**
   * 系统来源.
   */
  private String sysOrigin;
}
