Desaťročná evidencia potvrdení o prenose a MLS správ; každý riadok patrí práve jednému z troch možných vlastníkov a je jednoznačný na trojici smer, typ a prenos.
Envelope identity and kind-specific facts from the entity's spec.
evidence-record11idThis entity and everything one relation away, grouped by the data store each lives in.
Every column of this entity — type, whether it is required, and which key it is.
| Field | Type | Required | Key | Description |
|---|---|---|---|---|
id | uuid | yes | PK | — |
tenant_id | uuid | optional | — | — |
direction | text | yes | — | — |
evidence_type | text | yes | — | — |
inbound_document_id | uuid | optional | — | — |
outbound_document_id | uuid | optional | — | — |
quarantine_item_id | uuid | optional | — | — |
transmission_id | text | yes | — | — |
storage_path | text | yes | — | — |
content_sha256 | bytea | optional | — | — |
fetched_at | timestamptz | yes | — | — |
Merged from both ends: an edge the other entity declares appears here too (ADR-0015).
| Related entity | Cardinality | Via | Notes |
|---|---|---|---|
| Prijatá faktúrainbound-document | N — 1many-to-one | — | |
| Záznam MLSmls-record | 1 — None-to-many | — | declared on mls-record only |
| Odoslaná faktúraoutbound-document | N — 1many-to-one | — | declared on evidence-record only |
| Karanténna položkaquarantine-item | N — 1many-to-one | — |
Declared spec links and inverses derived from the graph.
Declared here
Derived from the graph
Markdown texts from the entity's docs/ folder.
Architecture notes, runbooks, and onboarding texts belong here — anything a new operator should read.
Add markdown files under data-entities/evidence-record/docs/