# [Digital](../domain.md) ## Entities ### Service Location A Service Location is somewhere the business delivers service: a store, a branch, a depot, a contact centre. It exists so that activity can be attributed to a place, which is what makes location-level performance and staffing analysis possible. ```mermaid --- config: layout: elk --- classDiagram class ServiceLocation{ * Service Location Identifier : string Location Code : string Location Name : string } ServiceLocation "1" --> "0..*" Account : serves class Account["Account"] ``` ```yaml existence: independent mutability: reference attributes: Service Location Identifier: type: string identifier: primary description: Unique identifier for the service location. Location Code: type: string description: Short operational code used to refer to the location. Location Name: type: string description: Human-readable name of the location. ``` ```yaml governance: retention_basis: Inherited from the domain default of 7 years post relationship end ``` ## Relationships ### Service Location Serves Account A Service Location looks after one or more Accounts. ```yaml source: Service Location type: has target: Account cardinality: one-to-many granularity: atomic ownership: Service Location ``` ### Service Location Transaction Summary A Service Location has a grouped relationship to the Transactions handled through it. Declared at group granularity because the useful question is aggregate — how much went through this location this month — not which individual transaction. ```yaml source: Service Location type: associates_with target: Transaction cardinality: one-to-many granularity: group ownership: Service Location ```