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

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

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

import com.arextest.web.model.dao.mongodb.MessagePreprocessCollection;
import com.arextest.web.model.dto.MessagePreprocessDto;

/*
@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 MessagePreprocessMapperImpl implements MessagePreprocessMapper {

    @Override
    public MessagePreprocessDto dtoFromDao(MessagePreprocessCollection dao) {
        if ( dao == null ) {
            return null;
        }

        MessagePreprocessDto messagePreprocessDto = new MessagePreprocessDto();

        messagePreprocessDto.setKey( dao.getKey() );
        messagePreprocessDto.setPath( dao.getPath() );
        messagePreprocessDto.setPublishDate( dao.getPublishDate() );

        return messagePreprocessDto;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy