package com.qsoft.rs.sincoar.dominio.mapper;

import com.qsoft.rs.sincoar.dto.TgenefilesDTO;
import com.qsoft.rs.sincoar.model.Tgenefiles;
import javax.annotation.processing.Generated;

@Generated(
    value = "org.mapstruct.ap.MappingProcessor",
    date = "2022-09-02T16:14:48-0500",
    comments = "version: 1.5.2.Final, compiler: javac, environment: Java 17.0.4 (Private Build)"
)
public class TgenefilesMapperImpl implements TgenefilesMapper {

    @Override
    public Tgenefiles getEntidad(TgenefilesDTO tgenefiles) {
        if ( tgenefiles == null ) {
            return null;
        }

        Tgenefiles tgenefiles1 = new Tgenefiles();

        tgenefiles1.setCode( tgenefiles.getCode() );

        return tgenefiles1;
    }

    @Override
    public TgenefilesDTO getDto(Tgenefiles tgenefiles) {
        if ( tgenefiles == null ) {
            return null;
        }

        TgenefilesDTO tgenefilesDTO = new TgenefilesDTO();

        tgenefilesDTO.setCode( tgenefiles.getCode() );

        return tgenefilesDTO;
    }
}
