XH_Digital_Management/application/accounts/viewmodels.py

11 lines
418 B
Python
Raw Permalink Normal View History

2024-06-13 23:40:57 +08:00
class UserPermissionItem:
def __init__(self, id, name, email, department, position, employment_status, account_status, is_superuser):
self.id = id
self.name = name
self.email = email
self.department = department
self.position = position
self.employment_status = employment_status
self.account_status = account_status
self.is_superuser = is_superuser