-
Notifications
You must be signed in to change notification settings - Fork 0
/
structure.drawio
1 lines (1 loc) · 5.17 KB
/
structure.drawio
1
<mxfile host="drawio-plugin" modified="2024-08-12T20:01:16.474Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36" etag="iuE1QgcduTQXNftw-tyR" version="20.5.3" type="embed"><diagram id="L9uo4u32R48G8U-ROONk" name="Page-1"><mxGraphModel dx="884" dy="546" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="2" value="<font style="font-size: 14px;">title: str<br>author: str<br>cover: enum (Hard/Soft)<br>inventory: int<br>daily_fee: decimal<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=3;spacingLeft=3;" parent="1" vertex="1"><mxGeometry x="125" y="490" width="170" height="100" as="geometry"/></mxCell><mxCell id="3" value="<div style="background-color:#ffffff;color:#080808"><pre style="font-family:'JetBrains Mono',monospace;font-size:10,5pt;"><span style="color:#000000;"><font style="font-size: 16px;">Book</font></span></pre></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="125" y="450" width="170" height="40" as="geometry"/></mxCell><mxCell id="18" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.28;entryY=-0.071;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=diamondThin;endFill=1;endSize=16;" edge="1" parent="1" source="4" target="12"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="19" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.25;exitY=1;exitDx=0;exitDy=0;entryX=0.217;entryY=-0.036;entryDx=0;entryDy=0;entryPerimeter=0;endArrow=diamondThin;endFill=1;endSize=16;" edge="1" parent="1" source="4" target="3"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="4" value="<font style="font-size: 14px;">borrow_date: date<br>expected_return_date: date<br>actual_return_date: date<br>book: Book<br>user: User<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=3;spacingLeft=3;" parent="1" vertex="1"><mxGeometry x="115" y="290" width="190" height="100" as="geometry"/></mxCell><mxCell id="5" value="<div style="background-color:#ffffff;color:#080808"><pre style="font-family:'JetBrains Mono',monospace;font-size:10,5pt;"><span style="color:#000000;"><font style="font-size: 16px;">Borrowing</font></span></pre></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="115" y="250" width="190" height="40" as="geometry"/></mxCell><mxCell id="20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0.998;entryY=0.606;entryDx=0;entryDy=0;entryPerimeter=0;endSize=16;endArrow=diamondThin;endFill=1;" edge="1" parent="1" source="8" target="4"><mxGeometry relative="1" as="geometry"/></mxCell><mxCell id="8" value="<font style="font-size: 14px;">status: enum (Pending/Paid)<br>payment_type: enum (Payment/Fine)<br>borrowing: Borrowing<br>session_url: url<br>session_id: str<br>money_to_pay: decimal<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=3;spacingLeft=3;" parent="1" vertex="1"><mxGeometry x="360" y="290" width="240" height="120" as="geometry"/></mxCell><mxCell id="9" value="<div style="background-color:#ffffff;color:#080808"><pre style="font-family:'JetBrains Mono',monospace;font-size:10,5pt;"><div><pre style="font-family:'JetBrains Mono',monospace;font-size:10,5pt;"><span style="color:#000000;"><font style="font-size: 16px;">Payment</font></span></pre></div></pre></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="360" y="250" width="240" height="40" as="geometry"/></mxCell><mxCell id="11" value="<font style="font-size: 14px;">username: none<br>email: email<br>first_name: str<br>last_name: str<br>is_staff: bool<br>is_active: bool<br></font>" style="rounded=0;whiteSpace=wrap;html=1;align=left;verticalAlign=top;spacingTop=3;spacingLeft=3;" parent="1" vertex="1"><mxGeometry x="360" y="510" width="170" height="120" as="geometry"/></mxCell><mxCell id="12" value="<div style="background-color:#ffffff;color:#080808"><pre style="font-family:'JetBrains Mono',monospace;font-size:10,5pt;"><span style="color:#000000;"><font style="font-size: 16px;">User(AbstractUser)</font></span></pre></div>" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1"><mxGeometry x="360" y="470" width="170" height="40" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>