com.arextest.web.model.mapper.SceneDetailMapperImpl Maven / Gradle / Ivy
package com.arextest.web.model.mapper;
import com.arextest.web.model.dao.mongodb.entity.SceneDetail;
import com.arextest.web.model.dto.SceneDetailDto;
/*
@Generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2024-12-23T06:09:23+0000",
comments = "version: 1.5.5.Final, compiler: javac, environment: Java 21.0.5 (Eclipse Adoptium)"
)
*/
public class SceneDetailMapperImpl implements SceneDetailMapper {
@Override
public SceneDetail daoFromDto(SceneDetailDto dto) {
if ( dto == null ) {
return null;
}
SceneDetail sceneDetail = new SceneDetail();
sceneDetail.setCompareResultId( dto.getCompareResultId() );
sceneDetail.setLogIndexes( dto.getLogIndexes() );
sceneDetail.setSceneCount( dto.getSceneCount() );
return sceneDetail;
}
@Override
public SceneDetailDto dtoFromDao(SceneDetail dao) {
if ( dao == null ) {
return null;
}
SceneDetailDto sceneDetailDto = new SceneDetailDto();
sceneDetailDto.setCompareResultId( dao.getCompareResultId() );
sceneDetailDto.setLogIndexes( dao.getLogIndexes() );
sceneDetailDto.setSceneCount( dao.getSceneCount() );
return sceneDetailDto;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy