Skip to content

Commit

Permalink
edits to erd and addition of chef/main model
Browse files Browse the repository at this point in the history
  • Loading branch information
montymi committed Mar 7, 2024
1 parent a304632 commit 46a6583
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions src/model/chef.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
from controller.dataControllerv2 import DataController2 as DataController

USER='default'
DB='lazygrocer'

class Chef:
def __init__(self, dc: DataController, username: str=USER, database: str=DB):
self.dc = dc
self.username = username
self.database = database

# favorites
def read_favorites(self):
pass

# recipe list
def create_recipe_list(self, name: str, desc: str='', recipes: tuple=()):
pass

def read_recipe_list(self, name: str):
pass

def update_recipe_list(self, name: str, desc: str='', recipes: tuple=()):
pass

def delete_recipe_list(self, name: str):
pass

# ingredient list
def create_ingredient_list():
pass

def read_ingredient_list():
pass

def update_ingredient_list():
pass

def delete_ingredient_list():
pass

0 comments on commit 46a6583

Please sign in to comment.