-
Notifications
You must be signed in to change notification settings - Fork 0
/
VideoRentalApplication.drawio
83 lines (83 loc) · 8.48 KB
/
VideoRentalApplication.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<mxfile host="app.diagrams.net" modified="2023-07-21T06:10:27.156Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" etag="NRupbvvvWAiTISyYWmCK" version="21.6.3" type="github">
<diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1">
<mxGraphModel dx="977" dy="591" 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" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="gJuriju9y80G5zxLAc2--1" value="Movie" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="550" y="220" width="160" height="140" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--2" value="barcode (string)<br>dailyRentalRate (float)<br>numberInStock (tiny integer)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="gJuriju9y80G5zxLAc2--1">
<mxGeometry y="50" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--3" value="User" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="80" y="100" width="160" height="110" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--4" value="username (string)<br>password (string)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="gJuriju9y80G5zxLAc2--3">
<mxGeometry y="50" width="160" height="60" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--5" value="Rental" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="290" y="400" width="160" height="100" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--6" value="rentDate (date)<br>returnDate (date)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="gJuriju9y80G5zxLAc2--5">
<mxGeometry y="50" width="160" height="50" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--9" value="belongs to" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmany;startArrow=ERone;rounded=0;exitX=0;exitY=0.25;exitDx=0;exitDy=0;entryX=1;entryY=0.25;entryDx=0;entryDy=0;endFill=0;startFill=0;" edge="1" parent="1" source="gJuriju9y80G5zxLAc2--22" target="gJuriju9y80G5zxLAc2--4">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="600.96" y="270" as="sourcePoint" />
<mxPoint x="60" y="313.72" as="targetPoint" />
<Array as="points">
<mxPoint x="230" y="318.72" />
<mxPoint x="-150" y="488.72" />
<mxPoint x="-140" y="468.72" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--10" value="Customer" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="90" y="240" width="160" height="130" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--11" value="firstName (string)<br style="border-color: var(--border-color);">lastName (string)<br style="border-color: var(--border-color);">email (string)<br style="border-color: var(--border-color);">phone (string)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="gJuriju9y80G5zxLAc2--10">
<mxGeometry y="50" width="160" height="80" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--15" value="Coupon" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=50;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="550" y="390" width="160" height="120" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--16" value="code (string)<br>description (string)<br>discount (float)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="gJuriju9y80G5zxLAc2--15">
<mxGeometry y="50" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--17" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERone;startArrow=ERmany;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;endFill=0;" edge="1" parent="1" source="gJuriju9y80G5zxLAc2--6" target="gJuriju9y80G5zxLAc2--2">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="410" y="450" as="sourcePoint" />
<mxPoint x="510" y="350" as="targetPoint" />
<Array as="points">
<mxPoint x="540" y="450" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--18" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERmany;startArrow=ERone;rounded=0;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;startFill=0;" edge="1" parent="1" source="gJuriju9y80G5zxLAc2--11" target="gJuriju9y80G5zxLAc2--6">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="270" y="390" as="sourcePoint" />
<mxPoint x="370" y="290" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--19" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERzeroToOne;startArrow=ERmany;rounded=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;exitX=1;exitY=0.75;exitDx=0;exitDy=0;endFill=0;" edge="1" parent="1" source="gJuriju9y80G5zxLAc2--6" target="gJuriju9y80G5zxLAc2--16">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="520" y="610" as="sourcePoint" />
<mxPoint x="620" y="510" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--20" value="applied to" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="gJuriju9y80G5zxLAc2--19">
<mxGeometry x="-0.0568" y="1" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--21" value="Role" style="swimlane;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;rounded=1;fontSize=14;fontStyle=0;strokeWidth=2;resizeParent=0;resizeLast=1;shadow=0;dashed=0;align=center;arcSize=4;whiteSpace=wrap;html=1;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="1">
<mxGeometry x="540" y="100" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="gJuriju9y80G5zxLAc2--22" value="name (string)" style="align=left;strokeColor=none;fillColor=none;spacingLeft=4;fontSize=12;verticalAlign=top;resizable=0;rotatable=0;part=1;html=1;" vertex="1" parent="gJuriju9y80G5zxLAc2--21">
<mxGeometry y="50" width="160" height="40" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>