In this session, we had a discussion about how to convert entity to dto's and viceversa using MapStruct library for this following are the development steps
1.add maven dependency and plugin in pom.xml
2.define one interfae annotated with @Mapper and conversion methods
3.invoke these methods from service implementation class
For java fullstack trainings contact
8500122392
javajungle
24 июн 2024