Hash :
148c1eca
Author :
Date :
2021-09-06T20:24:27
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
erDiagram
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
erDiagram
CUSTOMER ||--o{ ORDER : places
CUSTOMER {
string name
string custNumber
string sector
}
ORDER ||--|{ LINE-ITEM : contains
ORDER {
int orderNumber
string deliveryAddress
}
LINE-ITEM {
string productCode
int quantity
float pricePerUnit
}
PROPERTY ||--|{ ROOM : contains
CAR ||--o{ NAMED-DRIVER : allows
PERSON ||--o{ NAMED-DRIVER : is
erDiagram
CAR ||--o{ NAMED-DRIVER : allows
CAR {
string registrationNumber
string make
string model
}
PERSON ||--o{ NAMED-DRIVER : is
PERSON {
string firstName
string lastName
int age
}
erDiagram
CAR ||--o{ NAMED-DRIVER : allows
CAR {
string registrationNumber
string make
string model
}
PERSON ||--o{ NAMED-DRIVER : is
PERSON {
string firstName
string lastName
int age
}
----------------------------------------------------
[
["keyword", "erDiagram"],
"\r\n CUSTOMER ",
["arrow", "||--o{"],
" ORDER ",
["operator", ":"],
" places\r\n ORDER ",
["arrow", "||--|{"],
" LINE-ITEM ",
["operator", ":"],
" contains\r\n CUSTOMER ",
["arrow", "}|..|{"],
" DELIVERY-ADDRESS ",
["operator", ":"],
" uses\r\n\r\n",
["keyword", "erDiagram"],
"\r\n CUSTOMER ",
["arrow", "||--o{"],
" ORDER ",
["operator", ":"],
" places\r\n CUSTOMER ",
["punctuation", "{"],
"\r\n string name\r\n string custNumber\r\n string sector\r\n ",
["punctuation", "}"],
"\r\n ORDER ",
["arrow", "||--|{"],
" LINE-ITEM ",
["operator", ":"],
" contains\r\n ORDER ",
["punctuation", "{"],
"\r\n int orderNumber\r\n string deliveryAddress\r\n ",
["punctuation", "}"],
"\r\n LINE-ITEM ",
["punctuation", "{"],
"\r\n string productCode\r\n int quantity\r\n float pricePerUnit\r\n ",
["punctuation", "}"],
"\r\n\r\nPROPERTY ",
["arrow", "||--|{"],
" ROOM ",
["operator", ":"],
" contains\r\n\r\nCAR ",
["arrow", "||--o{"],
" NAMED-DRIVER ",
["operator", ":"],
" allows\r\n PERSON ",
["arrow", "||--o{"],
" NAMED-DRIVER ",
["operator", ":"],
" is\r\n\r\n",
["keyword", "erDiagram"],
"\r\n CAR ",
["arrow", "||--o{"],
" NAMED-DRIVER ",
["operator", ":"],
" allows\r\n CAR ",
["punctuation", "{"],
"\r\n string registrationNumber\r\n string make\r\n string model\r\n ",
["punctuation", "}"],
"\r\n PERSON ",
["arrow", "||--o{"],
" NAMED-DRIVER ",
["operator", ":"],
" is\r\n PERSON ",
["punctuation", "{"],
"\r\n string firstName\r\n string lastName\r\n int age\r\n ",
["punctuation", "}"],
["keyword", "erDiagram"],
"\r\n CAR ",
["arrow", "||--o{"],
" NAMED-DRIVER ",
["operator", ":"],
" allows\r\n CAR ",
["punctuation", "{"],
"\r\n string registrationNumber\r\n string make\r\n string model\r\n ",
["punctuation", "}"],
"\r\n PERSON ",
["arrow", "||--o{"],
" NAMED-DRIVER ",
["operator", ":"],
" is\r\n PERSON ",
["punctuation", "{"],
"\r\n string firstName\r\n string lastName\r\n int age\r\n ",
["punctuation", "}"]
]