2024-01-01 20:19:57 +00:00
|
|
|
from .user import User
|
2023-12-31 16:27:39 +00:00
|
|
|
|
2024-01-21 22:06:06 +00:00
|
|
|
|
2023-12-31 16:27:39 +00:00
|
|
|
class Customer(User):
|
|
|
|
'''
|
|
|
|
Class constructor to instatiate a customer object
|
|
|
|
|
|
|
|
No additional properties are assigned to the customer
|
|
|
|
'''
|
2024-01-21 22:06:06 +00:00
|
|
|
|
|
|
|
def __init__(self, username: str, password: str, firstname: str,
|
2024-01-09 22:20:32 +00:00
|
|
|
lastname: str, email: str, phone: str):
|
2024-01-01 23:13:09 +00:00
|
|
|
super().__init__(
|
2024-01-09 22:20:32 +00:00
|
|
|
username, password, firstname, lastname, email, phone, "Customer"
|
2024-01-01 23:13:09 +00:00
|
|
|
)
|