package com.zcloud.zcGbsServicer.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class VideoRoomAuthUserCmd extends Command {

    @NotNull(message = "会议室ID不能为空")
    @ApiModelProperty("会议室ID")
    private Long roomId;

    @NotBlank(message = "授权用户串不能为空")
    @ApiModelProperty("授权用户串，格式如 mike,2#king,3")
    private String roomUserStr;

    @ApiModelProperty("授权类型，0全量授权，1增量授权，默认1")
    private Integer authType;
}
