WMGZON/models/users/seller.py

15 lines
448 B
Python
Raw Normal View History

from .user import User
class Seller(User):
'''
2024-01-02 22:22:14 +00:00
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):
2024-01-02 22:22:14 +00:00
super().__init__(
2024-01-09 22:20:32 +00:00
id, username, password, firstname, lastname, email, phone, "Seller"
2024-01-02 22:22:14 +00:00
)
self.store = ""