WMGZON/models/users/admin.py

14 lines
434 B
Python

from .user import User
class Admin(User):
'''
Class constructor to instatiate an admin object
No additional properties are assigned to the admin
'''
def __init__(self, id: int, username: str, password: str, firstname: str,
lastname: str, email: str, phone: str, role: str):
super().__init__(
id, username, password, firstname, lastname, email, phone, role
)