Skip to content

Commit

Permalink
feat: update Promise model definitions with evidence and reference
Browse files Browse the repository at this point in the history
  • Loading branch information
mixth committed Jul 25, 2024
1 parent fe7487f commit 5c90510
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/models/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ erDiagram
BillEvent }o--o| Voting: "can refer to"
Party ||--o{ Promise: "makes"
Promise ||--|{ PromiseProgress: "are tracked with"
PromiseProgress }o..o{ BillEvent: "can refer to"
PromiseProgress }o..o| BillEvent: "can refer to"
Politician {
string id PK "firstname-lastname"
Expand Down Expand Up @@ -133,7 +133,8 @@ erDiagram
string title
string description
number billEventId FK "refer to BillEvent"
Reference reference "link: { label: string, url: string }, description: string"
Reference reference "label: string, url: string, description: string"
Evidence evidence "type: image | document, url: string"
}
```

Expand All @@ -145,3 +146,5 @@ erDiagram
- **BillEvent** = เหตุการต่างๆ ระหว่างการเสนอกฎหมาย
- **Voting** = การลงมติ
- **Vote** = การลงคะแนน
- **Promise** = คำสัญญา
- **PromiseProgress** = ความคืบหน้าคำสัญญา

0 comments on commit 5c90510

Please sign in to comment.