package com.cpop.core.base.enums;

import lombok.Getter;

/**
 * 用户类型
 * @author DB
 */
@Getter
public enum UserType {

    /**
     * oam系统员工
     */
    OAM_USER(0, "oam:loginUser:"),
    ;

    /**
     * code
     */
    private final Integer code;

    /**
     * redisKey
     */
    private final String key;

    UserType(Integer code, String key) {
        this.code = code;
        this.key = key;
    }

}
