DB changed.

- Removed RoomCategoryDetails.
- Updated some constraints and fields.
This commit is contained in:
2024-09-09 13:44:18 +02:00
parent 53374dfdfc
commit 09f384fce0
15 changed files with 123 additions and 348 deletions
+3
View File
@@ -8,3 +8,6 @@
/var/
/vendor/
###< symfony/framework-bundle ###
# Draw.io backup file.
*bkp
+61 -153
View File
@@ -1,6 +1,6 @@
<mxfile host="Electron" modified="2024-06-03T19:16:33.641Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.4.13 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="z4nTGTpTJWwi23uB_v5T" version="24.4.13" type="device">
<mxfile host="Electron" modified="2024-09-09T11:41:53.124Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.4.13 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="m4FVWj780hkAiuXAFeW1" version="24.4.13" type="device">
<diagram id="R2lEEEUBdFMjLlhIrx00" name="Page-1">
<mxGraphModel dx="1318" dy="2052" 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" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
<mxGraphModel dx="1249" dy="2436" 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" extFonts="Permanent Marker^https://fonts.googleapis.com/css?family=Permanent+Marker">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
@@ -49,12 +49,12 @@
<mxCell id="LWdVl6OarZhAk6RPOBHK-9" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" parent="LWdVl6OarZhAk6RPOBHK-5" vertex="1">
<mxGeometry y="60" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-10" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-9" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-10" value="*" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-9" vertex="1">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-11" value="Name" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-9" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-11" value="n&lt;span style=&quot;background-color: initial;&quot;&gt;ame&lt;/span&gt;" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-9" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -67,7 +67,7 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-14" value="Description" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-12" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-14" value="description" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-12" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -80,7 +80,7 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-65" value="BedType" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-63" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-65" value="bedType" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-63" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -88,89 +88,21 @@
<mxCell id="LWdVl6OarZhAk6RPOBHK-69" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" parent="LWdVl6OarZhAk6RPOBHK-5" vertex="1">
<mxGeometry y="150" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-70" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-69" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-70" value="*" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-69" vertex="1">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-71" value="MaxGuestNum" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-69" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-71" value="maxGuestNum" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-69" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-34" value="RoomCategoryDetails" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-3" vertex="1">
<mxGeometry x="530" y="70" width="180" height="150" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-35" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-34" vertex="1">
<mxGeometry y="30" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-36" value="PK,FK1" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-35" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-37" value="ID_Categoria" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-35" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-38" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-34" vertex="1">
<mxGeometry y="60" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-39" value="PK" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-38" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-40" value="ID" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-38" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-41" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-34" vertex="1">
<mxGeometry y="90" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-42" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-41" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-43" value="DetailSection" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-41" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-44" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-34" vertex="1">
<mxGeometry y="120" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-45" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-44" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-46" value="DetailValue" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-44" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-47" value="RoomCategoryPhotos" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-3" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-47" value="RoomCategoryPhoto" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-3" vertex="1">
<mxGeometry x="530" y="300" width="180" height="180" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-48" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-47" vertex="1">
<mxGeometry y="30" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-49" value="PK,FK1" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-48" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-50" value="ID_Categoria" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-48" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-51" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-47" vertex="1">
<mxGeometry y="60" width="180" height="30" as="geometry" />
<mxGeometry y="30" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-52" value="PK" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-51" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
@@ -182,15 +114,28 @@
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-54" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-47" vertex="1">
<mxGeometry y="90" width="180" height="30" as="geometry" />
<mxCell id="WhIFKm_ix7Kh5_4PoCu4-1" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-47" vertex="1">
<mxGeometry y="60" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-55" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-54" vertex="1">
<mxCell id="WhIFKm_ix7Kh5_4PoCu4-2" value="FK1 *" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="WhIFKm_ix7Kh5_4PoCu4-1" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-56" value="Path" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-54" vertex="1">
<mxCell id="WhIFKm_ix7Kh5_4PoCu4-3" value="roomCategory" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="WhIFKm_ix7Kh5_4PoCu4-1" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-54" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-47" vertex="1">
<mxGeometry y="90" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-55" value="*" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-54" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-56" value="path" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-54" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
@@ -203,7 +148,7 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-59" value="AltText" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-57" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-59" value="altText" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-57" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
@@ -216,23 +161,12 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-62" value="Kind" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-60" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-62" value="photoOrder" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-60" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-72" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="LWdVl6OarZhAk6RPOBHK-3" source="LWdVl6OarZhAk6RPOBHK-6" target="LWdVl6OarZhAk6RPOBHK-35" edge="1">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="400" y="320" as="sourcePoint" />
<mxPoint x="500" y="220" as="targetPoint" />
</mxGeometry>
</mxCell>
<mxCell id="emevr3pmkmlQrjx6r0mN-51" value="&lt;font style=&quot;font-size: 16px;&quot;&gt;0:N&lt;/font&gt;" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" parent="LWdVl6OarZhAk6RPOBHK-72" vertex="1" connectable="0">
<mxGeometry x="0.0812" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-73" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="LWdVl6OarZhAk6RPOBHK-3" source="LWdVl6OarZhAk6RPOBHK-6" target="LWdVl6OarZhAk6RPOBHK-48" edge="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-73" value="" style="edgeStyle=entityRelationEdgeStyle;fontSize=12;html=1;endArrow=ERoneToMany;rounded=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;" parent="LWdVl6OarZhAk6RPOBHK-3" source="LWdVl6OarZhAk6RPOBHK-6" target="WhIFKm_ix7Kh5_4PoCu4-1" edge="1">
<mxGeometry width="100" height="100" relative="1" as="geometry">
<mxPoint x="400" y="320" as="sourcePoint" />
<mxPoint x="500" y="220" as="targetPoint" />
@@ -251,7 +185,7 @@
<mxCell id="LWdVl6OarZhAk6RPOBHK-75" value="&lt;h1 style=&quot;margin-top: 0px; line-height: 50%;&quot;&gt;&lt;span style=&quot;font-size: 12px; font-weight: 400;&quot;&gt;Sevicio que gestiona la disponibilidad de las distintas habitaciones.&lt;/span&gt;&lt;/h1&gt;&lt;div&gt;La disponibilidad es una categoría de habitación por día.&lt;/div&gt;&lt;div&gt;Una categoría sólo tiene una única disponibilidad para un día concreto.&lt;/div&gt;" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="LWdVl6OarZhAk6RPOBHK-74" vertex="1">
<mxGeometry x="10" y="30" width="330" height="130" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-89" value="Availability&amp;nbsp;&lt;span class=&quot;module--definitions__pronunciation js-definitions-pronunciation&quot;&gt;&lt;/span&gt;" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-74" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-89" value="RoomAvailability&amp;nbsp;&lt;span class=&quot;module--definitions__pronunciation js-definitions-pronunciation&quot;&gt;&lt;/span&gt;" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-74" vertex="1">
<mxGeometry x="450" y="70" width="180" height="120" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-90" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-89" vertex="1">
@@ -262,7 +196,7 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-92" value="ID_Categoria" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-90" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-92" value="roomCategory" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-90" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
@@ -275,7 +209,7 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-95" value="Day" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-93" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-95" value="day" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-93" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
@@ -283,12 +217,12 @@
<mxCell id="LWdVl6OarZhAk6RPOBHK-96" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;html=1;" parent="LWdVl6OarZhAk6RPOBHK-89" vertex="1">
<mxGeometry y="90" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-97" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-96" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-97" value="*" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-96" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-98" value="Availability&amp;nbsp;&lt;span class=&quot;module--definitions__pronunciation js-definitions-pronunciation&quot;&gt;&lt;/span&gt;" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-96" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-98" value="availability&amp;nbsp;&lt;span class=&quot;module--definitions__pronunciation js-definitions-pronunciation&quot;&gt;&lt;/span&gt;" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;html=1;whiteSpace=wrap;" parent="LWdVl6OarZhAk6RPOBHK-96" vertex="1">
<mxGeometry x="60" width="120" height="30" as="geometry">
<mxRectangle width="120" height="30" as="alternateBounds" />
</mxGeometry>
@@ -340,7 +274,7 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-158" value="ID_Categoria" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-156" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-158" value="roomCategory" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-156" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -353,7 +287,7 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-161" value="StartDate" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-159" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-161" value="startDate" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-159" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -366,7 +300,7 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-164" value="EndDate" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-162" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-164" value="endDate" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-162" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -379,7 +313,7 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-167" value="Coment" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-165" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-167" value="coment" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-165" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -411,15 +345,15 @@
<mxRectangle width="140" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="iktsdYJ4qj7C3vffh0-E-4" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;strokeColor=default;strokeWidth=1;" vertex="1" parent="u8q9OSYWNScgUxuhDeax-5">
<mxCell id="iktsdYJ4qj7C3vffh0-E-4" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;strokeColor=default;strokeWidth=1;" parent="u8q9OSYWNScgUxuhDeax-5" vertex="1">
<mxGeometry y="60" width="200" height="30" as="geometry" />
</mxCell>
<mxCell id="iktsdYJ4qj7C3vffh0-E-5" value="PK" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden;whiteSpace=wrap;html=1;fontColor=default;perimeter=rectanglePerimeter;strokeColor=inherit;" vertex="1" parent="iktsdYJ4qj7C3vffh0-E-4">
<mxCell id="iktsdYJ4qj7C3vffh0-E-5" value="PK" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;fontStyle=1;overflow=hidden;whiteSpace=wrap;html=1;fontColor=default;perimeter=rectanglePerimeter;strokeColor=inherit;" parent="iktsdYJ4qj7C3vffh0-E-4" vertex="1">
<mxGeometry width="60" height="30" as="geometry">
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="iktsdYJ4qj7C3vffh0-E-6" value="Date" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;whiteSpace=wrap;html=1;fontColor=default;perimeter=rectanglePerimeter;strokeColor=inherit;" vertex="1" parent="iktsdYJ4qj7C3vffh0-E-4">
<mxCell id="iktsdYJ4qj7C3vffh0-E-6" value="Date" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;whiteSpace=wrap;html=1;fontColor=default;perimeter=rectanglePerimeter;strokeColor=inherit;" parent="iktsdYJ4qj7C3vffh0-E-4" vertex="1">
<mxGeometry x="60" width="140" height="30" as="geometry">
<mxRectangle width="140" height="30" as="alternateBounds" />
</mxGeometry>
@@ -451,9 +385,9 @@
</mxGeometry>
</mxCell>
<mxCell id="u8q9OSYWNScgUxuhDeax-3" value="No podrá haber 2 tarifarios para la misma categoria cuyas fechas se superpongan.&amp;nbsp;&lt;span style=&quot;background-color: initial;&quot;&gt;La idea de los tarifarios es poder tener en cada temporada una serie de tarifas base. A su vez estas tarifas pueden tener precios condicionales, según ciertos parámetros como tipo de día.&lt;/span&gt;&lt;div&gt;Estas tarifas podrán ser sobreescritas en fechas concretas medienta el sistema de precios.&lt;/div&gt;" style="shape=note;size=20;align=center;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-103" vertex="1">
<mxGeometry x="110" y="435" width="320" height="165" as="geometry" />
<mxGeometry x="550" y="430" width="320" height="165" as="geometry" />
</mxCell>
<mxCell id="yrwpf_HABRAGMyV-ZLDz-1" value="Fare" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-103" vertex="1">
<mxCell id="yrwpf_HABRAGMyV-ZLDz-1" value="RoomFare" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-103" vertex="1">
<mxGeometry x="340" y="170" width="170" height="180" as="geometry" />
</mxCell>
<mxCell id="yrwpf_HABRAGMyV-ZLDz-2" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;" parent="yrwpf_HABRAGMyV-ZLDz-1" vertex="1">
@@ -477,7 +411,7 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="yrwpf_HABRAGMyV-ZLDz-7" value="ID_FareTable" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-5" vertex="1">
<mxCell id="yrwpf_HABRAGMyV-ZLDz-7" value="fareTable" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-5" vertex="1">
<mxGeometry x="60" width="110" height="30" as="geometry">
<mxRectangle width="110" height="30" as="alternateBounds" />
</mxGeometry>
@@ -490,7 +424,7 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="yrwpf_HABRAGMyV-ZLDz-10" value="GuestNumber" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-8" vertex="1">
<mxCell id="yrwpf_HABRAGMyV-ZLDz-10" value="guestNumber" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-8" vertex="1">
<mxGeometry x="60" width="110" height="30" as="geometry">
<mxRectangle width="110" height="30" as="alternateBounds" />
</mxGeometry>
@@ -503,7 +437,7 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="yrwpf_HABRAGMyV-ZLDz-13" value="FareAmount" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-11" vertex="1">
<mxCell id="yrwpf_HABRAGMyV-ZLDz-13" value="fareAmount" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-11" vertex="1">
<mxGeometry x="60" width="110" height="30" as="geometry">
<mxRectangle width="110" height="30" as="alternateBounds" />
</mxGeometry>
@@ -516,7 +450,7 @@
<mxRectangle width="60" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="yrwpf_HABRAGMyV-ZLDz-16" value="DayType" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-14" vertex="1">
<mxCell id="yrwpf_HABRAGMyV-ZLDz-16" value="dayType" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="yrwpf_HABRAGMyV-ZLDz-14" vertex="1">
<mxGeometry x="60" width="110" height="30" as="geometry">
<mxRectangle width="110" height="30" as="alternateBounds" />
</mxGeometry>
@@ -524,8 +458,8 @@
<mxCell id="LWdVl6OarZhAk6RPOBHK-121" value="Configuracion Sistema" style="swimlane;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="170" y="-460" width="880" height="340" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-105" value="Config" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-121" vertex="1">
<mxGeometry x="380" y="60" width="180" height="150" as="geometry" />
<mxCell id="LWdVl6OarZhAk6RPOBHK-105" value="ConfigVariable" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-121" vertex="1">
<mxGeometry x="380" y="60" width="180" height="120" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-106" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;" parent="LWdVl6OarZhAk6RPOBHK-105" vertex="1">
<mxGeometry y="30" width="180" height="30" as="geometry" />
@@ -535,46 +469,33 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-108" value="ID" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-106" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="iktsdYJ4qj7C3vffh0-E-1" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" vertex="1" parent="LWdVl6OarZhAk6RPOBHK-105">
<mxGeometry y="60" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="iktsdYJ4qj7C3vffh0-E-2" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" vertex="1" parent="iktsdYJ4qj7C3vffh0-E-1">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="iktsdYJ4qj7C3vffh0-E-3" value="Key" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" vertex="1" parent="iktsdYJ4qj7C3vffh0-E-1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-108" value="key" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;fontStyle=5;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-106" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-112" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" parent="LWdVl6OarZhAk6RPOBHK-105" vertex="1">
<mxGeometry y="90" width="180" height="30" as="geometry" />
<mxGeometry y="60" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-113" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-112" vertex="1">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-114" value="Value" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-112" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-114" value="value" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-112" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-109" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" parent="LWdVl6OarZhAk6RPOBHK-105" vertex="1">
<mxGeometry y="120" width="180" height="30" as="geometry" />
<mxGeometry y="90" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-110" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-109" vertex="1">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-111" value="Section" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-109" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-111" value="section" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-109" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -582,8 +503,8 @@
<mxCell id="LWdVl6OarZhAk6RPOBHK-123" value="&lt;h1 style=&quot;margin-top: 0px; line-height: 50%;&quot;&gt;&lt;font style=&quot;font-size: 12px; font-weight: normal;&quot;&gt;Configuración del sistema.&lt;br&gt;Consiste en un sistema Clave-Valor, organizados en una serie de secciones.&lt;/font&gt;&lt;/h1&gt;" style="text;html=1;whiteSpace=wrap;overflow=hidden;rounded=0;" parent="LWdVl6OarZhAk6RPOBHK-121" vertex="1">
<mxGeometry x="10" y="30" width="230" height="90" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-139" value="Users" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-121" vertex="1">
<mxGeometry x="650" y="40" width="180" height="180" as="geometry" />
<mxCell id="LWdVl6OarZhAk6RPOBHK-139" value="User" style="shape=table;startSize=30;container=1;collapsible=1;childLayout=tableLayout;fixedRows=1;rowLines=0;fontStyle=1;align=center;resizeLast=1;html=1;" parent="LWdVl6OarZhAk6RPOBHK-121" vertex="1">
<mxGeometry x="657" y="60" width="180" height="150" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-140" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=1;" parent="LWdVl6OarZhAk6RPOBHK-139" vertex="1">
<mxGeometry y="30" width="180" height="30" as="geometry" />
@@ -606,7 +527,7 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-145" value="Username" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-143" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-145" value="username" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-143" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
@@ -619,33 +540,20 @@
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-148" value="Password" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-146" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-149" value="" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" parent="LWdVl6OarZhAk6RPOBHK-139" vertex="1">
<mxGeometry y="120" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-150" value="" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-149" vertex="1">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="LWdVl6OarZhAk6RPOBHK-151" value="Name" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-149" vertex="1">
<mxCell id="LWdVl6OarZhAk6RPOBHK-148" value="password" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="LWdVl6OarZhAk6RPOBHK-146" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="K5r6t-TvMaqbFEV9AC27-1" style="shape=tableRow;horizontal=0;startSize=0;swimlaneHead=0;swimlaneBody=0;fillColor=none;collapsible=0;dropTarget=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;top=0;left=0;right=0;bottom=0;" parent="LWdVl6OarZhAk6RPOBHK-139" vertex="1">
<mxGeometry y="150" width="180" height="30" as="geometry" />
<mxGeometry y="120" width="180" height="30" as="geometry" />
</mxCell>
<mxCell id="K5r6t-TvMaqbFEV9AC27-2" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;editable=1;overflow=hidden;whiteSpace=wrap;html=1;" parent="K5r6t-TvMaqbFEV9AC27-1" vertex="1">
<mxGeometry width="30" height="30" as="geometry">
<mxRectangle width="30" height="30" as="alternateBounds" />
</mxGeometry>
</mxCell>
<mxCell id="K5r6t-TvMaqbFEV9AC27-3" value="Role" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="K5r6t-TvMaqbFEV9AC27-1" vertex="1">
<mxCell id="K5r6t-TvMaqbFEV9AC27-3" value="roles" style="shape=partialRectangle;connectable=0;fillColor=none;top=0;left=0;bottom=0;right=0;align=left;spacingLeft=6;overflow=hidden;whiteSpace=wrap;html=1;" parent="K5r6t-TvMaqbFEV9AC27-1" vertex="1">
<mxGeometry x="30" width="150" height="30" as="geometry">
<mxRectangle width="150" height="30" as="alternateBounds" />
</mxGeometry>
+45
View File
@@ -0,0 +1,45 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20240909114239 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('DROP SEQUENCE room_category_details_id_seq CASCADE');
$this->addSql('ALTER TABLE room_category_details DROP CONSTRAINT fk_3735fabb67333dd');
$this->addSql('DROP TABLE room_category_details');
$this->addSql('ALTER TABLE room_category_photo ADD photo_order INT DEFAULT NULL');
$this->addSql('ALTER TABLE room_category_photo DROP kind');
$this->addSql('ALTER TABLE room_fare DROP CONSTRAINT FK_35C9B213A7233EF2');
$this->addSql('ALTER TABLE room_fare ADD CONSTRAINT FK_35C9B213A7233EF2 FOREIGN KEY (fare_table_id) REFERENCES fare_table (id) ON DELETE CASCADE NOT DEFERRABLE INITIALLY IMMEDIATE');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('CREATE SEQUENCE room_category_details_id_seq INCREMENT BY 1 MINVALUE 1 START 1');
$this->addSql('CREATE TABLE room_category_details (id INT NOT NULL, room_category_id INT NOT NULL, details_section VARCHAR(255) NOT NULL, detail_value VARCHAR(255) NOT NULL, PRIMARY KEY(id))');
$this->addSql('CREATE INDEX idx_3735fabb67333dd ON room_category_details (room_category_id)');
$this->addSql('ALTER TABLE room_category_details ADD CONSTRAINT fk_3735fabb67333dd FOREIGN KEY (room_category_id) REFERENCES room_category (id) NOT DEFERRABLE INITIALLY IMMEDIATE');
$this->addSql('ALTER TABLE room_fare DROP CONSTRAINT fk_35c9b213a7233ef2');
$this->addSql('ALTER TABLE room_fare ADD CONSTRAINT fk_35c9b213a7233ef2 FOREIGN KEY (fare_table_id) REFERENCES fare_table (id) NOT DEFERRABLE INITIALLY IMMEDIATE');
$this->addSql('ALTER TABLE room_category_photo ADD kind VARCHAR(30) NOT NULL');
$this->addSql('ALTER TABLE room_category_photo DROP photo_order');
}
}
@@ -33,7 +33,6 @@ class RoomCategoryCrudController extends AbstractCrudController
TextField::new('description'),
TextField::new('bedType'),
IntegerField::new('maxGuestNum'),
CollectionField::new('roomCategoryDetails')->useEntryCrudForm(),
CollectionField::new('roomCategoryPhotos')->useEntryCrudForm()
];
}
@@ -1,24 +0,0 @@
<?php
namespace App\Controller\Admin;
use App\Entity\RoomCategoryDetails;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
use EasyCorp\Bundle\EasyAdminBundle\Field\TextField;
class RoomCategoryDetailsCrudController extends AbstractCrudController
{
public static function getEntityFqcn(): string
{
return RoomCategoryDetails::class;
}
public function configureFields(string $pageName): iterable
{
return [
TextField::new('detailsSection'),
TextField::new('detailValue'),
];
}
}
@@ -5,7 +5,7 @@ namespace App\Controller\Admin;
use App\Entity\RoomCategoryPhoto;
use App\Entity\RoomCategoryPhotoKinds;
use EasyCorp\Bundle\EasyAdminBundle\Controller\AbstractCrudController;
use EasyCorp\Bundle\EasyAdminBundle\Field\{TextField, ChoiceField};
use EasyCorp\Bundle\EasyAdminBundle\Field\{TextField, IntegerField};
class RoomCategoryPhotoCrudController extends AbstractCrudController
{
@@ -18,7 +18,7 @@ class RoomCategoryPhotoCrudController extends AbstractCrudController
{
yield TextField::new('path');
yield TextField::new('altText');
yield ChoiceField::new('kind')->setChoices(['Main' => 'main', 'Bathroom' => 'bathroom', 'Other' => 'other']);
yield IntegerField::new('order');
}
}
@@ -6,7 +6,6 @@ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Doctrine\ORM\EntityManagerInterface;
use App\Repository\RoomCategoryRepository;
use App\Entity\RoomCategory;
use App\Entity\RoomCategoryDetails;
use App\Entity\RoomCategoryPhoto;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\HttpFoundation\JsonResponse;
+1 -1
View File
@@ -14,7 +14,7 @@ class ConfigVariable
#[ORM\Column(length: 32, unique: true, nullable: false)]
private string $key = "";
#[ORM\Column(length: 255)]
#[ORM\Column(length: 255, nullable: false)]
private ?string $value = null;
#[ORM\Column(type: 'string', enumType: ConfigSectionType::class, nullable: false)]
+1 -1
View File
@@ -20,7 +20,7 @@ class FareTable
#[ORM\JoinColumn(nullable: false, onDelete: "CASCADE")]
private ?RoomCategory $roomCategory = null;
#[ORM\Column(type: Types::DATETIME_MUTABLE)]
#[ORM\Column(type: Types::DATETIME_MUTABLE, nullable: false)]
private ?\DateTimeInterface $startDate = null;
#[ORM\Column(type : Types::DATETIME_MUTABLE, nullable: true)]
+1 -1
View File
@@ -19,7 +19,7 @@ class RoomAvailability
#[ORM\JoinColumn(nullable: false, onDelete: "CASCADE")]
private ?RoomCategory $roomCategory = null;
#[ORM\Column]
#[ORM\Column(nullable: false)]
private ?int $numAvailable = null;
public function getDay(): ?\DateTimeInterface
+1 -38
View File
@@ -25,7 +25,7 @@ class RoomCategory
#[ORM\Column(length: 64, nullable: true)]
private ?string $bedType = null;
#[ORM\Column]
#[ORM\Column(nullable: false)]
private ?int $maxGuestNum = null;
/**
@@ -34,16 +34,9 @@ class RoomCategory
#[ORM\OneToMany(targetEntity: RoomCategoryPhoto::class, mappedBy: 'roomCategory', orphanRemoval: true, cascade: ['persist'])]
private Collection $roomCategoryPhotos;
/**
* @var Collection<int, RoomCategoryDetails>
*/
#[ORM\OneToMany(targetEntity: RoomCategoryDetails::class, mappedBy: 'roomCategory', orphanRemoval: true, cascade: ['persist'])]
private Collection $roomCategoryDetails;
public function __construct()
{
$this->roomCategoryPhotos = new ArrayCollection();
$this->roomCategoryDetails = new ArrayCollection();
}
public function getId(): ?int
@@ -129,36 +122,6 @@ class RoomCategory
return $this;
}
/**
* @return Collection<int, RoomCategoryDetails>
*/
public function getRoomCategoryDetails(): Collection
{
return $this->roomCategoryDetails;
}
public function addRoomCategoryDetail(RoomCategoryDetails $roomCategoryDetail): static
{
if (!$this->roomCategoryDetails->contains($roomCategoryDetail)) {
$this->roomCategoryDetails->add($roomCategoryDetail);
$roomCategoryDetail->setRoomCategory($this);
}
return $this;
}
public function removeRoomCategoryDetail(RoomCategoryDetails $roomCategoryDetail): static
{
if ($this->roomCategoryDetails->removeElement($roomCategoryDetail)) {
// set the owning side to null (unless already changed)
if ($roomCategoryDetail->getRoomCategory() === $this) {
$roomCategoryDetail->setRoomCategory(null);
}
}
return $this;
}
public function __toString()
{
return $this->name;
-70
View File
@@ -1,70 +0,0 @@
<?php
namespace App\Entity;
use App\Repository\RoomCategoryDetailsRepository;
use Symfony\Component\Serializer\Annotation\Ignore;
use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: RoomCategoryDetailsRepository::class)]
class RoomCategoryDetails
{
#[ORM\Id]
#[ORM\GeneratedValue]
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
private ?string $detailsSection = null;
#[ORM\Column(length: 255)]
private ?string $detailValue = null;
#[ORM\ManyToOne(inversedBy: 'roomCategoryDetails')]
#[ORM\JoinColumn(nullable: false)]
#[Ignore]
private ?RoomCategory $roomCategory = null;
public function getId(): ?int
{
return $this->id;
}
public function getDetailsSection(): ?string
{
return $this->detailsSection;
}
public function setDetailsSection(string $detailsSection): static
{
$this->detailsSection = $detailsSection;
return $this;
}
public function getDetailValue(): ?string
{
return $this->detailValue;
}
public function setDetailValue(string $detailValue): static
{
$this->detailValue = $detailValue;
return $this;
}
#[Ignore]
public function getRoomCategory(): ?RoomCategory
{
return $this->roomCategory;
}
#[Ignore]
public function setRoomCategory(?RoomCategory $roomCategory): static
{
$this->roomCategory = $roomCategory;
return $this;
}
}
+7 -7
View File
@@ -14,14 +14,14 @@ class RoomCategoryPhoto
#[ORM\Column]
private ?int $id = null;
#[ORM\Column(length: 255)]
#[ORM\Column(length: 255, nullable: false)]
private ?string $path = null;
#[ORM\Column(length: 255, nullable: true)]
private ?string $altText = null;
#[ORM\Column(length: 30)]
private ?string $kind = null;
#[ORM\Column(nullable: true)]
private ?int $photoOrder = null;
#[ORM\ManyToOne(inversedBy: 'roomCategoryPhotos')]
#[ORM\JoinColumn(nullable: false)]
@@ -57,14 +57,14 @@ class RoomCategoryPhoto
return $this;
}
public function getKind(): ?string
public function getPhotoOrder(): ?int
{
return $this->kind;
return $this->photoOrder;
}
public function setKind(string $kind): static
public function setPhotoOrder(?int $photoOrder): static
{
$this->kind = $kind;
$this->photoOrder = $photoOrder;
return $this;
}
+1 -1
View File
@@ -14,7 +14,7 @@ class RoomFare
private ?int $id = null;
#[ORM\ManyToOne(inversedBy: 'roomFares')]
#[ORM\JoinColumn(nullable: false)]
#[ORM\JoinColumn(nullable: false, onDelete: "CASCADE")]
private ?FareTable $fareTable = null;
#[ORM\Column]
@@ -1,48 +0,0 @@
<?php
namespace App\Repository;
use App\Entity\RoomCategoryDetails;
use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
use Doctrine\Persistence\ManagerRegistry;
/**
* @extends ServiceEntityRepository<RoomCategoryDetails>
*
* @method RoomCategoryDetails|null find($id, $lockMode = null, $lockVersion = null)
* @method RoomCategoryDetails|null findOneBy(array $criteria, array $orderBy = null)
* @method RoomCategoryDetails[] findAll()
* @method RoomCategoryDetails[] findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null)
*/
class RoomCategoryDetailsRepository extends ServiceEntityRepository
{
public function __construct(ManagerRegistry $registry)
{
parent::__construct($registry, RoomCategoryDetails::class);
}
// /**
// * @return RoomCategoryDetails[] Returns an array of RoomCategoryDetails objects
// */
// public function findByExampleField($value): array
// {
// return $this->createQueryBuilder('r')
// ->andWhere('r.exampleField = :val')
// ->setParameter('val', $value)
// ->orderBy('r.id', 'ASC')
// ->setMaxResults(10)
// ->getQuery()
// ->getResult()
// ;
// }
// public function findOneBySomeField($value): ?RoomCategoryDetails
// {
// return $this->createQueryBuilder('r')
// ->andWhere('r.exampleField = :val')
// ->setParameter('val', $value)
// ->getQuery()
// ->getOneOrNullResult()
// ;
// }
}