forked from Arquisoft/Entrecine8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEsquemaDB.xml
1 lines (1 loc) · 8.1 KB
/
EsquemaDB.xml
1
<mxGraphModel dx="800" dy="800" grid="1" guides="1" tooltips="1" connect="1" fold="1" page="1" pageScale="1" pageWidth="826" pageHeight="1169" style="default-style2"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="5" value="<table style="width: 100%; font-size: 10px;"><tbody><tr><td style="background: #e4e4e4; padding: 2px;" colspan="2">Sesiones</td></tr><tr><td>PK</td><td style="padding: 2px;">id</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">fecha</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">&nbsp;</td></tr><tr><td>FK</td><td style="padding: 2px;">salaId</td></tr><tr><td>FK</td><td style="padding: 2px;">peliculaId</td></tr><tr><td>FK</td><td style="padding: 2px;">descuentoId</td></tr></tbody></table>" style="verticalAlign=top;align=left;overflow=fill;html=1" parent="1" vertex="1"><mxGeometry x="70" y="315.0000000000001" width="180" height="170" as="geometry"/></mxCell><mxCell id="6" value="<table style="width: 100%; font-size: 10px;"><tbody><tr><td style="background: #e4e4e4; padding: 2px;" colspan="2">Sala</td></tr><tr><td>PK</td><td style="padding: 2px;">id</td></tr><tr><td><p>&nbsp;</p></td><td style="padding: 2px;">&nbsp;capacidad</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">&nbsp;</td></tr></tbody></table>" style="verticalAlign=top;align=left;overflow=fill;html=1" parent="1" vertex="1"><mxGeometry x="539.9999999999999" y="99.99999999999997" width="180" height="90" as="geometry"/></mxCell><mxCell id="7" value="<table style="width: 100%; font-size: 10px;"><tbody><tr><td style="background: #e4e4e4; padding: 2px;" colspan="2">Reservas</td></tr><tr><td>PK&nbsp;</td><td style="padding: 2px;">id</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">sala</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">fila</td></tr><tr><td>FK</td><td style="padding: 2px;">sesionID</td></tr><tr><td>FK</td><td style="padding: 2px;"><p>usuarioID</p></td></tr></tbody></table>" style="verticalAlign=top;align=left;overflow=fill;html=1" parent="1" vertex="1"><mxGeometry x="70.00000000000001" y="645.0000000000001" width="180" height="140" as="geometry"/></mxCell><mxCell id="8" value="<table style="width: 100%; font-size: 10px;"><tbody><tr><td style="background: #e4e4e4; padding: 2px;" colspan="2">Usuarios</td></tr><tr><td>PK</td><td style="padding: 2px;">id</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">nombre</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">apellidos</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">mail</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">usuario</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">password</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">&nbsp;</td></tr></tbody></table>" style="verticalAlign=top;align=left;overflow=fill;html=1" parent="1" vertex="1"><mxGeometry x="539.9999999999999" y="635.0000000000001" width="180" height="170" as="geometry"/></mxCell><mxCell id="9" value="<table style="width: 100%; font-size: 10px;"><tbody><tr><td style="background: #e4e4e4; padding: 2px;" colspan="2">Pelicula</td></tr><tr><td>PK</td><td style="padding: 2px;">id</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">nombre</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">descripcion</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">precio</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">duracion</td></tr></tbody></table>" style="verticalAlign=top;align=left;overflow=fill;html=1" parent="1" vertex="1"><mxGeometry x="540.0000000000001" y="299.99999999999994" width="180" height="160" as="geometry"/></mxCell><mxCell id="10" value="" style="endArrow=none;exitX=1;exitY=0.25;entryX=0;entryY=0.5;startArrow=classic;startFill=1" parent="1" source="5" target="6" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="11" value="" style="endArrow=classic;exitX=0.5;exitY=1;entryX=0.5;entryY=0;startArrow=none;startFill=0;endFill=1" parent="1" source="5" target="7" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="12" value="" style="endArrow=classic;exitX=0;exitY=0.5;entryX=1;entryY=0.75;startArrow=none;startFill=0;endFill=1" parent="1" source="9" target="5" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="13" value="" style="endArrow=none;exitX=1;exitY=0.5;entryX=0;entryY=0.5" parent="1" source="7" target="8" edge="1"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="18" value="<table style="width: 100%; font-size: 10px;"><tbody><tr><td style="background: #e4e4e4; padding: 2px;" colspan="2">Descuentos</td></tr><tr><td>PK</td><td style="padding: 2px;">id</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">nombre</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">porcentaje</td></tr><tr><td>&nbsp;</td><td style="padding: 2px;">&nbsp;</td></tr></tbody></table>" style="verticalAlign=top;align=left;overflow=fill;html=1" vertex="1" parent="1"><mxGeometry x="139.99999999999994" y="70" width="180" height="90" as="geometry"/></mxCell><mxCell id="20" value="" style="endArrow=classic;exitX=0.5;exitY=1;entryX=0.5;entryY=0;endFill=1" edge="1" parent="1" source="18" target="5"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="21" value="<table style="width: 100%; font-size: 10px;"><tbody><tr><td style="background: #e4e4e4; padding: 2px;" colspan="2">Favoritas</td></tr><tr><td>PK</td><td style="padding: 2px;">id</td></tr><tr><td>FK</td><td style="padding: 2px;">peliculaId</td></tr><tr><td>FK</td><td style="padding: 2px;">usuarioId</td></tr></tbody></table>" style="verticalAlign=top;align=left;overflow=fill;html=1" vertex="1" parent="1"><mxGeometry x="540" y="510" width="180" height="90" as="geometry"/></mxCell><mxCell id="22" value="" style="endArrow=none;exitX=0.5;exitY=1;entryX=0.5;entryY=0;startArrow=classic;startFill=1" edge="1" parent="1" source="21" target="8"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="23" value="" style="endArrow=none;exitX=0.5;exitY=0;entryX=0.5;entryY=1;endFill=0;startArrow=classic;startFill=1" edge="1" parent="1" source="21" target="9"><mxGeometry relative="1" as="geometry"/></mxCell></root></mxGraphModel>