added Bean validation to entities