add @EqualsAndHashCode annotation to entity