package com.wecloud.im.biz.module.message.controller.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

import com.wecloud.im.biz.enums.MutedEnum;

/**
 * <pre>
 * 会话成员表 分页参数对象
 * </pre>
 *
 * @author wei
 * @date 2021-05-07
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "ImConversationMembersListParam")
public class ListConversationMembersParam implements Serializable {

    private static final long serialVersionUID = -1445614972142934174L;

    @ApiModelProperty(value = "会话表id", required = true)
    private Long conversationId;

    @ApiModelProperty(value = "角色列表 可多选，不传则查全部")
    private List<Integer> roles;

    /**
     * 禁言开关
     * @see MutedEnum
     */
    @ApiModelProperty("禁言开关 1-未禁言 2-禁言")
    private Integer muted;

    @ApiModelProperty(value = "clientId列表，传了则只查询指定入参群成员", required = true)
    private List<String> clientIds;

}
