Skip to content

Instantly share code, notes, and snippets.

@beyondxscratch
Created July 27, 2019 22:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beyondxscratch/bda452255790b412cc7211c99528662f to your computer and use it in GitHub Desktop.
Save beyondxscratch/bda452255790b412cc7211c99528662f to your computer and use it in GitHub Desktop.
/**
* <p>
* A DDD aggregate is a cluster of domain objects that is treated as a
* single unit to ensure consistency across them.
* </p>
*
* @see <a href= "https://martinfowler.com/bliki/DDD_Aggregate.html">
* Aggregates in Domain Driven Design
* </a>
*/
public @interface Aggregate {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment