Files
lablesys_backend/src/main/java/com/labelsys/backend/enums/UserRole.java

17 lines
400 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.labelsys.backend.enums;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
@Getter
@RequiredArgsConstructor
@Schema(description = "角色枚举枚举值EMPLOYEE员工、MANAGER部门经理、ENGINEER总工程师")
public enum UserRole {
EMPLOYEE(1),
MANAGER(2),
ENGINEER(3);
private final int level;
}