package com.yonge.cooleshow.biz.dal.dto;

import com.microsvc.toolkit.middleware.rtc.message.RTCRoomConfig;
import com.yonge.cooleshow.biz.dal.entity.ImNetworkRoom;
import com.yonge.cooleshow.biz.dal.entity.ImNetworkRoomMember;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Data
public class ImNetworkRoomResult extends ImNetworkRoom {

    @ApiModelProperty(value = "陪练课结束后，XX分钟关闭房间")
    private String autoCloseNetworkRoomTime = "15";

    @ApiModelProperty(value = "课程结束后是否关闭教室")
    private Boolean autoCloseFlag = true;

    @ApiModelProperty(value = "当前课程剩余时长")
    private Integer surplusTime;

    @ApiModelProperty(value = "房间成员列表，包含当前用户;")
    private List<ImNetworkRoomMemberResult> members;

    @ApiModelProperty(value = "当前用户")
    private ImNetworkRoomMemberResult userInfo;

    @ApiModelProperty(value = "节拍器参数")
    private ImNetworkMetronomeMessage playMidiJson = new ImNetworkMetronomeMessage();

    @ApiModelProperty("RTC接入参数")
    private RTCRoomConfig rtcRoomConfig;

    @ApiModelProperty("直播间用户签名")
    private String userSig;

    @ApiModelProperty("群组id")
    private String groupId;

    @ApiModelProperty("当前课程所有学员人数")
    private Integer studentNums;
}
