Files
2026-06-11 21:18:48 +07:00

52 lines
6.9 KiB
Plaintext

<mxfile host="Electron" modified="2024" agent="Mozilla/5.0" version="22.1.2" type="device">
<diagram id="diag1" name="Page-1">
<mxGraphModel dx="1000" dy="1000" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="e_title" value="Entity Relationship Diagram (ERD) - WebGIS GeoPoverty v2.0" style="text;html=1;align=center;fontStyle=1;fontSize=18;" vertex="1" parent="1"><mxGeometry x="40" y="20" width="900" height="40" as="geometry"/></mxCell>
<!-- Table: pengguna -->
<mxCell id="t_pengguna" value="&lt;b&gt;pengguna&lt;/b&gt;&lt;hr&gt;&lt;p style=&quot;margin:0;line-height:1.5;&quot;&gt;PK id : INT&lt;br&gt;username : VARCHAR&lt;br&gt;password_hash : VARCHAR&lt;br&gt;nama_lengkap : VARCHAR&lt;br&gt;role : ENUM&lt;br&gt;FK masjid_id : INT&lt;br&gt;aktif : TINYINT&lt;/p&gt;" style="shape=rectangle;fillColor=#fff2cc;strokeColor=#d6b656;align=left;verticalAlign=top;spacingLeft=10;spacingTop=10;spacingRight=10;spacingBottom=10;fontSize=12;html=1;whiteSpace=wrap;" vertex="1" parent="1"><mxGeometry x="40" y="100" width="220" height="200" as="geometry"/></mxCell>
<!-- Table: masjid -->
<mxCell id="t_masjid" value="&lt;b&gt;masjid (rumah ibadah)&lt;/b&gt;&lt;hr&gt;&lt;p style=&quot;margin:0;line-height:1.5;&quot;&gt;PK id : INT&lt;br&gt;nama_masjid : VARCHAR&lt;br&gt;pic_masjid : VARCHAR&lt;br&gt;alamat : TEXT&lt;br&gt;latitude : DECIMAL&lt;br&gt;longitude : DECIMAL&lt;br&gt;radius : INT&lt;br&gt;jenis_ibadah : ENUM&lt;/p&gt;" style="shape=rectangle;fillColor=#dae8fc;strokeColor=#6c8ebf;align=left;verticalAlign=top;spacingLeft=10;spacingTop=10;spacingRight=10;spacingBottom=10;fontSize=12;html=1;whiteSpace=wrap;" vertex="1" parent="1"><mxGeometry x="360" y="100" width="220" height="200" as="geometry"/></mxCell>
<!-- Table: kemiskinan -->
<mxCell id="t_kemiskinan" value="&lt;b&gt;kemiskinan&lt;/b&gt;&lt;hr&gt;&lt;p style=&quot;margin:0;line-height:1.5;&quot;&gt;PK id : INT&lt;br&gt;nama_kepala_keluarga : VARCHAR&lt;br&gt;jumlah_kk : INT&lt;br&gt;alamat : TEXT&lt;br&gt;latitude : DECIMAL&lt;br&gt;longitude : DECIMAL&lt;br&gt;status_keluarga : ENUM&lt;/p&gt;" style="shape=rectangle;fillColor=#d5e8d4;strokeColor=#82b366;align=left;verticalAlign=top;spacingLeft=10;spacingTop=10;spacingRight=10;spacingBottom=10;fontSize=12;html=1;whiteSpace=wrap;" vertex="1" parent="1"><mxGeometry x="680" y="100" width="220" height="200" as="geometry"/></mxCell>
<!-- Table: pesan_komunikasi -->
<mxCell id="t_pesan" value="&lt;b&gt;pesan_komunikasi&lt;/b&gt;&lt;hr&gt;&lt;p style=&quot;margin:0;line-height:1.5;&quot;&gt;PK id : INT&lt;br&gt;FK pengirim_id : INT&lt;br&gt;FK penerima_id : INT&lt;br&gt;judul : VARCHAR&lt;br&gt;isi : TEXT&lt;br&gt;jenis : ENUM&lt;br&gt;status : ENUM&lt;/p&gt;" style="shape=rectangle;fillColor=#e1d5e7;strokeColor=#9673a6;align=left;verticalAlign=top;spacingLeft=10;spacingTop=10;spacingRight=10;spacingBottom=10;fontSize=12;html=1;whiteSpace=wrap;" vertex="1" parent="1"><mxGeometry x="40" y="360" width="220" height="200" as="geometry"/></mxCell>
<!-- Table: histori_bantuan -->
<mxCell id="t_bantuan" value="&lt;b&gt;histori_bantuan&lt;/b&gt;&lt;hr&gt;&lt;p style=&quot;margin:0;line-height:1.5;&quot;&gt;PK id : INT&lt;br&gt;FK kemiskinan_id : INT&lt;br&gt;FK masjid_id : INT&lt;br&gt;jenis_bantuan : ENUM&lt;br&gt;jumlah_bantuan : DECIMAL&lt;br&gt;tanggal_bantuan : DATE&lt;br&gt;status_penyaluran : ENUM&lt;/p&gt;" style="shape=rectangle;fillColor=#f8cecc;strokeColor=#b85450;align=left;verticalAlign=top;spacingLeft=10;spacingTop=10;spacingRight=10;spacingBottom=10;fontSize=12;html=1;whiteSpace=wrap;" vertex="1" parent="1"><mxGeometry x="360" y="360" width="220" height="200" as="geometry"/></mxCell>
<!-- Table: anggota_keluarga -->
<mxCell id="t_anggota" value="&lt;b&gt;anggota_keluarga&lt;/b&gt;&lt;hr&gt;&lt;p style=&quot;margin:0;line-height:1.5;&quot;&gt;PK id : INT&lt;br&gt;FK kemiskinan_id : INT&lt;br&gt;nama : VARCHAR&lt;br&gt;tanggal_lahir : DATE&lt;br&gt;jenis_kelamin : ENUM&lt;br&gt;hubungan_keluarga : ENUM&lt;br&gt;status_hidup : ENUM&lt;br&gt;pendidikan : ENUM&lt;/p&gt;" style="shape=rectangle;fillColor=#ffe6cc;strokeColor=#d79b00;align=left;verticalAlign=top;spacingLeft=10;spacingTop=10;spacingRight=10;spacingBottom=10;fontSize=12;html=1;whiteSpace=wrap;" vertex="1" parent="1"><mxGeometry x="680" y="360" width="220" height="200" as="geometry"/></mxCell>
<!-- Table: laporan_kondisi -->
<mxCell id="t_laporan" value="&lt;b&gt;laporan_kondisi&lt;/b&gt;&lt;hr&gt;&lt;p style=&quot;margin:0;line-height:1.5;&quot;&gt;PK id : INT&lt;br&gt;FK kemiskinan_id : INT&lt;br&gt;nama_pelapor : VARCHAR&lt;br&gt;nomor_wa : VARCHAR&lt;br&gt;kategori : ENUM&lt;br&gt;deskripsi : TEXT&lt;br&gt;status_laporan : ENUM&lt;/p&gt;" style="shape=rectangle;fillColor=#f5f5f5;strokeColor=#666666;align=left;verticalAlign=top;spacingLeft=10;spacingTop=10;spacingRight=10;spacingBottom=10;fontSize=12;html=1;whiteSpace=wrap;" vertex="1" parent="1"><mxGeometry x="680" y="620" width="220" height="180" as="geometry"/></mxCell>
<!-- Relationships -->
<!-- pengguna to masjid -->
<mxCell id="r1" value="1..N" style="edgeStyle=orthogonalEdgeStyle;endArrow=classic;endFill=1;startArrow=none;fontSize=11;" edge="1" source="t_pengguna" target="t_masjid" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<!-- pesan to pengguna -->
<mxCell id="r2" value="N..1" style="edgeStyle=orthogonalEdgeStyle;endArrow=classic;endFill=1;startArrow=none;fontSize=11;" edge="1" source="t_pesan" target="t_pengguna" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<!-- bantuan to masjid -->
<mxCell id="r3" value="N..1" style="edgeStyle=orthogonalEdgeStyle;endArrow=classic;endFill=1;startArrow=none;fontSize=11;" edge="1" source="t_bantuan" target="t_masjid" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<!-- bantuan to kemiskinan -->
<mxCell id="r4" value="N..1" style="edgeStyle=orthogonalEdgeStyle;endArrow=classic;endFill=1;startArrow=none;fontSize=11;" edge="1" source="t_bantuan" target="t_kemiskinan" parent="1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="470" y="330"/><mxPoint x="790" y="330"/></Array></mxGeometry></mxCell>
<!-- anggota to kemiskinan -->
<mxCell id="r5" value="N..1" style="edgeStyle=orthogonalEdgeStyle;endArrow=classic;endFill=1;startArrow=none;fontSize=11;" edge="1" source="t_anggota" target="t_kemiskinan" parent="1"><mxGeometry relative="1" as="geometry"/></mxCell>
<!-- laporan to kemiskinan -->
<mxCell id="r6" value="N..1" style="edgeStyle=orthogonalEdgeStyle;endArrow=classic;endFill=1;startArrow=none;fontSize=11;" edge="1" source="t_laporan" target="t_kemiskinan" parent="1"><mxGeometry relative="1" as="geometry"><Array as="points"><mxPoint x="950" y="710"/><mxPoint x="950" y="200"/></Array></mxGeometry></mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>