package com.wecloud.im.param;

import io.geekidea.springbootplus.framework.common.enums.BaseEnum;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 *
 * @Author luozh
 * @Date 2022年04月27日 17:26
 * @Version 1.0
 */
public enum ChatSettingTypeEnum implements BaseEnum {

    /**
     * 1-置顶
     */
    TOP(1, "置顶"),
    /**
     * 2-消息免打扰
     */
    DO_NOT_DISTURB(2, "消息免打扰"),
    ;


    ChatSettingTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @JsonValue
    @EnumValue
    private final Integer code;

    private final String desc;


    @Override
    public Integer getCode() {
        return null;
    }

    @Override
    public String getDesc() {
        return null;
    }
}
