Overview85 ModelsWorkflowsERD & Schema
Connected to Prisma Postgres · Full Live CRUD Enabled

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.

Prisma Models
85
85/85 populated
Typed Fields
759
camelCase TS → snake_case PG
Prisma Enums
38
Closed-set type safety
Relation Fields
400
8 trees · 12 1:1 · 2 cycles
Live DB Rows
188
Queried live from Postgres

Live Prisma TypeScript Object Previews

Directly queried from Prisma Postgres via prisma.*.findMany({ include }).

Full relational graphs

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.

Searchable catalog

Strategy & Rollups

Objectives, KRs, Initiatives, KPIs, and hierarchical TargetRollups.

5 models
11 rows

Program Plan

Marketing Programs, ProgramTargets, and cross-domain Attachments.

3 models
5 rows

Spend & Purchase

Spend tracking, forecasts, Suppliers, PRs, line items, allocations, and procurement documents.

7 models
14 rows

Budget Ledger

Hierarchical BudgetEnvelopes, BudgetRequests, and double-entry BudgetTransactions.

3 models
6 rows

Bill-Of-Material & Delivery

BOM templates, BOMs, BOMAssets, and Ad/Social post delivery schedules and requests.

8 models
13 rows

Events & Floor Plans

In-person & virtual Events, Venues, Locations, FloorPlans, Tracks, Talks, Speakers, and CFPs.

14 models
21 rows

Ad Publishing (Zernio)

LeadForms, encrypted Leads, and per-currency MetricSnapshots.

3 models
4 rows

CRM Campaigns

Synced SalesforceCampaign hierarchy and HubspotCampaign records.

2 models
3 rows

Access Management

Team hierarchy, Users, Roles, team-scoped UserRoles, and Permissions.

5 models
22 rows

Settings & Integrations

Types, geo lookups, Measurements, TimeZones, Workspaces, Connections, AdAccounts, and SocialIntegrations.

15 models
46 rows