You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iTi-System/iti_system/enums.py

35 lines
581 B
Python

from __future__ import annotations
from enum import Enum
class GenderEnum(str, Enum):
MALE = "male"
FEMALE = "female"
SECURE = "secure"
class StatusEnum(str, Enum):
ENABLED = "enabled"
DISABLED = "disabled"
class MenuTypeEnum(str, Enum):
CATALOG = "catalog"
MENU = "menu"
BUTTON = "button"
EMBEDDED = "embedded"
LINK = "link"
class LogType(str, Enum):
SYSTEM = "SYSTEM"
AUTH = "AUTH"
OPERATION = "OPERATION"
AUDIT = "AUDIT"
SECURITY = "SECURITY"
JOB = "JOB"
API = "API"
DB = "DB"
OTHER = "OTHER"