Added SequenceGenerator and bean validation annotations to entity classes