class FavoritePlaceMapper extends AbstractConverter<FavoritePlaceDto, FavoritePlace> {

    @Override
    public FavoritePlace convert(FavoritePlaceDto dto) {
        return FavoritePlace.builder()
            .name(dto.getName())
            .place(Place.builder().id(dto.getPlaceId()).build())
            .build();
    }

}