[BAEL-10127] - Added code for modelmapper article

This commit is contained in:
amit2103
2018-12-16 16:37:45 +05:30
parent 0f443d3006
commit d9ac59cd13
14 changed files with 536 additions and 0 deletions
@@ -0,0 +1,20 @@
package com.baeldung.modelmapper;
import org.modelmapper.ModelMapper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
@SpringBootApplication
public class PostApplication {
public static void main(String[] args) {
SpringApplication.run(PostApplication.class, args);
}
@Bean
public ModelMapper modelMapper() {
return new ModelMapper();
}
}