-
Notifications
You must be signed in to change notification settings - Fork 6
ModelMapper
SirajChaudhary edited this page Sep 25, 2022
·
2 revisions
ModelMapper is a simple, intelligent, object mapping library that automatically maps objects to each other (e.g. VO to DTO and vice versa)
Step1: Add modelmapper dependency in pom.xml in every microservice
<!-- modelmapper -->
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.4.4</version>
</dependency>
Step2: Use modelmapper wherever it needed.