mirror of
https://github.com/cssgunc/compass.git
synced 2025-04-03 19:40:16 -04:00
13 lines
229 B
Python
13 lines
229 B
Python
from sqlalchemy import Enum
|
|
|
|
|
|
class RoleEnum(Enum):
|
|
"""Determine role for User"""
|
|
|
|
ADMIN = 'ADMIN'
|
|
EMPLOYEE = 'EMPLOYEE'
|
|
VOLUNTEER = 'VOLUNTEER'
|
|
|
|
def __init__(self):
|
|
super().__init__(name="role_enum")
|