Загрузка данных


<mxfile host="app.diagrams.net" modified="2024-05-22T12:00:00.000Z" agent="Gemini AI" version="21.0.0" type="device">
  <diagram id="UML_Class_Diagram" name="Corrected Structure">
    <mxGraphModel dx="1000" dy="1000" 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="dept" value="Отдел&#10;--&#10;+ id: int&#10;+ название: String" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=1;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="40" width="160" height="90" as="geometry" />
        </mxCell>

        <mxCell id="emp" value="Работник&#10;--&#10;+ id: int&#10;+ фамилия: String&#10;+ имя: String&#10;+ датаРождения: Date&#10;+ email: String" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=1;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="40" y="240" width="180" height="150" as="geometry" />
        </mxCell>

        <mxCell id="contract" value="Контракт&#10;--&#10;+ id: int&#10;+ типКонтракта: String&#10;+ датаНачала: Date&#10;+ датаОкончания: Date&#10;+ оплата: Decimal" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=1;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="520" y="240" width="180" height="150" as="geometry" />
        </mxCell>

        <mxCell id="project" value="Проект&#10;--&#10;+ id: int&#10;+ название: String&#10;+ датаНачала: Date&#10;+ датаОкончания: Date" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=50;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=1;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
          <mxGeometry x="320" y="480" width="180" height="130" as="geometry" />
        </mxCell>

        <mxCell id="link1" value="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;entryX=0.5;entryY=0;labelBackgroundColor=none;startArrow=none;startFill=0;endArrow=none;endFill=0;" edge="1" parent="1" source="dept" target="emp">
          <mxGeometry relative="1" as="geometry">
            <mxPoint x="120" y="230" as="targetPoint" />
          </mxGeometry>
        </mxCell>
        <mxCell id="link1_label" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="link1">
          <mxGeometry x="0.8" relative="1" as="geometry">
            <mxPoint x="-10" y="-10" as="offset" />
          </mxGeometry>
        </mxCell>

        <mxCell id="link2" value="1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;entryX=0;entryY=0.5;endArrow=none;endFill=0;" edge="1" parent="1" source="emp" target="contract">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="link2_label" value="1..*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="link2">
          <mxGeometry x="0.8" relative="1" as="geometry">
            <mxPoint x="-15" y="-10" as="offset" />
          </mxGeometry>
        </mxCell>

        <mxCell id="link3" value="*" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;entryX=0;entryY=0.5;endArrow=none;endFill=0;" edge="1" parent="1" source="emp" target="project">
          <mxGeometry relative="1" as="geometry" />
        </mxCell>
        <mxCell id="link3_label" value="*" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="link3">
          <mxGeometry x="0.8" relative="1" as="geometry">
            <mxPoint x="-10" y="10" as="offset" />
          </mxGeometry>
        </mxCell>

      </root>
    </mxGraphModel>
  </diagram>
</mxfile>