All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.arextest.web.model.mapper.FSInterfaceMapper Maven / Gradle / Ivy

The newest version!
package com.arextest.web.model.mapper;

import com.arextest.web.model.contract.contracts.filesystem.FSQueryInterfaceResponseType;
import com.arextest.web.model.contract.contracts.filesystem.FSSaveInterfaceRequestType;
import com.arextest.web.model.dao.mongodb.FSInterfaceCollection;
import com.arextest.web.model.dto.filesystem.FSInterfaceDto;
import com.arextest.web.model.dto.filesystem.importexport.InterfaceItemDto;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface FSInterfaceMapper {

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

  FSInterfaceDto dtoFromContract(FSSaveInterfaceRequestType contract);

  FSQueryInterfaceResponseType contractFromDto(FSInterfaceDto dto);

  FSInterfaceCollection daoFromDto(FSInterfaceDto dto);

  FSInterfaceDto dtoFromDao(FSInterfaceCollection dao);

  InterfaceItemDto ieItemFromFsItemDto(FSInterfaceDto dto);

  FSInterfaceDto fsItemFromIeItemDto(InterfaceItemDto dto);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy