@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface ShallowReference
Use ShallowReference to mark certain Entities as compared only by Id.
When ShallowReference is enabled for given Entity,
all its properties except idProperty are ignored.
It stops building Object Graph from objects of this Entity.