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

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

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

import com.arextest.web.model.contract.contracts.environment.EnvironmentType;
import com.arextest.web.model.dao.mongodb.EnvironmentCollection;
import com.arextest.web.model.dto.EnvironmentDto;
import java.util.List;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface EnvironmentMapper {

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

  EnvironmentCollection daoFromDto(EnvironmentDto dto);

  EnvironmentDto dtoFromDao(EnvironmentCollection dao);

  List dtoFromDaoList(List dao);

  EnvironmentDto dtoFromContract(EnvironmentType contract);

  List contractFromDtoList(List dto);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy