From 3c7156c264e56f68768d52a311385f998855f58b Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Sat, 31 Mar 2018 22:51:02 +0200 Subject: [PATCH] Added design info to repository. --- Design/recipeDatabaseModel.png | Bin 0 -> 5269 bytes Design/recipeDatabaseModel.uxf | 141 +++++++++++++++++++++++++++++++++ 2 files changed, 141 insertions(+) create mode 100644 Design/recipeDatabaseModel.png create mode 100644 Design/recipeDatabaseModel.uxf diff --git a/Design/recipeDatabaseModel.png b/Design/recipeDatabaseModel.png new file mode 100644 index 0000000000000000000000000000000000000000..667888c2509f3bdf4faa54de5f5d6e5fb23ccf5d GIT binary patch literal 5269 zcmZu#cT`i`@I&c``8F4KY>Bcg5+F>+|4GR%BoLh!jN@P}W*~(?JsLvUy z#-_Fx422HzLdp?I`+f$XFn$=f={ip1CMuqbar;`H+apo=ikla3EJta zo_Nl=q~N#iHdePA%dOBwApD{1)WxEQaBy_|wL1Jlv8}C*uOK5sl?N*Tg?Zn5zCT43 z)D_RK-gLZYxmj6J!Qw|PwzKlXgMby^a*UpnY}!`~9IJ94$$-6>wHLuL$++ay)mfzX zmpc&x9 z4JgY7^xsL0z^R?ZD7@m`6o$ezT)hdjkyP&wcb2v{nolj9fBJJph46x~w=k%THXyxU zw)BBeT}cltFD*4>`d$iER8-{Ww_hKvg+L%%w&wBDA|gwFn%XuZw{u6%M+R+-RF}wI zXQJzH-<)nkMH=XE?>N2UlwChqNSD2zrWA0qf9}fSVqca!vBJE{?cI@Teya;r_b>eI zB$>`7AO8wW!=h#N<5ygAPX_Tuzkh8=N=laG=gWD|-@bPbdrexm3Q|~5SQy8vqU^Ky z4FvgK+J}OIg6wQTB_(e6HurNaO@8a6$lf%i!%`3{>pCB)!D~W7PP@y0D*5ji7OjCQ z8!Ip=ysQ7t(tAYkh2Or22G=AUVc!AG04Cp_|(L{F7DAjYr@4$OZW5 zarqfrKWu~BIy!6{p7ojHCzlm`SIsug%NEH4f5*QjN)kR)R3HcyeKFDRzGHPyzm%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4xhIyzDN{y=q%23E`glwE$w`(X3XuWu#Y;X9$&y`3IX|FA|w zqxlC~84Id3)E;MSVE9hf!v<7cdcb@7F|h+*fEe; z{-LR<$swF#2-8@nh|eGe2fz5s;z?jnirfnYY558ZTY4l)_n7_rjDIblpPMrsS(TYu z>j{T4-HgsXDN!(rOW&y90ovrGud|KG5LgPy&pLZkP!W)qQ>dKs($Z4R;UqD%Pmd(t z_zXWCUKm;$$V-;>_{#)6w>-%B6)~UHAx1(P&S5dc-n{5+fNzU`lsjb*bf>7b08se+ z42QjH?LDxpBpKJR(Dz`!Mi`aX zx)LgkN*Q^1n>{9!S;7s(qD^X`Dm&lQ0XI_dnug!GL-$x2bf5m`V%Q<)YsMYVxU+oE zwVvmkc?LmrpIqwndd-zSIEdh)q5T!dqeRTnVzD=-7fei|Ok_RA17}{z0-+w$ntLbN`TqUY(b~I~ zPAdo{bT Fe*sO?HZK4G literal 0 HcmV?d00001 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 + + +