17 lines
		
	
	
		
			461 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			461 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from .user import User
 | |
| 
 | |
| 
 | |
| class Seller(User):
 | |
|     '''
 | |
|         Class constructor to instatiate a customer object
 | |
| 
 | |
|         No additional properties are assigned to the customer
 | |
|     '''
 | |
| 
 | |
|     def __init__(self, username: str, password: str, firstname: str,
 | |
|                  lastname: str, email: str, phone: str):
 | |
|         super().__init__(
 | |
|             username, password, firstname, lastname, email, phone, "Seller"
 | |
|         )
 | |
|         self.store = ""
 |