Diagrama sem nome.drawio 8.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <mxfile host="app.diagrams.net" modified="2024-04-29T23:16:35.738Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36" etag="pJFsrYT6i5GJgK_vWKYQ" version="24.3.1" type="device">
  2. <diagram name="Página-1" id="61hX2trXgrGxDOttzH-Z">
  3. <mxGraphModel dx="1354" dy="600" 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">
  4. <root>
  5. <mxCell id="0" />
  6. <mxCell id="1" parent="0" />
  7. <mxCell id="vKUDB9fRETMhSaz3xTNn-1" value="Cliente" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
  8. <mxGeometry x="510" y="30" width="160" height="140" as="geometry" />
  9. </mxCell>
  10. <mxCell id="vKUDB9fRETMhSaz3xTNn-2" value="- telefone: long&lt;div&gt;- cpf: long&lt;/div&gt;&lt;div&gt;- nome: string&lt;/div&gt;&lt;div&gt;- endereco: string&lt;/div&gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-1">
  11. <mxGeometry y="26" width="160" height="64" as="geometry" />
  12. </mxCell>
  13. <mxCell id="vKUDB9fRETMhSaz3xTNn-3" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-1">
  14. <mxGeometry y="90" width="160" height="10" as="geometry" />
  15. </mxCell>
  16. <mxCell id="vKUDB9fRETMhSaz3xTNn-4" value="+ method(type): type" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-1">
  17. <mxGeometry y="100" width="160" height="40" as="geometry" />
  18. </mxCell>
  19. <mxCell id="vKUDB9fRETMhSaz3xTNn-5" value="Produto" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
  20. <mxGeometry x="485" y="230" width="210" height="170" as="geometry" />
  21. </mxCell>
  22. <mxCell id="vKUDB9fRETMhSaz3xTNn-6" value="- quantidade: int&lt;div&gt;- preco: float&lt;/div&gt;&lt;div&gt;- nome: string&lt;/div&gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-5">
  23. <mxGeometry y="26" width="210" height="54" as="geometry" />
  24. </mxCell>
  25. <mxCell id="vKUDB9fRETMhSaz3xTNn-7" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-5">
  26. <mxGeometry y="80" width="210" height="8" as="geometry" />
  27. </mxCell>
  28. <mxCell id="vKUDB9fRETMhSaz3xTNn-8" value="+ disponivel(): bool&lt;div&gt;+ adicionar(int quantidade): void&lt;/div&gt;&lt;div&gt;+ remover(int quantidade): void&lt;/div&gt;&lt;div&gt;+ getPreco(): float&lt;br&gt;&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/div&gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-5">
  29. <mxGeometry y="88" width="210" height="82" as="geometry" />
  30. </mxCell>
  31. <mxCell id="vKUDB9fRETMhSaz3xTNn-9" value="Pagamento" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
  32. <mxGeometry x="510" y="460" width="160" height="134" as="geometry" />
  33. </mxCell>
  34. <mxCell id="vKUDB9fRETMhSaz3xTNn-10" value="- valor: float&lt;div&gt;- numeroCartao: long&lt;/div&gt;&lt;div&gt;- cvv: int&lt;/div&gt;&lt;div&gt;- senha: string&lt;/div&gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-9">
  35. <mxGeometry y="26" width="160" height="74" as="geometry" />
  36. </mxCell>
  37. <mxCell id="vKUDB9fRETMhSaz3xTNn-11" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-9">
  38. <mxGeometry y="100" width="160" height="8" as="geometry" />
  39. </mxCell>
  40. <mxCell id="vKUDB9fRETMhSaz3xTNn-12" value="+ method(type): type" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-9">
  41. <mxGeometry y="108" width="160" height="26" as="geometry" />
  42. </mxCell>
  43. <mxCell id="vKUDB9fRETMhSaz3xTNn-13" value="Pedido" style="swimlane;fontStyle=1;align=center;verticalAlign=top;childLayout=stackLayout;horizontal=1;startSize=26;horizontalStack=0;resizeParent=1;resizeParentMax=0;resizeLast=0;collapsible=1;marginBottom=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
  44. <mxGeometry x="160" y="270" width="160" height="124" as="geometry" />
  45. </mxCell>
  46. <mxCell id="vKUDB9fRETMhSaz3xTNn-14" value="- cliente: Cliente&lt;div&gt;- produto: Produto&lt;/div&gt;&lt;div&gt;- pagamento: Pagamento&lt;/div&gt;&lt;div&gt;- codigopedido: int&lt;/div&gt;" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-13">
  47. <mxGeometry y="26" width="160" height="64" as="geometry" />
  48. </mxCell>
  49. <mxCell id="vKUDB9fRETMhSaz3xTNn-15" value="" style="line;strokeWidth=1;fillColor=none;align=left;verticalAlign=middle;spacingTop=-1;spacingLeft=3;spacingRight=3;rotatable=0;labelPosition=right;points=[];portConstraint=eastwest;strokeColor=inherit;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-13">
  50. <mxGeometry y="90" width="160" height="8" as="geometry" />
  51. </mxCell>
  52. <mxCell id="vKUDB9fRETMhSaz3xTNn-16" value="+ getCodigoPedido(): int" style="text;strokeColor=none;fillColor=none;align=left;verticalAlign=top;spacingLeft=4;spacingRight=4;overflow=hidden;rotatable=0;points=[[0,0.5],[1,0.5]];portConstraint=eastwest;whiteSpace=wrap;html=1;" vertex="1" parent="vKUDB9fRETMhSaz3xTNn-13">
  53. <mxGeometry y="98" width="160" height="26" as="geometry" />
  54. </mxCell>
  55. <mxCell id="vKUDB9fRETMhSaz3xTNn-17" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="vKUDB9fRETMhSaz3xTNn-13">
  56. <mxGeometry width="160" relative="1" as="geometry">
  57. <mxPoint x="350" y="110" as="sourcePoint" />
  58. <mxPoint x="510" y="110" as="targetPoint" />
  59. </mxGeometry>
  60. </mxCell>
  61. <mxCell id="vKUDB9fRETMhSaz3xTNn-18" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;entryX=0.01;entryY=0.122;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" target="vKUDB9fRETMhSaz3xTNn-8">
  62. <mxGeometry width="160" relative="1" as="geometry">
  63. <mxPoint x="320" y="330" as="sourcePoint" />
  64. <mxPoint x="480" y="330" as="targetPoint" />
  65. </mxGeometry>
  66. </mxCell>
  67. <mxCell id="vKUDB9fRETMhSaz3xTNn-19" value="Use" style="endArrow=open;endSize=12;dashed=1;html=1;rounded=0;entryX=-0.006;entryY=0.595;entryDx=0;entryDy=0;entryPerimeter=0;exitX=0.5;exitY=1.192;exitDx=0;exitDy=0;exitPerimeter=0;" edge="1" parent="1" source="vKUDB9fRETMhSaz3xTNn-16" target="vKUDB9fRETMhSaz3xTNn-10">
  68. <mxGeometry width="160" relative="1" as="geometry">
  69. <mxPoint x="270" y="440" as="sourcePoint" />
  70. <mxPoint x="430" y="440" as="targetPoint" />
  71. </mxGeometry>
  72. </mxCell>
  73. </root>
  74. </mxGraphModel>
  75. </diagram>
  76. </mxfile>