package com.eactive.eai.apim.apigroup.mapper;

import com.eactive.eai.apim.apigroup.ApiGroupVO;
import com.eactive.eai.data.entity.onl.apim.apigroup.ApiGroup;
import com.eactive.eai.data.mapper.BaseMapperConfig;
import com.eactive.eai.data.mapper.GenericMapper;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

@Mapper(config = BaseMapperConfig.class, uses = { ApiGroupApiMapper.class })
public interface ApiGroupMapper extends GenericMapper<ApiGroupVO, ApiGroup> {

    @Mapping(source = "apiGroupApiList", target = "apiGroupApiList")
    ApiGroupVO toVo(ApiGroup apiGroup);

}
