"Digital Core" is to be the name of a canonical data product the domain will run, so the domain itself is Digital: its title, description and owner address in domain.md, the back-link heading of every entity, enum and product file, and the README, CLAUDE.md, Copilot instructions and package description. A breaking change by MD-DDL's test: a product generated from 1.0.0, such as Canonical Party, names its domain, and would come out different now. So version 2.0.0. v1.0.0 is tagged on the commit Canonical Party was generated from, which was never tagged. Lint: no findings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
48 lines
1.2 KiB
Markdown
48 lines
1.2 KiB
Markdown
# [Digital](../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).
|