package com.red.circle.other.app.convertor.sys;

import com.red.circle.framework.core.convertor.ConvertorModel;
import com.red.circle.other.app.dto.clientobject.sys.CountryCodeCO;
import com.red.circle.other.infra.database.rds.entity.sys.SysCountryCode;
import java.util.List;
import org.mapstruct.Mapper;

/**
 * @author pengliang on 2021/3/10
 */
@Mapper(componentModel = ConvertorModel.SPRING)
public interface SysCountryAppConvertor {

  List<CountryCodeCO> toListCountryCodeCO(List<SysCountryCode> countryCodes);

  CountryCodeCO toCountryCodeCO(SysCountryCode countryCode);
}
