Package org.seedstack.business.domain
Annotation Type DomainEntity
-
@Documented @Retention(RUNTIME) @Target({TYPE,ANNOTATION_TYPE}) public @interface DomainEntity
Marks a type as an entity. This is the minimal element to apply on a class to make the business framework recognize it as an entity.For better semantics it is recommended to use the
Entityinterface which is already annotated withDomainEntity.- See Also:
Entity