Changes in the model

We need to make some changes to our model, specifically in the News class. In our business rules, we need to keep our information safe, then we need to review all the news. We will add some methods to add a new review done by a user, and also we will add a method to check if the news was reviewed by all mandatory reviewers.

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.