mirror of https://github.com/bvn13/ADaStor.git
19 lines
358 B
Java
19 lines
358 B
Java
package ru.bvn13.adastor.config;
|
|
|
|
import org.modelmapper.ModelMapper;
|
|
import org.springframework.context.annotation.Bean;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
/**
|
|
* @author boykovn at 11.03.2019
|
|
*/
|
|
@Configuration
|
|
public class WebConfig {
|
|
|
|
@Bean
|
|
public ModelMapper modelMapper() {
|
|
return new ModelMapper();
|
|
}
|
|
|
|
}
|