AggregateIdCapable
interface AggregateIdCapable
Interface defining the contract for entities that have aggregate ID capability. An aggregate ID is used to uniquely identify an aggregate, which is a cluster of related entities and value objects treated as a single unit. In Domain-Driven Design (DDD), aggregates are the basic units for maintaining data consistency.