2024-01-01 20:19:57 +00:00
|
|
|
from .user import User
|
2023-12-31 16:27:39 +00:00
|
|
|
|
|
|
|
class Admin(User):
|
|
|
|
'''
|
2024-01-02 22:22:14 +00:00
|
|
|
Class constructor to instatiate an admin object
|
2023-12-31 16:27:39 +00:00
|
|
|
|
2024-01-02 22:22:14 +00:00
|
|
|
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
|
|
|
|
)
|