package com.docus.server.convert;

import com.docus.infrastructure.web.response.PageResult;
import com.docus.server.dto.scheduling.management.SchCollectorVersionFileDTO;
import com.docus.server.entity.scheduling.management.SchCollectorVersionFile;
import com.docus.server.vo.scheduling.management.SchCollectorVersionFileVO;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 采集器版本列表更新包管理 服务转换器
 *
 * @author AutoGenerator
 * @since 2023-07-14
 */
@Mapper
public interface SchCollectorVersionFileConvert {

    SchCollectorVersionFileConvert INSTANCE = Mappers.getMapper(SchCollectorVersionFileConvert.class);

    @Mappings({})
    SchCollectorVersionFile convertDO(SchCollectorVersionFileDTO schCollectorVersionFileDTO);

    @Mappings({})
    List<SchCollectorVersionFile> convertDO(List<SchCollectorVersionFileDTO> schCollectorVersionFileDTOList);

    @Mappings({})
    SchCollectorVersionFileVO convertVO(SchCollectorVersionFile schCollectorVersionFile);

    @Mappings({})
    List<SchCollectorVersionFileVO> convertVO(List<SchCollectorVersionFile> schCollectorVersionFileList);

    @Mappings({})
    PageResult<SchCollectorVersionFileVO> convertVO(PageResult<SchCollectorVersionFile> pageResult);
}

