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

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

The newest version!
package com.dahuatech.icc.event.enums;

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

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

    user_add("user.add","用户新增"),
    user_update("user.update","用户更新"),
    user_delete("user.delete","用户删除"),

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy