Added custom validator on the Book entity