Files
semprini-domain-digital-dat…/data_model/entities/payer.md
T
paulandClaude Opus 5 aeba56e5f2 Add the Digital Core domain model from semprini-blog-dataproducts
The MD-DDL model (domain, entities, enums, the Canonical Party product
declaration) moves into its own repository, owned by the domain's modelling
team. Engineering teams consume its product declarations and generate products
from semprini-data-product-templates.

Adds the MD-DDL agent wrappers (md-ddl init), pyproject with md-ddl, and
README/CLAUDE.md describing the team split and the handoff interface.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-17 22:51:50 +12:00

48 lines
1.2 KiB
Markdown

# [Digital Core](../domain.md)
## Entities
### Payer
A Payer is a Party Role representing the party value comes from in a transaction. It is a separate role from Customer because they are frequently not the same party: a parent pays a student's bill, a company pays an employee's expenses, a sponsor pays for someone else entirely.
```mermaid
---
config:
layout: elk
---
classDiagram
class Payer{
* Payer Identifier : string
Funding Source Reference : string
}
Payer --|> PartyRole
class PartyRole["<a href='./party_role.md'>Party Role</a>"]
```
```yaml
extends: Party Role
existence: independent
mutability: slowly_changing
attributes:
Payer Identifier:
type: string
identifier: primary
description: Unique identifier for the payer role instance.
Funding Source Reference:
type: string
description: Reference to the account or instrument the money comes from.
```
```yaml
governance:
retention_basis: Inherited from the domain default of 7 years post relationship end
```
## Relationships
No relationships are sourced directly from Payer. The canonical direction is Transaction-owned — see [Transaction Has Payer](transaction.md#transaction-has-payer).