Skip to content

Commit

Permalink
Merge pull request #19 from CSE2102-Spring25/develop
Browse files Browse the repository at this point in the history
Milestone #4
  • Loading branch information
sed19015 authored Apr 4, 2025
2 parents 81c1dcf + e3abb14 commit 9bf5bfb
Show file tree
Hide file tree
Showing 11 changed files with 401 additions and 0 deletions.
Binary file removed docs/UseCase.drawio.pdf
Binary file not shown.
Binary file removed docs/adoptingapplicationprocess.drawio.pdf
Binary file not shown.
51 changes: 51 additions & 0 deletions docs/er-pet-adoption.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<mxfile host="65bd71144e">
<diagram id="X_PEzSOiQopxYavAu7Ki" name="Page-1">
<mxGraphModel dx="558" dy="662" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="7" style="edgeStyle=none;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="2" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="&lt;u&gt;User [primary key]&lt;/u&gt;&lt;div&gt;user_id&lt;/div&gt;&lt;div&gt;username&lt;/div&gt;&lt;div&gt;password&lt;/div&gt;&lt;div&gt;email&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="50" y="150" width="120" height="130" as="geometry"/>
</mxCell>
<mxCell id="3" value="&lt;div&gt;&lt;u&gt;Pet [primary key]&lt;/u&gt;&lt;/div&gt;&lt;div&gt;pet_id&lt;/div&gt;&lt;div&gt;name&lt;/div&gt;&lt;div&gt;type&lt;/div&gt;&lt;div&gt;breed&lt;/div&gt;&lt;div&gt;age&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="350" y="150" width="120" height="130" as="geometry"/>
</mxCell>
<mxCell id="8" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="11" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="5">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="12" style="edgeStyle=none;html=1;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="4" target="6">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="110" y="555"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="4" value="&lt;u&gt;Questionnaire [primary key]&lt;/u&gt;&lt;div&gt;questionnaire_id&lt;/div&gt;&lt;div&gt;user_id&lt;/div&gt;&lt;div&gt;responses&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="50" y="337.5" width="120" height="125" as="geometry"/>
</mxCell>
<mxCell id="9" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.5;entryY=1;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="3">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="10" style="edgeStyle=none;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="5" target="6">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="410" y="555"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="5" value="&lt;div&gt;&lt;u&gt;Adoption [foreign key]&lt;/u&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;adoption_id&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;user_id&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;pet_id&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;background-color: transparent;&quot;&gt;status&lt;/span&gt;&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="350" y="340" width="120" height="120" as="geometry"/>
</mxCell>
<mxCell id="6" value="&lt;u&gt;Connection [foreign key]&lt;/u&gt;&lt;div&gt;apply&lt;/div&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;" style="whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="190" y="490" width="120" height="130" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Binary file removed docs/erdiagram.pdf
Binary file not shown.
62 changes: 62 additions & 0 deletions docs/hld-pet-adoption.drawio

Large diffs are not rendered by default.

Binary file removed docs/hld.drawio.pdf
Binary file not shown.
163 changes: 163 additions & 0 deletions docs/seq-01-questionnaire.drawio
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
<mxfile host="65bd71144e">
<diagram id="5M-STFMHCT8KHxRorn2o" name="Page-1">
<mxGraphModel dx="677" dy="804" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="17" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;endArrow=none;endFill=0;" parent="1" source="2" target="3" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="2" value="applicant" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="50" y="150" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="3" value="applicant" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="50" y="520" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="4" value="system" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="260" y="150" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="6" value="system" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="260" y="520" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="7" value="PAO Management" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="490" y="150" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" value="PAO Management" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="490" y="520" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="14" value="database" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="710" y="150" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="15" value="database" style="whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="710" y="520" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="18" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;endArrow=none;endFill=0;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="319.09000000000003" y="210" as="sourcePoint"/>
<mxPoint x="319.09000000000003" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="19" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;endArrow=none;endFill=0;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="549.0899999999999" y="210" as="sourcePoint"/>
<mxPoint x="549.0899999999999" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" style="edgeStyle=none;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;dashed=1;endArrow=none;endFill=0;" parent="1" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="769.09" y="210" as="sourcePoint"/>
<mxPoint x="769.09" y="520" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="21" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" edge="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="110" y="260" as="sourcePoint"/>
<mxPoint x="320" y="260" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="28" value="login" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="21">
<mxGeometry y="6" relative="1" as="geometry">
<mxPoint x="-15" y="-4" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="22" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" edge="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="320" y="290" as="sourcePoint"/>
<mxPoint x="550" y="290" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="32" value="confirm questionnaire approval" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="22">
<mxGeometry x="-0.0268" y="3" relative="1" as="geometry">
<mxPoint y="-7" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="23" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" edge="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="550" y="390" as="sourcePoint"/>
<mxPoint x="770" y="390" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="33" value="reveal pets already selected" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="23">
<mxGeometry x="0.0273" y="11" relative="1" as="geometry">
<mxPoint x="1" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="24" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" edge="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="550" y="330" as="sourcePoint"/>
<mxPoint x="320" y="330" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="30" value="choose pet" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="24">
<mxGeometry x="-0.1204" y="2" relative="1" as="geometry">
<mxPoint x="-24" y="-12" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="25" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" parent="1" edge="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="320" y="480" as="sourcePoint"/>
<mxPoint x="110" y="480" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="29" value="response" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="25">
<mxGeometry x="0.1026" y="2" relative="1" as="geometry">
<mxPoint x="-4" y="-12" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="34" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="770" y="450" as="sourcePoint"/>
<mxPoint x="550" y="450" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="35" value="submit request for adoption" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="34">
<mxGeometry x="-0.1204" y="2" relative="1" as="geometry">
<mxPoint x="-24" y="-12" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="36" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="320" y="360" as="sourcePoint"/>
<mxPoint x="550" y="360" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="37" value="look for availability" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="36">
<mxGeometry y="6" relative="1" as="geometry">
<mxPoint x="-15" y="-4" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="41" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="550" y="460" as="sourcePoint"/>
<mxPoint x="320" y="460" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="42" value="&lt;span style=&quot;color: rgb(0, 0, 0);&quot;&gt;store adoption request&lt;/span&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="41">
<mxGeometry x="-0.1204" y="2" relative="1" as="geometry">
<mxPoint x="-24" y="-12" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="43" value="" style="edgeStyle=none;orthogonalLoop=1;jettySize=auto;html=1;" edge="1" parent="1">
<mxGeometry width="80" relative="1" as="geometry">
<mxPoint x="550" y="500" as="sourcePoint"/>
<mxPoint x="320" y="500" as="targetPoint"/>
<Array as="points"/>
</mxGeometry>
</mxCell>
<mxCell id="44" value="store adoption request" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="43">
<mxGeometry x="-0.1204" y="2" relative="1" as="geometry">
<mxPoint x="-24" y="-12" as="offset"/>
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>
Loading

0 comments on commit 9bf5bfb

Please sign in to comment.