package com.cpop.core.base.enums;

import lombok.Getter;

/**
 * 初始化角色枚举
 * @author Administrator
 */
@Getter
public enum InitRoleEnum {
    /**
     * OAM超级管理员角色
     */
    SUPER_OAM_ROLE("1", "SuperOamAdmin", "SuperOamAdmin", -1, UserType.OAM_USER),
    /**
     * MALL超级管理员角色
     */
    SUPER_MALL_ROLE("2", "SuperMallAdmin", "SuperMallAdmin", -1, UserType.MALL_USER),
    /**
     * 企微注册初始化技术员工角色 
     */
    WX_CP_INIT_TECHNOLOGY_ROLE("3", "企微注册初始化技术员工角色", "RegisterTechnologyRole", 0, UserType.OAM_USER),
    /**
     * 企微注册初始化运营员工角色 
     */
    WX_CP_INIT_OPERATION_ROLE("4", "企微注册初始化运营员工角色", "RegisterOperationRole", 1, UserType.OAM_USER),;

    /**
     * 主键
     */
    private final String id;

    /**
     * 角色名称
     */
    private final String roleName;

    /**
     * 角色值
     */
    private final String roleValue;

    /**
     * 排序
     */
    private final Integer orderNo;

    /**
     * 用户类型
     */
    private final UserType userType;

    InitRoleEnum(String id, String roleName, String roleValue, Integer orderNo, UserType userType) {
        this.id = id;
        this.roleName = roleName;
        this.roleValue = roleValue;
        this.orderNo = orderNo;
        this.userType = userType;
    }
}
