How to use ModelMapper in Spring Boot

Step 1: Add given dependency in pom.xml file. <dependency> <groupId>org.modelmapper</groupId> <artifactId>modelmapper</artifactId> </dependency> Step 2: Go to your main file and copy &…