mermaid
This commit is contained in:
20
banque.md
20
banque.md
@@ -84,7 +84,7 @@ erDiagram
|
||||
|
||||
holder {
|
||||
bigint id PK
|
||||
int person_id FK
|
||||
date creation_date
|
||||
}
|
||||
|
||||
%% Relations
|
||||
@@ -175,7 +175,7 @@ erDiagram
|
||||
|
||||
exchange_rate {
|
||||
date date PK
|
||||
text currency_code PK/FK
|
||||
text currency_code PK
|
||||
decimal rate
|
||||
}
|
||||
|
||||
@@ -196,16 +196,16 @@ erDiagram
|
||||
|
||||
%% Relations
|
||||
|
||||
person ||--|| holder : a
|
||||
company ||--|| holder : a
|
||||
bank ||--|| holder : a
|
||||
person ||--|| holder : is
|
||||
company ||--|| holder : is
|
||||
bank ||--|| holder : is
|
||||
holder }|--|{ account_holder : a
|
||||
account_holder }|--|{ account : a
|
||||
currency ||--|{ account : a
|
||||
account_holder }|--|{ account : hold
|
||||
currency ||--|{ account : tenu
|
||||
exchange_rate }o--|| currency : a
|
||||
transaction }o--|| operation : a
|
||||
operation }o--|| account : a
|
||||
operation }o--|| account : a
|
||||
transaction }o--|| operation : contient
|
||||
operation }o--|| account : concerne
|
||||
operation }o--|| account : concerne
|
||||
```
|
||||
|
||||
## 4. Procédure stockée
|
||||
|
||||
Reference in New Issue
Block a user