diff --git a/Design/recipeDatabaseModel.png b/Design/recipeDatabaseModel.png new file mode 100644 index 0000000..667888c Binary files /dev/null and b/Design/recipeDatabaseModel.png differ diff --git a/Design/recipeDatabaseModel.uxf b/Design/recipeDatabaseModel.uxf new file mode 100644 index 0000000..a298a76 --- /dev/null +++ b/Design/recipeDatabaseModel.uxf @@ -0,0 +1,141 @@ + + + 10 + + UMLClass + + 60 + 160 + 230 + 140 + + recipe +-- +recipeId INTEGER PRIMARY KEY +name varchar UNIQUE +authorName varchar +createdDate date +prepTime time +cookTime time +servingCount real + + + + UMLClass + + 60 + 310 + 260 + 80 + + ingredient +-- +ingredientId INTEGER PRIMARY KEY +foodGroup varchar +name varchar UNIQUE + + + + UMLClass + + 60 + 400 + 270 + 110 + + unitOfMeasure +-- +name varchar UNIQUE PRIMARY KEY +plural varchar +abbreviation varchar +type int +metricCoefficient real + + + + UMLClass + + 430 + 160 + 280 + 70 + + recipeTag +-- +recipeId int FOREIGN recipe(recipeId) +tagName varchar + + + + UMLClass + + 430 + 240 + 360 + 110 + + recipeIngredient +-- +recipeId FOREIGN recipe(recipeId) +ingredientId FOREIGN ingredient(ingredientId) +unitName varchar FOREIGN unitOfMeasure(name) +quantity real +comment varchar + + + + Relation + + 280 + 180 + 170 + 30 + + lt=<<- + 10.0;10.0;150.0;10.0 + + + Relation + + 340 + 180 + 110 + 110 + + lt=<<- + 10.0;10.0;10.0;90.0;90.0;90.0 + + + Relation + + 310 + 280 + 140 + 80 + + lt=<<- + 10.0;60.0;80.0;60.0;80.0;10.0;120.0;10.0 + + + Relation + + 320 + 300 + 130 + 150 + + lt=<<- + 10.0;130.0;90.0;130.0;90.0;10.0;110.0;10.0 + + + UMLPackage + + 40 + 120 + 770 + 410 + + RecipeDatabase + + +