WMGZON/models/users/customer.py

15 lines
425 B
Python
Raw Normal View History

from .user import User
class Customer(User):
'''
Class constructor to instatiate a customer object
No additional properties are assigned to the customer
'''
2024-01-09 22:20:32 +00:00
def __init__(self, username: str, password: str, firstname: str,
lastname: str, email: str, phone: str):
super().__init__(
2024-01-09 22:20:32 +00:00
username, password, firstname, lastname, email, phone, "Customer"
)