Aggregate
constructor(scopes: Set<String> = linkedSetOf(), type: String? = null, tenantId: String? = null, id: String? = null, commands: Set<String> = linkedSetOf(), events: Set<String> = linkedSetOf())
Parameters
scopes
Set of package scopes that belong to this aggregate.
type
Fully qualified name of the aggregate class.
tenantId
Optional static tenant ID for multi-tenant scenarios.
id
Optional custom ID generator name.
commands
Set of command package scopes handled by this aggregate.
events
Set of event package scopes produced by this aggregate.