Курсовая пункты плана: 1-2-3-4
@@ -0,0 +1 @@
|
||||
<mxfile><diagram name="Figure1_process"><mxGraphModel><root><mxCell id="0" /><mxCell id="1" parent="0" /><mxCell id="cl" value="Клиент<br>(внешний участник)" style="ellipse;whiteSpace=wrap;html=1;fillColor=#f6f6f6;strokeColor=#000000;fontFamily=Times New Roman;fontSize=13;" vertex="1" parent="1"><mxGeometry x="20" y="60" width="120" height="80" as="geometry" /></mxCell><mxCell id="p1" value="Запись клиента<br>на услугу" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1"><mxGeometry x="180" y="60" width="140" height="80" as="geometry" /></mxCell><mxCell id="p2" value="Оказание услуги<br>и приём оплаты" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1"><mxGeometry x="360" y="60" width="140" height="80" as="geometry" /></mxCell><mxCell id="p3" value="Формирование<br>отчётности" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1"><mxGeometry x="540" y="60" width="140" height="80" as="geometry" /></mxCell><mxCell id="p4" value="Расчёт оплаты<br>труда мастеров" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1"><mxGeometry x="720" y="60" width="140" height="80" as="geometry" /></mxCell><mxCell id="s1" value="Составление<br>графика мастеров" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1"><mxGeometry x="180" y="220" width="140" height="80" as="geometry" /></mxCell><mxCell id="s2" value="Закупка и учёт<br>расходных материалов" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=14;" vertex="1" parent="1"><mxGeometry x="360" y="220" width="140" height="80" as="geometry" /></mxCell><mxCell id="e1" style="endArrow=block;html=1;" edge="1" parent="1" source="cl" target="p1"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e2" style="endArrow=block;html=1;" edge="1" parent="1" source="p1" target="p2"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e3" style="endArrow=block;html=1;" edge="1" parent="1" source="p2" target="p3"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e4" style="endArrow=block;html=1;" edge="1" parent="1" source="p3" target="p4"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e5" style="endArrow=block;html=1;" edge="1" parent="1" source="s1" target="p1"><mxGeometry relative="1" as="geometry" /></mxCell><mxCell id="e6" style="endArrow=block;html=1;" edge="1" parent="1" source="s2" target="p2"><mxGeometry relative="1" as="geometry" /></mxCell></root></mxGraphModel></diagram></mxfile>
|
||||
@@ -0,0 +1,88 @@
|
||||
<mxfile host="app.diagrams.net" version="24.0.0"><diagram name="Figure3_er" id="figure3_er"><mxGraphModel dx="1600" dy="1200" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1654" pageHeight="1169" math="0" shadow="0">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="e_clients" value="<b>clients</b><br>client_id [PK]<br>last_name<br>first_name<br>phone [UQ]" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="40" y="40" width="250" height="125" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_employees" value="<b>employees</b><br>employee_id [PK]<br>full_name<br>position<br>phone" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="40" y="250" width="250" height="105" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_roles" value="<b>roles</b><br>role_code [PK]<br>role_name" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="40" y="440" width="250" height="75" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_users" value="<b>users</b><br>user_id [PK]<br>login [UQ]<br>role_code [FK]<br>employee_id [FK]" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="40" y="590" width="250" height="105" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_services" value="<b>services</b><br>service_id [PK]<br>name [UQ]<br>price<br>duration_min" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="380" y="40" width="250" height="105" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_service_materials" value="<b>service_materials</b><br>service_id [PK, FK]<br>material_id [PK, FK]<br>norm_qty" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="380" y="250" width="250" height="95" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_materials" value="<b>materials</b><br>material_id [PK]<br>name [UQ]<br>unit<br>stock_qty<br>min_qty" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="380" y="440" width="250" height="125" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_material_movements" value="<b>material_movements</b><br>movement_id [PK]<br>material_id [FK]<br>movement_type<br>quantity<br>appointment_id [FK]" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="380" y="650" width="250" height="135" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_masters" value="<b>masters</b><br>master_id [PK]<br>employee_id [FK, UQ]<br>specialization<br>commission_rate" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="740" y="40" width="250" height="115" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_master_services" value="<b>master_services</b><br>master_id [PK, FK]<br>service_id [PK, FK]" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="740" y="250" width="250" height="75" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_work_schedules" value="<b>work_schedules</b><br>schedule_id [PK]<br>master_id [FK]<br>work_date<br>start_time<br>end_time" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="740" y="440" width="250" height="115" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_appointments" value="<b>appointments</b><br>appointment_id [PK]<br>client_id [FK]<br>service_id [FK]<br>master_id [FK]<br>start_at, end_at<br>price, status" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="1100" y="40" width="270" height="145" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="e_payments" value="<b>payments</b><br>payment_id [PK]<br>appointment_id [FK, UQ]<br>amount, method<br>paid_at" style="rounded=0;whiteSpace=wrap;html=1;fillColor=#f4f4f4;strokeColor=#000000;fontFamily=Times New Roman;fontSize=12;align=left;verticalAlign=top;spacingLeft=8;spacingTop=6;" vertex="1" parent="1">
|
||||
<mxGeometry x="1100" y="290" width="270" height="105" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge0" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_clients" target="e_appointments">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge1" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_services" target="e_appointments">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge2" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_masters" target="e_appointments">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge3" value="1 : 1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_appointments" target="e_payments">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge4" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_services" target="e_service_materials">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge5" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_materials" target="e_service_materials">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge6" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_masters" target="e_master_services">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge7" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_services" target="e_master_services">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge8" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_masters" target="e_work_schedules">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge9" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_materials" target="e_material_movements">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge10" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_appointments" target="e_material_movements">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge11" value="1 : N" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_roles" target="e_users">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge12" value="1 : 1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_employees" target="e_users">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="edge13" value="1 : 1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;strokeColor=#000000;fontFamily=Times New Roman;fontSize=11;endArrow=open;endFill=0;startArrow=none;" edge="1" parent="1" source="e_employees" target="e_masters">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram></mxfile>
|
||||
|
After Width: | Height: | Size: 30 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 32 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 18 KiB |
|
After Width: | Height: | Size: 20 KiB |
|
After Width: | Height: | Size: 34 KiB |