GeographyRegionMapApiServiceImpl.java

/*
 * Copyright 2026 Global Crop Diversity Trust
 * Licensed under the Apache License, Version 2.0
 * See LICENSE file in project root folder or http://www.apache.org/licenses/LICENSE-2.0
 */

package org.gringlobal.api.v2.facade.impl;

import org.gringlobal.api.model.GeographyRegionMapDTO;
import org.gringlobal.api.v2.facade.GeographyRegionMapApiService;
import org.gringlobal.model.GeographyRegionMap;
import org.gringlobal.service.GeographyRegionMapService;
import org.gringlobal.service.filter.GeographyRegionMapFilter;

import org.springframework.stereotype.Service;

@Service
public class GeographyRegionMapApiServiceImpl extends APIFilteredServiceFacadeImpl<GeographyRegionMapService, GeographyRegionMapDTO, GeographyRegionMap, GeographyRegionMapFilter>
	implements GeographyRegionMapApiService {

	@Override
	protected GeographyRegionMap convert(GeographyRegionMapDTO source) {
		return mapper.map(source);
	}

	@Override
	protected GeographyRegionMapDTO convert(GeographyRegionMap source) {
		return mapper.map(source);
	}
}