Files
nursing-home/thesis/diagrams/er_diagram.drawio
2026-03-01 01:13:16 +08:00

107 lines
11 KiB
Plaintext

<mxfile>
<diagram name="系统E-R图" id="er-diagram">
<mxGraphModel dx="1400" dy="1000" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1400" pageHeight="1000" math="0" shadow="0">
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<!-- 实体 -->
<mxCell id="e_user" value="用户" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="200" y="400" width="100" height="50" as="geometry"/>
</mxCell>
<mxCell id="e_elder" value="长者" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="800" y="400" width="100" height="50" as="geometry"/>
</mxCell>
<mxCell id="e_schedule" value="排班" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="50" y="120" width="80" height="40" as="geometry"/>
</mxCell>
<mxCell id="e_care" value="护理记录" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="300" y="80" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="e_health" value="健康记录" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="550" y="80" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="e_handover" value="交班记录" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="50" y="620" width="100" height="40" as="geometry"/>
</mxCell>
<mxCell id="e_notice" value="通知" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="300" y="720" width="80" height="40" as="geometry"/>
</mxCell>
<mxCell id="e_bill" value="账单" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="1050" y="180" width="80" height="40" as="geometry"/>
</mxCell>
<mxCell id="e_feedback" value="反馈" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="1050" y="520" width="80" height="40" as="geometry"/>
</mxCell>
<mxCell id="e_payment" value="支付记录" style="rounded=0;whiteSpace=wrap;html=1;fontSize=12;fillColor=#ffffff;strokeColor=#000000;fontStyle=1;" vertex="1" parent="1">
<mxGeometry x="1250" y="320" width="100" height="40" as="geometry"/>
</mxCell>
<!-- 关系菱形 -->
<mxCell id="d_manage" value="管理" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="110" y="260" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_record" value="记录" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="280" y="230" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_monitor" value="监测" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="450" y="230" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_handover" value="交接" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="110" y="530" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_publish" value="发布" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="280" y="580" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_relate" value="关联" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="500" y="400" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_produce" value="产生" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="930" y="280" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_accept" value="接受" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="930" y="460" width="70" height="50" as="geometry"/>
</mxCell>
<mxCell id="d_pay" value="支付" style="rhombus;whiteSpace=wrap;html=1;fontSize=11;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="1130" y="260" width="70" height="50" as="geometry"/>
</mxCell>
<!-- 属性椭圆 -->
<mxCell id="attr_time" value="记录时间" style="ellipse;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="370" y="200" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="attr_rel" value="关系" style="ellipse;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="500" y="350" width="70" height="30" as="geometry"/>
</mxCell>
<mxCell id="attr_amount" value="支付金额" style="ellipse;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="1200" y="220" width="80" height="30" as="geometry"/>
</mxCell>
<mxCell id="attr_method" value="支付方式" style="ellipse;whiteSpace=wrap;html=1;fontSize=10;fillColor=#ffffff;strokeColor=#000000;" vertex="1" parent="1">
<mxGeometry x="1200" y="310" width="80" height="30" as="geometry"/>
</mxCell>
<!-- 连线 -->
<mxCell id="l_u_manage" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_user" target="d_manage" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_manage_s" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_manage" target="e_schedule" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_u_record" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_user" target="d_record" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_record_c" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_record" target="e_care" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_u_monitor" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_user" target="d_monitor" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_monitor_h" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_monitor" target="e_health" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_u_hand" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_user" target="d_handover" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_hand_ho" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_handover" target="e_handover" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_u_pub" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_user" target="d_publish" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_pub_n" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_publish" target="e_notice" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_u_rel" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_user" target="d_relate" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_rel_e" value="m" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_relate" target="e_elder" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_e_prod" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_elder" target="d_produce" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_prod_b" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_produce" target="e_bill" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_e_acc" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_elder" target="d_accept" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_acc_f" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_accept" target="e_feedback" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_b_pay" value="1" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="e_bill" target="d_pay" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="l_pay_p" value="n" style="endArrow=none;strokeColor=#000000;fontSize=10;" edge="1" source="d_pay" target="e_payment" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<!-- 属性连线 -->
<mxCell id="la1" style="endArrow=none;strokeColor=#000000;" edge="1" source="attr_time" target="d_record" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="la2" style="endArrow=none;strokeColor=#000000;" edge="1" source="attr_rel" target="d_relate" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="la3" style="endArrow=none;strokeColor=#000000;" edge="1" source="attr_amount" target="d_pay" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<mxCell id="la4" style="endArrow=none;strokeColor=#000000;" edge="1" source="attr_method" target="d_pay" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>