-
Notifications
You must be signed in to change notification settings - Fork 0
/
UML.drawio
123 lines (123 loc) · 15.2 KB
/
UML.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<mxfile host="app.diagrams.net" modified="2024-04-25T17:03:09.062Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" etag="w3WRcugdbcwitggiS_4s" version="24.3.0" type="device" pages="4">
<diagram name="Page-1" id="hWpBkVe7GevcdBrhHq9q">
<mxGraphModel dx="482" dy="435" 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="Q98jMoH5q6C-Ec3pWlOa-5" value="Room" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="335" y="360" width="240" height="270" as="geometry">
<mxRectangle x="370" y="360" width="100" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-6" value="# id: int<div># typeroom: string</div><div># status: string</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Q98jMoH5q6C-Ec3pWlOa-5">
<mxGeometry y="26" width="240" height="54" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Q98jMoH5q6C-Ec3pWlOa-5">
<mxGeometry y="80" width="240" height="8" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-8" value="{virtual}+InformationRoom()<div>{virtual}+RoomCharge()</div><div>+ GetID(): int</div><div>+ GetTypeRoom(): string</div><div>+ GetNameGuest(): string</div><div>+ GetStatus(): string</div><div>+ SetID(int id): void</div><div>+ SetTypeRoom(string typeroom): void</div><div>+ SetStatus(string status): void</div><div>+ SetNameGuest(string nameguest): void</div><div>+ PrintStatus(): void</div><div>+ docFile():void</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Q98jMoH5q6C-Ec3pWlOa-5">
<mxGeometry y="88" width="240" height="182" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-13" value="SingleRoom" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="550" y="690" width="150" height="70" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-14" value="+ RoomCharge(): float<div>+ InformationRoom(): void</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Q98jMoH5q6C-Ec3pWlOa-13">
<mxGeometry y="26" width="150" height="44" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-17" value="DoubleRoom" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="380" y="690" width="150" height="70" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-18" value="+ RoomCharge(): float<div>+ InformationRoom(): void</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Q98jMoH5q6C-Ec3pWlOa-17">
<mxGeometry y="26" width="150" height="44" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-19" value="BusinessRoom" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="210" y="690" width="150" height="70" as="geometry" />
</mxCell>
<mxCell id="Q98jMoH5q6C-Ec3pWlOa-20" value="+ RoomCharge(): float<div>+ InformationRoom(): void</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Q98jMoH5q6C-Ec3pWlOa-19">
<mxGeometry y="26" width="150" height="44" as="geometry" />
</mxCell>
<mxCell id="Hfukt-WmPt6YmbrofiP8-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.501;entryY=1.001;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="Q98jMoH5q6C-Ec3pWlOa-17" target="Q98jMoH5q6C-Ec3pWlOa-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Hfukt-WmPt6YmbrofiP8-2" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.201;entryY=1.002;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="Q98jMoH5q6C-Ec3pWlOa-19" target="Q98jMoH5q6C-Ec3pWlOa-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="Hfukt-WmPt6YmbrofiP8-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=0.793;entryY=0.999;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="Q98jMoH5q6C-Ec3pWlOa-13" target="Q98jMoH5q6C-Ec3pWlOa-8">
<mxGeometry relative="1" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="nGjcyAadgueXaqeg2wjL" name="Page-2">
<mxGraphModel dx="692" dy="614" 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="GeinXadjffMx5rDtktoA-1" value="Guest" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="319" y="50" width="190" height="300" as="geometry" />
</mxCell>
<mxCell id="GeinXadjffMx5rDtktoA-2" value="# name: string<div># phonenum: strign</div><div># cmnd: string</div><div># mail: string</div><div># typeguest: string</div><div># renttime: int</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="GeinXadjffMx5rDtktoA-1">
<mxGeometry y="26" width="190" height="94" as="geometry" />
</mxCell>
<mxCell id="GeinXadjffMx5rDtktoA-3" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="GeinXadjffMx5rDtktoA-1">
<mxGeometry y="120" width="190" height="8" as="geometry" />
</mxCell>
<mxCell id="GeinXadjffMx5rDtktoA-4" value="{virtual}+InformationGuest(): void<div>{virtual}+discount(): float</div><div>+ PrintInforGuest(): void</div><div>+ docFile(): void</div><div>+ inputinformation(): void</div><div>+ GetName(): string</div><div>+ GetPhone(): string</div><div>+ GetID(): string</div><div>+ GetMail(): string</div><div>+ GetTypeGuest(): string</div><div>+GetRenttime(): int</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="GeinXadjffMx5rDtktoA-1">
<mxGeometry y="128" width="190" height="172" as="geometry" />
</mxCell>
<mxCell id="GeinXadjffMx5rDtktoA-5" value="RegularGuest" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="480" y="390" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="GeinXadjffMx5rDtktoA-6" value="+ discount(): float<div>+ InformationGuest(): void</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="GeinXadjffMx5rDtktoA-5">
<mxGeometry y="26" width="160" height="44" as="geometry" />
</mxCell>
<mxCell id="GeinXadjffMx5rDtktoA-9" value="RegularGuest" style="swimlane;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="170" y="390" width="160" height="70" as="geometry" />
</mxCell>
<mxCell id="GeinXadjffMx5rDtktoA-10" value="+ discount(): float<div>+ InformationGuest(): void</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="GeinXadjffMx5rDtktoA-9">
<mxGeometry y="26" width="160" height="44" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="hwZ6v-L74ZIzPN82T1W_" name="Page-3">
<mxGraphModel dx="588" dy="522" 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="_QLliVhAQ1nkf0STbq_G-1" value="Quanly" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="190" y="40" width="250" height="250" as="geometry" />
</mxCell>
<mxCell id="_QLliVhAQ1nkf0STbq_G-2" value="#vector&lt;Room*&gt; phong<div>#vector&lt;Guest*&gt; khach</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="_QLliVhAQ1nkf0STbq_G-1">
<mxGeometry y="26" width="250" height="44" as="geometry" />
</mxCell>
<mxCell id="_QLliVhAQ1nkf0STbq_G-3" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="_QLliVhAQ1nkf0STbq_G-1">
<mxGeometry y="70" width="250" height="8" as="geometry" />
</mxCell>
<mxCell id="_QLliVhAQ1nkf0STbq_G-4" value="+ InputinformationRoom(): void<div>+ outRoom(): void</div><div>+ SearchRoomByType(string typeroom): void</div><div>+ InputinformationGuest(): void</div><div>+ outGuest(): void</div><div>+ SetRoom(int id): void</div><div>+ AddGuest(string typeguest): void</div><div>+ SetRoomDelete(int id): void</div><div>+ Delete(): void</div><div>+ TotalBill(): float</div><div>+ XuatBill(): void</div>" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="_QLliVhAQ1nkf0STbq_G-1">
<mxGeometry y="78" width="250" height="172" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
<diagram id="H3xOk-gLPJfoR-uVChPc" name="Page-4">
<mxGraphModel dx="588" dy="522" 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="Ow4xZ1B87oqMIco05e4c-5" value="Menu" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="230" y="230" width="160" height="90" as="geometry" />
</mxCell>
<mxCell id="Ow4xZ1B87oqMIco05e4c-6" value="- q1: Quanly" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ow4xZ1B87oqMIco05e4c-5">
<mxGeometry y="26" width="160" height="26" as="geometry" />
</mxCell>
<mxCell id="Ow4xZ1B87oqMIco05e4c-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="Ow4xZ1B87oqMIco05e4c-5">
<mxGeometry y="52" width="160" height="8" as="geometry" />
</mxCell>
<mxCell id="Ow4xZ1B87oqMIco05e4c-8" value="+ hienThiMenu(): void" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="Ow4xZ1B87oqMIco05e4c-5">
<mxGeometry y="60" width="160" height="30" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>