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