Zrkadlo stavu predplatného v Stripe, jeden riadok na nájomníka; z karty sa uchováva len značka, posledné štyri číslice a platnosť.
Envelope identity and kind-specific facts from the entity's spec.
tenant-billing8tenant_idThis 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 |
|---|---|---|---|---|
tenant_id | uuid | yes | PK | — |
stripe_customer_id | text | optional | — | — |
stripe_subscription_id | text | optional | — | — |
status | text | yes | — | — |
current_period_end | timestamptz | optional | — | — |
cancel_at_period_end | boolean | yes | — | — |
pm_brand | text | optional | — | — |
pm_last4 | text | optional | — | — |
Merged from both ends: an edge the other entity declares appears here too (ADR-0015).
| Related entity | Cardinality | Via | Notes |
|---|---|---|---|
| Nájomník (klient)tenant | 1 — 1one-to-one | — |
Declared spec links and inverses derived from the graph.
Declared here
Derived from the graph
Free x-* spec keys and namespaced tool annotations (standard §1).
Annotations
gordulitch.sk/source-of-truthJediným zapisovateľom je overený Stripe webhook. Portál tento riadok nikdy nemení priamo a čísla platobnej karty sa na naše servery vôbec nedostanú.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/tenant-billing/docs/