网址
pintora
例子
er图 例子
erDiagram
title: Entity Relationship Example
CUSTOMER {
int id PK
int address FK
}
CUSTOMER ||--o{ ORDER : places
ORDER ||--|{ LINE-ITEM : contains
CUSTOMER }|..|{ DELIVERY-ADDRESS : uses
ORDER {
int orderNumber PK
int customer FK "customer id"
string deliveryAddress
}