Created a set of base models to begin fleshing out the data aspect of the application

This commit is contained in:
2023-12-31 16:27:39 +00:00
parent 213fc9c503
commit 54877495f0
10 changed files with 137 additions and 0 deletions

25
models/users/admin.py Normal file
View File

@@ -0,0 +1,25 @@
from user import User
class Admin(User):
'''
Class constructor to instatiate an Admin object
'''
def __init__(self):
super().__init__()
self.store = ""
def login():
print("Logging in as Admin")
def signup():
print("Signing up as Admin")
def createProduct():
pass
def deleteProduct():
pass
def updateProduct():
pass