11 lines
278 B
Java
11 lines
278 B
Java
|
package com.guwan.mapdemo;
|
||
|
|
||
|
|
||
|
import org.mapstruct.Mapper;
|
||
|
|
||
|
@Mapper(componentModel = "spring")
|
||
|
public interface SimpleSourceDestinationMapper {
|
||
|
SimpleDestination sourceToDestination(SimpleSource source);
|
||
|
SimpleSource destinationToSource(SimpleDestination destination);
|
||
|
}
|