@Target(value={FIELD,ANNOTATION_TYPE})
@Retention(value=RUNTIME)
public @interface AggregateVersion
Field annotation that indicates the field contains the value that represents the version of the Aggregate, used for
optimistic locking, as well as state validation for commands.
- Since:
- 2.0
- Author:
- Allard Buijze