package com.artfess.manage.dwd.manager.mapper;

import com.artfess.manage.dwd.manager.dto.DwdLkEpidemicPreventionInformationDto;
import com.artfess.manage.dwd.model.DwdLkEpidemicPreventionInformation;
import java.util.ArrayList;
import java.util.List;
import javax.annotation.Generated;
import org.springframework.stereotype.Component;

@Generated(
    value = "org.mapstruct.ap.MappingProcessor",
    date = "2023-05-08T09:35:56+0800",
    comments = "version: 1.2.0.Final, compiler: javac, environment: Java 1.8.0_71 (Oracle Corporation)"
)
@Component
public class DwdLkEpidemicPreventionInformationDtoMapperImpl implements DwdLkEpidemicPreventionInformationDtoMapper {

    @Override
    public DwdLkEpidemicPreventionInformation toEntity(DwdLkEpidemicPreventionInformationDto dto) {
        if ( dto == null ) {
            return null;
        }

        DwdLkEpidemicPreventionInformation dwdLkEpidemicPreventionInformation = new DwdLkEpidemicPreventionInformation();

        dwdLkEpidemicPreventionInformation.setId( dto.getId() );
        dwdLkEpidemicPreventionInformation.setName( dto.getName() );
        dwdLkEpidemicPreventionInformation.setMobile( dto.getMobile() );
        dwdLkEpidemicPreventionInformation.setType( dto.getType() );
        dwdLkEpidemicPreventionInformation.setIdCard( dto.getIdCard() );
        dwdLkEpidemicPreventionInformation.setSex( dto.getSex() );
        dwdLkEpidemicPreventionInformation.setDateOfBirth( dto.getDateOfBirth() );
        dwdLkEpidemicPreventionInformation.setIsEntry( dto.getIsEntry() );
        dwdLkEpidemicPreventionInformation.setJourney( dto.getJourney() );
        dwdLkEpidemicPreventionInformation.setContactHistory( dto.getContactHistory() );
        dwdLkEpidemicPreventionInformation.setIsIsolation( dto.getIsIsolation() );
        dwdLkEpidemicPreventionInformation.setHelp( dto.getHelp() );
        dwdLkEpidemicPreventionInformation.setCreateUser( dto.getCreateUser() );
        dwdLkEpidemicPreventionInformation.setInsertTime( dto.getInsertTime() );
        dwdLkEpidemicPreventionInformation.setUpdateTime( dto.getUpdateTime() );
        dwdLkEpidemicPreventionInformation.setAddress( dto.getAddress() );
        dwdLkEpidemicPreventionInformation.setCity( dto.getCity() );
        dwdLkEpidemicPreventionInformation.setFromAddress( dto.getFromAddress() );
        dwdLkEpidemicPreventionInformation.setToAddress( dto.getToAddress() );
        dwdLkEpidemicPreventionInformation.setReport( dto.getReport() );
        dwdLkEpidemicPreventionInformation.setCode( dto.getCode() );
        dwdLkEpidemicPreventionInformation.setStatus( dto.getStatus() );
        dwdLkEpidemicPreventionInformation.setTransitMode( dto.getTransitMode() );
        dwdLkEpidemicPreventionInformation.setRegisterTime( dto.getRegisterTime() );
        dwdLkEpidemicPreventionInformation.setPassTime( dto.getPassTime() );
        dwdLkEpidemicPreventionInformation.setTransTime( dto.getTransTime() );
        dwdLkEpidemicPreventionInformation.setArriveTime( dto.getArriveTime() );
        dwdLkEpidemicPreventionInformation.setTrainNo( dto.getTrainNo() );
        dwdLkEpidemicPreventionInformation.setText( dto.getText() );
        dwdLkEpidemicPreventionInformation.setAirlineCompany( dto.getAirlineCompany() );
        dwdLkEpidemicPreventionInformation.setTakeOffTime( dto.getTakeOffTime() );
        dwdLkEpidemicPreventionInformation.setAirlineCode( dto.getAirlineCode() );
        dwdLkEpidemicPreventionInformation.setLuggage( dto.getLuggage() );
        dwdLkEpidemicPreventionInformation.setTerminal( dto.getTerminal() );
        dwdLkEpidemicPreventionInformation.setRequirement( dto.getRequirement() );
        dwdLkEpidemicPreventionInformation.setInfoAddress( dto.getInfoAddress() );
        dwdLkEpidemicPreventionInformation.setInCity( dto.getInCity() );
        dwdLkEpidemicPreventionInformation.setTransInType( dto.getTransInType() );
        dwdLkEpidemicPreventionInformation.setTransOutType( dto.getTransOutType() );
        dwdLkEpidemicPreventionInformation.setTransCarNumber( dto.getTransCarNumber() );
        dwdLkEpidemicPreventionInformation.setTransDriver( dto.getTransDriver() );
        dwdLkEpidemicPreventionInformation.setTransPhone( dto.getTransPhone() );
        dwdLkEpidemicPreventionInformation.setTransArrayTime( dto.getTransArrayTime() );
        dwdLkEpidemicPreventionInformation.setTransLoop( dto.getTransLoop() );
        dwdLkEpidemicPreventionInformation.setTransAddress( dto.getTransAddress() );
        dwdLkEpidemicPreventionInformation.setTransReceiveTime( dto.getTransReceiveTime() );
        dwdLkEpidemicPreventionInformation.setDel( dto.getDel() );
        dwdLkEpidemicPreventionInformation.setFamilyMembers( dto.getFamilyMembers() );
        dwdLkEpidemicPreventionInformation.setTurnConfirmTime( dto.getTurnConfirmTime() );
        dwdLkEpidemicPreventionInformation.setAmount( dto.getAmount() );
        dwdLkEpidemicPreventionInformation.setTransArea( dto.getTransArea() );
        dwdLkEpidemicPreventionInformation.setPickupPoint( dto.getPickupPoint() );
        dwdLkEpidemicPreventionInformation.setWaitTime( dto.getWaitTime() );

        return dwdLkEpidemicPreventionInformation;
    }

