-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.html
12 lines (12 loc) · 19.3 KB
/
schema.html
1
2
3
4
5
6
7
8
9
10
11
12
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Draw.io Diagram</title>
<meta http-equiv="refresh" content="0;URL='https://www.draw.io/#G0B68V-e9qBnt8WTlmRHlkNjQzRFE'"/>
<meta charset="utf-8"/>
</head>
<body>
<div class="mxgraph" style="max-width:100%;border:1px solid transparent;" data-mxgraph="{"highlight":"#0000ff","nav":true,"resize":true,"xml":"<mxGraphModel dx=\"1049\" dy=\"630\" grid=\"1\" gridSize=\"10\" guides=\"1\" tooltips=\"1\" connect=\"1\" arrows=\"1\" fold=\"1\" page=\"1\" pageScale=\"1\" pageWidth=\"850\" pageHeight=\"1100\" background=\"#ffffff\" math=\"0\" shadow=\"0\"><root><mxCell id=\"0\"/><mxCell id=\"1\" parent=\"0\"/><object label=\"Users\" user_id=\"\" id=\"1d1103b5ff1f4aa1-2\"><mxCell style=\"swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;\" vertex=\"1\" parent=\"1\"><mxGeometry x=\"300\" y=\"46\" width=\"140\" height=\"130\" as=\"geometry\"/></mxCell></object><mxCell id=\"1d1103b5ff1f4aa1-3\" value=\"+ user_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-2\"><mxGeometry y=\"26\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-4\" value=\"+ user_name: text\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-2\"><mxGeometry y=\"52\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-5\" value=\"+ email: varchar&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-2\"><mxGeometry y=\"78\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-7\" value=\"+ password: varchar&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-2\"><mxGeometry y=\"104\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-8\" value=\"Products\" style=\"swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;\" vertex=\"1\" parent=\"1\"><mxGeometry x=\"580\" y=\"36\" width=\"140\" height=\"130\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-9\" value=\"+ product_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-8\"><mxGeometry y=\"26\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-10\" value=\"+ product_name: text&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-8\"><mxGeometry y=\"52\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-11\" value=\"+ color_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-8\"><mxGeometry y=\"78\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-12\" value=\"+ price: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-8\"><mxGeometry y=\"104\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-13\" value=\"orders\" style=\"swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;\" vertex=\"1\" parent=\"1\"><mxGeometry x=\"490\" y=\"262\" width=\"140\" height=\"110\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-14\" value=\"+ order_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-13\"><mxGeometry y=\"26\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-16\" value=\"+ product_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-13\"><mxGeometry y=\"52\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-18\" value=\"order_cost\" style=\"swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;\" vertex=\"1\" parent=\"1\"><mxGeometry x=\"300\" y=\"229\" width=\"140\" height=\"130\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-19\" value=\"+ order_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-18\"><mxGeometry y=\"26\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-15\" value=\"+ user_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-18\"><mxGeometry y=\"52\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-20\" value=\"+ order_cost: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-18\"><mxGeometry y=\"78\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-31\" value=\"+ order_date: date&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-18\"><mxGeometry y=\"104\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-22\" value=\"payment\" style=\"swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;\" vertex=\"1\" parent=\"1\"><mxGeometry x=\"70\" y=\"323\" width=\"160\" height=\"186\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-23\" value=\"+ payment_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-22\"><mxGeometry y=\"26\" width=\"160\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-24\" value=\"+ order_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-22\"><mxGeometry y=\"52\" width=\"160\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-25\" value=\"+ user_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-22\"><mxGeometry y=\"78\" width=\"160\" height=\"42\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-26\" value=\"+ payment_mode_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-22\"><mxGeometry y=\"120\" width=\"160\" height=\"40\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-27\" value=\"payment_modes\" style=\"swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;\" vertex=\"1\" parent=\"1\"><mxGeometry x=\"10\" y=\"25\" width=\"190\" height=\"152\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-28\" value=\"+ payment_mode_id:number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-27\"><mxGeometry y=\"26\" width=\"190\" height=\"54\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-29\" value=\"mode: text&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-27\"><mxGeometry y=\"80\" width=\"190\" height=\"46\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-30\" value=\"+ discount_amount: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-27\"><mxGeometry y=\"126\" width=\"190\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-32\" value=\"product_color\" style=\"swimlane;html=1;fontStyle=0;childLayout=stackLayout;horizontal=1;startSize=26;fillColor=none;horizontalStack=0;resizeParent=1;resizeLast=0;collapsible=1;marginBottom=0;swimlaneFillColor=#ffffff;\" vertex=\"1\" parent=\"1\"><mxGeometry x=\"710\" y=\"294\" width=\"140\" height=\"110\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-33\" value=\"+ color_id: number&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-32\"><mxGeometry y=\"26\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-34\" value=\"+ color: text&lt;br&gt;\" style=\"text;html=1;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;whiteSpace=wrap;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;\" vertex=\"1\" parent=\"1d1103b5ff1f4aa1-32\"><mxGeometry y=\"52\" width=\"140\" height=\"26\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-46\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;exitX=1;exitY=0.5;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;\" edge=\"1\" parent=\"1\" source=\"1d1103b5ff1f4aa1-19\" target=\"1d1103b5ff1f4aa1-14\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-56\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=1;entryY=0.5;jettySize=auto;orthogonalLoop=1;\" edge=\"1\" parent=\"1\" source=\"1d1103b5ff1f4aa1-9\" target=\"1d1103b5ff1f4aa1-16\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-58\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=0;entryY=0.769;entryPerimeter=0;jettySize=auto;orthogonalLoop=1;\" edge=\"1\" parent=\"1\" source=\"1d1103b5ff1f4aa1-11\" target=\"1d1103b5ff1f4aa1-33\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-67\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;\" edge=\"1\" parent=\"1\" source=\"1d1103b5ff1f4aa1-15\" target=\"1d1103b5ff1f4aa1-3\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-70\" value=\"\" style=\"endArrow=classic;html=1;\" edge=\"1\" parent=\"1\"><mxGeometry width=\"50\" height=\"50\" relative=\"1\" as=\"geometry\"><mxPoint x=\"10\" y=\"60\" as=\"sourcePoint\"/><mxPoint x=\"60\" y=\"10\" as=\"targetPoint\"/></mxGeometry></mxCell><mxCell id=\"1d1103b5ff1f4aa1-71\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=1;entryY=0.5;jettySize=auto;orthogonalLoop=1;\" edge=\"1\" parent=\"1\" source=\"1d1103b5ff1f4aa1-26\" target=\"1d1103b5ff1f4aa1-28\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-72\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=0;entryY=0.5;jettySize=auto;orthogonalLoop=1;\" edge=\"1\" parent=\"1\" source=\"1d1103b5ff1f4aa1-25\" target=\"1d1103b5ff1f4aa1-3\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell><mxCell id=\"1d1103b5ff1f4aa1-73\" style=\"edgeStyle=orthogonalEdgeStyle;rounded=0;html=1;entryX=1;entryY=0.5;jettySize=auto;orthogonalLoop=1;\" edge=\"1\" parent=\"1\" source=\"1d1103b5ff1f4aa1-24\" target=\"1d1103b5ff1f4aa1-14\"><mxGeometry relative=\"1\" as=\"geometry\"/></mxCell></root></mxGraphModel>","toolbar":"zoom layers lightbox"}"></div>
<a style="position:absolute;top:50%;left:50%;margin-top:-128px;margin-left:-64px;" href="https://www.draw.io/#G0B68V-e9qBnt8WTlmRHlkNjQzRFE" target="_blank"><img border="0" src="https://www.draw.io/images/drawlogo128.png"/></a>
</body>
</html>