All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.dahuatech.icc.event.enums.RoleBusinessEnum Maven / Gradle / Ivy

There is a newer version: 1.0.13.7
Show newest version
package com.dahuatech.icc.event.enums;

import java.util.ArrayList;
import java.util.List;

/**
 * 组织业务事件推送
 * 参考 文档-附录-事件列表-基础事件-角色实时消息
 */
public enum RoleBusinessEnum {

    role_add("role.add","角色新增"),
    role_update("role.update","角色更新"),
    role_delete("role.delete","角色删除"),

    ;
    public String code;
    public String msg;
    RoleBusinessEnum(String code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public static List getBusinessTypes(){
        List list = new ArrayList<>();
        for(RoleBusinessEnum item : RoleBusinessEnum.values()){
            list.add(item.code);
        }
        return list;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy