Markefin Main ERD — Prisma TypeScript Model Hub
Every entity, enum, currency decimal, self-referential hierarchy, and cross-domain relation from erd.mmd mapped to strongly typed Prisma 7 TypeScript objects with normalized snake_case PostgreSQL tables.
Live Prisma TypeScript Object Previews
Directly queried from Prisma Postgres via prisma.*.findMany({ include }).
Programs
Budget Envelopes
Ads & Creative
All 11 ERD Domain Modules (85 Models)
Click any model pill to inspect its Prisma TypeScript interface, browse live rows, or create/edit/delete records.
Strategy & Rollups
Objectives, KRs, Initiatives, KPIs, and hierarchical TargetRollups.
Program Plan
Marketing Programs, ProgramTargets, and cross-domain Attachments.
Spend & Purchase
Spend tracking, forecasts, Suppliers, PRs, line items, allocations, and procurement documents.
Budget Ledger
Hierarchical BudgetEnvelopes, BudgetRequests, and double-entry BudgetTransactions.
Bill-Of-Material & Delivery
BOM templates, BOMs, BOMAssets, and Ad/Social post delivery schedules and requests.
Events & Floor Plans
In-person & virtual Events, Venues, Locations, FloorPlans, Tracks, Talks, Speakers, and CFPs.
DAM & Creative Content
Assets, versions, taxonomies, facets, collections, approvals, SocialPost & Ad content sets.
Ad Publishing (Zernio)
LeadForms, encrypted Leads, and per-currency MetricSnapshots.
CRM Campaigns
Synced SalesforceCampaign hierarchy and HubspotCampaign records.
Access Management
Team hierarchy, Users, Roles, team-scoped UserRoles, and Permissions.
Settings & Integrations
Types, geo lookups, Measurements, TimeZones, Workspaces, Connections, AdAccounts, and SocialIntegrations.