Task 2 done

This commit is contained in:
Maciekxdabu 2022-11-03 21:41:45 +01:00
parent 9b8ce16c79
commit 278eabe3a4
4 changed files with 10 additions and 68 deletions

View File

@ -1,67 +1 @@
<mxfile host="65bd71144e"> <mxfile host="app.diagrams.net" modified="2022-11-03T20:39:43.537Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" version="20.5.1" etag="CZnq86MeOYM7Z7e8bJhO" type="device"><diagram id="CCzbelAdY-_EfAq5Ly9S" name="Page-1">7VnbUuM4EP2aPEI5vuTymIQMM1VhSAFbu/MobCXWxrayskwIX78tW/JNgnWIhy2q4IFY7ZYl9Tl91JYHziJ+vmZoH97QAEcD2wqeB87VwIY/dwo/wnIsLMOpNSosW0YCaasM9+QFS6MlrRkJcNpw5JRGnOybRp8mCfZ5w4YYo4em24ZGzVH3aIs1w72PIt36Jwl4WFgn9riyf8dkG6qRhyO54hgpZ7mSNEQBPdRMznLgLBilvLiKnxc4EtFTcSn6fXvlbjkxhhPepYM7KXo8oSiTi4OgcYZ8joM8rHKe/KgWjwOIhWwmNIGfecjjCFpDuEw5YnwmYgyG5d0LZvSB3qDkqO59I5HwtaCNk0B5+oT54onCVvPIe0j8bdlFNoeiuYG5qtsutPXly4ikNGM+VgSUlEFsi6Wb7RU2sbhaRxm0a0xjzNkRHBiOECdPTSIgyadt6VeFHC5k1M0IqNnUEFivZr+Wd1rg0wOJI5QH3A9JFKzQkWZi/hAlf6da85Ay8gJxQQ1IZJQcq+FxL3rKWDOaJQEOZKd2ZPO2nEuBDKO7kv226I9T8F+r2FulaYVSrqai6C7uBigN8/FEA0VkmwgiQG/M3oLyCTOOn98ESd2dji8lrlJpvIlsH6q0LVUlrKWso4xnQeto0A7sOeKckceMg4ABpb15LJLDuxos7MEMBgUldHJug+sGPQFvCcciEjQlnNCk6cHwPuNIt6skzhmEeJY2b5Pkb3guTtsP44ThWAS8YRdq2DAcwNLqC6Ml6QaQU8tts1cBHOENL/mzoBFllY5sIPNbpnSPfJJsV3mvK9fATMEHAto8kwNwulfUQ48lXxmFMNTaQCxFSp1pZU7+N9UksRyrG6/sSQ+88nTR5mgHUSqWIUAnSR+6fVtA8LpstwS+s3jb7xdvVxdvx/nfxNvVkFis/ph/Sfe50m1bTeG2PV24h1NPT7DSeBasnkm4H7NAUK6l0D6JQJdzMf8ng1DwYzeFBmgDksXQLaK+UcGzpAgJ3Yh/jGwNSf2pVNXtzILXVdUM+qgH0EeWBroUUwHASWKKBXJ/icalNbSV4ZcI0qXjuMpw9Vwqqmgd6601ZgSWIPKpEtNKdmHILmX18g6qi6CQ8Y8Q5/FHiHPeFVaIjjWHPSUJT2tPXgtDJShjtRsrarWoUTyvIko5sW6CMda4czN7WHz/2gjO3QhGThM32zNowthUaXl9VPB6pSWk26cMa2rOSQqK2SqLodiHxEKJ366gMeKhqJbrxiBjho0gQBy3txQotLF4KUhQ/Mkr7XFnQryxJxjxt/uotEca/gfKdul5xXWlyb9Fusvd58K6tKxJa/uZOO/Zft63HUz17aDzQYskg1iD06wFL+RQp20Y1Y6gXOhmk4p6rkWHE5V/alD+n7Prr/Ob87X/YthF/Kem5Ld6SH5HLwgNxzcRyL44vulU9J90wvK5hX3aGe23in0DtqXan4Wtfuq6uL1ZLx9+PPy4/fmVun2/v19MDAdklgndaR/oGg9eUx/WnEWtTNszEeour96Gt/euGvCJE7nMlLPOQo1Qj/qo0HSoOdrl4tzTUWjc4S37w09BPUNlNX5HZaU+TB4bQ/X1Kl59dvwttddIF3FbwxpIy5v4anrXzpqYBEH+MbKdOHJl8FxvLvIdnpVxmsoPkidkcmfQuyuua7UOOGw9DV1DFrqnJyE0qy/UBW7Vh35n+S8=</diagram></mxfile>
<diagram id="CCzbelAdY-_EfAq5Ly9S" name="Page-1">
<mxGraphModel dx="591" dy="904" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="48" value="contracted to" style="edgeStyle=none;html=1;startArrow=ERzeroToMany;startFill=0;endArrow=circle;endFill=0;startSize=20;endSize=15;" parent="1" source="22" target="25" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="22" value="Player" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1">
<mxGeometry x="280" y="560" width="160" height="175" as="geometry"/>
</mxCell>
<mxCell id="23" value="+attributes [many] &#10;+favourite position&#10;+reputation&#10;+contract status&#10;+injuries&#10;+retirement&#10;+age&#10;+wages&#10;+transfer value" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="22" vertex="1">
<mxGeometry y="30" width="160" height="145" as="geometry"/>
</mxCell>
<mxCell id="58" value="taking part in" style="edgeStyle=none;html=1;startArrow=ERzeroToOne;startFill=0;endArrow=ERzeroToMany;endFill=0;startSize=20;endSize=20;" parent="1" source="24" target="33" edge="1">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="24" value="Club" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1">
<mxGeometry x="275" y="310" width="170" height="120" as="geometry"/>
</mxCell>
<mxCell id="25" value="+budget&#10;+facilities quality&#10;+reputation&#10;+stadium location&#10;+country of origin" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="24" vertex="1">
<mxGeometry y="30" width="170" height="90" as="geometry"/>
</mxCell>
<mxCell id="60" value="part of" style="edgeStyle=none;html=1;entryX=1.012;entryY=0.334;entryDx=0;entryDy=0;entryPerimeter=0;startArrow=ERoneToMany;startFill=0;endArrow=ERmandOne;endFill=0;startSize=20;endSize=20;" parent="1" source="27" target="33" edge="1">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="690" y="120"/>
</Array>
</mxGeometry>
</mxCell>
<mxCell id="27" value="Match" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1">
<mxGeometry x="610" y="310" width="160" height="145" as="geometry"/>
</mxCell>
<mxCell id="28" value="+score&#10;+statistics&#10;+attendance&#10;+weather&#10;+duration&#10;+date&#10;+referee name" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="27" vertex="1">
<mxGeometry y="30" width="160" height="115" as="geometry"/>
</mxCell>
<mxCell id="56" value="works" style="edgeStyle=none;html=1;startArrow=ERmandOne;startFill=0;endArrow=ERmandOne;endFill=0;startSize=20;endSize=20;entryX=-0.008;entryY=0.383;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="29" target="25" edge="1">
<mxGeometry x="-0.035" y="-1" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="29" value="Manager" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1">
<mxGeometry x="10" y="315" width="160" height="115" as="geometry"/>
</mxCell>
<mxCell id="30" value="+attributes [list]&#10;+reputation&#10;+retirement&#10;+age&#10;+wage" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="29" vertex="1">
<mxGeometry y="30" width="160" height="85" as="geometry"/>
</mxCell>
<mxCell id="32" value="Competition" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=30;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;" parent="1" vertex="1">
<mxGeometry x="280" y="60" width="160" height="120" as="geometry"/>
</mxCell>
<mxCell id="33" value="+schedule&#10;+prize&#10;+country of origin&#10;+stadiums [list]&#10;+reputation" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;" parent="32" vertex="1">
<mxGeometry y="30" width="160" height="90" as="geometry"/>
</mxCell>
<mxCell id="53" value="takes part in" style="edgeStyle=none;html=1;startArrow=ERmany;startFill=0;endArrow=ERzeroToMany;endFill=0;startSize=20;endSize=20;" parent="1" source="25" target="27" edge="1">
<mxGeometry x="-0.0369" y="1" relative="1" as="geometry">
<Array as="points"/>
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="62" value="2" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="460" y="350" width="20" height="20" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>

Binary file not shown.

View File

@ -1,7 +1,8 @@
\documentclass{report} \documentclass{report}
\usepackage{graphicx}
\begin{document} \begin{document}
\chapter{Textual description of a database} \chapter{Task 1 - Textual description of a database}
\section{Aim} \section{Aim}
Football manager database in order to be able to simulate football manager game. \\ Football manager database in order to be able to simulate football manager game. \\
@ -37,6 +38,13 @@ players playing in matches \\
staff being exchanged between clubs, staff signed to club, staff released from club, \\ staff being exchanged between clubs, staff signed to club, staff released from club, \\
Competition organizing matches Competition organizing matches
\chapter{Task 2 - ERD - Entity Relationship Diagram}
\begin{figure}[htpb]
\centering
\includegraphics[width=0.8\textwidth]{erd.pdf}
\caption{ERD}
\label{fig:tikzpgf}
\end{figure}
\end{document} \end{document}

BIN
textual-description/erd.pdf Normal file

Binary file not shown.