Recently i got a chance to work on microservices ,In existing code i observed some annotations in my pojo or JPA entities and did not see any setter or getter for properties defined. But in my whole code getter and…