Booking domain
| From | Relationship | To |
|---|---|---|
| Account | owns | Events and products |
| Event | optionally defines | Recurring series |
| Event or series | produces | Event instances |
| User | creates | Bookings |
| Booking | reserves | Event instance |
| Product purchase | creates | Payment and entitlement |
| Entitlement | funds | Booking |
- Event: reusable definition such as “Morning Flow”.
- Recurring series: weekly generation rule with start and end dates.
- Event instance: concrete occurrence with a start, end, capacity, status, and audience.
- Product: something purchasable, such as a subscription, class pass, workshop, or drop-in.
- Entitlement: a user’s right to book, potentially limited by remaining classes or expiry.
- Booking: a reservation connecting an attendee to one instance and its payment or entitlement source.
- Payment: purchase attempt and provider result.
Moved or cancelled recurring occurrences are recorded as instance exceptions so the original series remains understandable.