-
Notifications
You must be signed in to change notification settings - Fork 0
/
data_model.drawio
132 lines (132 loc) · 17 KB
/
data_model.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
124
125
126
127
128
129
130
131
132
<mxfile host="app.diagrams.net" modified="2024-02-18T22:12:52.579Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" etag="mcIoHX7clDJuqBfKFB-L" version="23.1.5" type="device">
<diagram name="Page-1" id="9f46799a-70d6-7492-0946-bef42562c5a5">
<mxGraphModel dx="1674" dy="790" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" background="none" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="78961159f06e98e8-17" value="Area" style="swimlane;html=1;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;fillColor=none;fontFamily=Verdana;fontSize=12" parent="1" vertex="1">
<mxGeometry x="120" y="80" width="200" height="147" as="geometry" />
</mxCell>
<mxCell id="78961159f06e98e8-21" value="+ field: name (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="78961159f06e98e8-17" vertex="1">
<mxGeometry y="26" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="78961159f06e98e8-23" value="+ field: is_parent (Boolean)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="78961159f06e98e8-17" vertex="1">
<mxGeometry y="52" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="78961159f06e98e8-25" value="+ field: parent (ForeignKey: Area)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="78961159f06e98e8-17" vertex="1">
<mxGeometry y="78" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="78961159f06e98e8-19" value="" style="line;html=1;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="78961159f06e98e8-17" vertex="1">
<mxGeometry y="104" width="200" height="8" as="geometry" />
</mxCell>
<mxCell id="78961159f06e98e8-20" value="+ method(): __str__" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="78961159f06e98e8-17" vertex="1">
<mxGeometry y="112" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-47" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="dk_n2xIRbGk2eNx0pk4B-12" target="dk_n2xIRbGk2eNx0pk4B-32" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-12" value="Street" style="swimlane;html=1;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;fillColor=none;fontFamily=Verdana;fontSize=12" parent="1" vertex="1">
<mxGeometry x="400" y="80" width="200" height="147" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-13" value="+ field: name (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-12" vertex="1">
<mxGeometry y="26" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-14" value="+ field: osm_imported (Boolean)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-12" vertex="1">
<mxGeometry y="52" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-15" value="+ field: area (ForeignKey: Area)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-12" vertex="1">
<mxGeometry y="78" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-16" value="" style="line;html=1;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-12" vertex="1">
<mxGeometry y="104" width="200" height="8" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-17" value="+ method(): __str__" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-12" vertex="1">
<mxGeometry y="112" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" source="78961159f06e98e8-25" target="dk_n2xIRbGk2eNx0pk4B-15" edge="1">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-20" value="Timeslot" style="swimlane;html=1;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;fillColor=none;fontFamily=Verdana;fontSize=12" parent="1" vertex="1">
<mxGeometry x="100" y="280" width="220" height="250" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-21" value="+ field: date (DateField)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="26" width="220" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-22" value="+ field: time_from (TimeField)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="52" width="220" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-23" value="+ field: time_to (TimeField)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="78" width="220" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-29" value="+ field: appointment_max (Integer)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="104" width="220" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-24" value="" style="line;html=1;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="130" width="220" height="8" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-25" value="+ method(): __str__" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="138" width="220" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-30" value="+ method(): get_count_per_area" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="164" width="220" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-31" value="+ method(): get_percentage_per_area" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-20" vertex="1">
<mxGeometry y="190" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="iWFHJy62R4fvNjKg5adY-1" value="+ method(): get_all_percentage" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="dk_n2xIRbGk2eNx0pk4B-20">
<mxGeometry y="220" width="220" height="30" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-32" value="Appointment" style="swimlane;html=1;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;rounded=0;shadow=0;comic=0;labelBackgroundColor=none;strokeWidth=1;fillColor=none;fontFamily=Verdana;fontSize=12" parent="1" vertex="1">
<mxGeometry x="400" y="280" width="200" height="390" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-33" value="+ field: is_collected (Boolean)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="26" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-34" value="+ field: area (ForeignKey)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="52" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="iWFHJy62R4fvNjKg5adY-2" value="+ field: contact_name (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" vertex="1" parent="dk_n2xIRbGk2eNx0pk4B-32">
<mxGeometry y="78" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-35" value="+ field: street (ForeignKey)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="104" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-36" value="+ field: house_number (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="130" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-37" value="+ field: timeslot (ForeignKey)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="156" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-46" value="+ field: text (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="182" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-43" value="+ field: phone (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="208" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-44" value="+ field: email (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="234" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-45" value="+ field: lat (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="260" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-38" value="+ field: lon (String)" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="286" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-39" value="" style="line;html=1;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="312" width="200" height="8" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-40" value="+ method(): __str__" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="320" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-41" value="+ method(): safe" style="text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;" parent="dk_n2xIRbGk2eNx0pk4B-32" vertex="1">
<mxGeometry y="346" width="200" height="26" as="geometry" />
</mxCell>
<mxCell id="dk_n2xIRbGk2eNx0pk4B-49" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="1" target="dk_n2xIRbGk2eNx0pk4B-37" edge="1">
<mxGeometry relative="1" as="geometry">
<mxPoint x="320" y="423" as="sourcePoint" />
</mxGeometry>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>