    @Override
    public DwdLkEpidemicPreventionInformationDto toDto(DwdLkEpidemicPreventionInformation entity) {
        if ( entity == null ) {
            return null;
        }

        DwdLkEpidemicPreventionInformationDto dwdLkEpidemicPreventionInformationDto = new DwdLkEpidemicPreventionInformationDto();

        dwdLkEpidemicPreventionInformationDto.setId( entity.getId() );
        dwdLkEpidemicPreventionInformationDto.setName( entity.getName() );
        dwdLkEpidemicPreventionInformationDto.setMobile( entity.getMobile() );
        dwdLkEpidemicPreventionInformationDto.setType( entity.getType() );
        dwdLkEpidemicPreventionInformationDto.setIdCard( entity.getIdCard() );
        dwdLkEpidemicPreventionInformationDto.setSex( entity.getSex() );
        dwdLkEpidemicPreventionInformationDto.setDateOfBirth( entity.getDateOfBirth() );
        dwdLkEpidemicPreventionInformationDto.setIsEntry( entity.getIsEntry() );
        dwdLkEpidemicPreventionInformationDto.setJourney( entity.getJourney() );
        dwdLkEpidemicPreventionInformationDto.setContactHistory( entity.getContactHistory() );
        dwdLkEpidemicPreventionInformationDto.setIsIsolation( entity.getIsIsolation() );
        dwdLkEpidemicPreventionInformationDto.setHelp( entity.getHelp() );
        dwdLkEpidemicPreventionInformationDto.setAddress( entity.getAddress() );
        dwdLkEpidemicPreventionInformationDto.setCity( entity.getCity() );
        dwdLkEpidemicPreventionInformationDto.setFromAddress( entity.getFromAddress() );
        dwdLkEpidemicPreventionInformationDto.setToAddress( entity.getToAddress() );
        dwdLkEpidemicPreventionInformationDto.setReport( entity.getReport() );
        dwdLkEpidemicPreventionInformationDto.setCode( entity.getCode() );
        dwdLkEpidemicPreventionInformationDto.setStatus( entity.getStatus() );
        dwdLkEpidemicPreventionInformationDto.setTransitMode( entity.getTransitMode() );
        dwdLkEpidemicPreventionInformationDto.setRegisterTime( entity.getRegisterTime() );
        dwdLkEpidemicPreventionInformationDto.setPassTime( entity.getPassTime() );
        dwdLkEpidemicPreventionInformationDto.setTransTime( entity.getTransTime() );
        dwdLkEpidemicPreventionInformationDto.setArriveTime( entity.getArriveTime() );
        dwdLkEpidemicPreventionInformationDto.setTrainNo( entity.getTrainNo() );
        dwdLkEpidemicPreventionInformationDto.setText( entity.getText() );
        dwdLkEpidemicPreventionInformationDto.setAirlineCompany( entity.getAirlineCompany() );
        dwdLkEpidemicPreventionInformationDto.setTakeOffTime( entity.getTakeOffTime() );
        dwdLkEpidemicPreventionInformationDto.setAirlineCode( entity.getAirlineCode() );
        dwdLkEpidemicPreventionInformationDto.setLuggage( entity.getLuggage() );
        dwdLkEpidemicPreventionInformationDto.setTerminal( entity.getTerminal() );
        dwdLkEpidemicPreventionInformationDto.setRequirement( entity.getRequirement() );
        dwdLkEpidemicPreventionInformationDto.setInfoAddress( entity.getInfoAddress() );
        dwdLkEpidemicPreventionInformationDto.setInCity( entity.getInCity() );
        dwdLkEpidemicPreventionInformationDto.setTransInType( entity.getTransInType() );
        dwdLkEpidemicPreventionInformationDto.setTransOutType( entity.getTransOutType() );
        dwdLkEpidemicPreventionInformationDto.setTransCarNumber( entity.getTransCarNumber() );
        dwdLkEpidemicPreventionInformationDto.setTransDriver( entity.getTransDriver() );
        dwdLkEpidemicPreventionInformationDto.setTransPhone( entity.getTransPhone() );
        dwdLkEpidemicPreventionInformationDto.setTransArrayTime( entity.getTransArrayTime() );
        dwdLkEpidemicPreventionInformationDto.setTransLoop( entity.getTransLoop() );
        dwdLkEpidemicPreventionInformationDto.setTransAddress( entity.getTransAddress() );
        dwdLkEpidemicPreventionInformationDto.setTransReceiveTime( entity.getTransReceiveTime() );
        dwdLkEpidemicPreventionInformationDto.setDel( entity.getDel() );
        dwdLkEpidemicPreventionInformationDto.setFamilyMembers( entity.getFamilyMembers() );
        dwdLkEpidemicPreventionInformationDto.setTurnConfirmTime( entity.getTurnConfirmTime() );
        dwdLkEpidemicPreventionInformationDto.setAmount( entity.getAmount() );
        dwdLkEpidemicPreventionInformationDto.setTransArea( entity.getTransArea() );
        dwdLkEpidemicPreventionInformationDto.setPickupPoint( entity.getPickupPoint() );
        dwdLkEpidemicPreventionInformationDto.setWaitTime( entity.getWaitTime() );
        dwdLkEpidemicPreventionInformationDto.setCreateUser( entity.getCreateUser() );
        dwdLkEpidemicPreventionInformationDto.setInsertTime( entity.getInsertTime() );
        dwdLkEpidemicPreventionInformationDto.setUpdateTime( entity.getUpdateTime() );

        return dwdLkEpidemicPreventionInformationDto;
    }

    @Override
    public List<DwdLkEpidemicPreventionInformation> toEntity(List<DwdLkEpidemicPreventionInformationDto> dtoList) {
        if ( dtoList == null ) {
            return null;
        }

        List<DwdLkEpidemicPreventionInformation> list = new ArrayList<DwdLkEpidemicPreventionInformation>( dtoList.size() );
        for ( DwdLkEpidemicPreventionInformationDto dwdLkEpidemicPreventionInformationDto : dtoList ) {
            list.add( toEntity( dwdLkEpidemicPreventionInformationDto ) );
        }

        return list;
    }

    @Override
    public List<DwdLkEpidemicPreventionInformationDto> toDto(List<DwdLkEpidemicPreventionInformation> entityList) {
        if ( entityList == null ) {
            return null;
        }

        List<DwdLkEpidemicPreventionInformationDto> list = new ArrayList<DwdLkEpidemicPreventionInformationDto>( entityList.size() );
        for ( DwdLkEpidemicPreventionInformation dwdLkEpidemicPreventionInformation : entityList ) {
            list.add( toDto( dwdLkEpidemicPreventionInformation ) );
        }

        return list;
    }
}
