io.castled.dtomappers.WarehouseDTOMapperImpl Maven / Gradle / Ivy
package io.castled.dtomappers;
import io.castled.dtos.WarehouseDTO;
import io.castled.dtos.WarehouseDTO.WarehouseDTOBuilder;
import io.castled.models.Warehouse;
import javax.annotation.Generated;
@Generated(
value = "org.mapstruct.ap.MappingProcessor",
date = "2022-04-04T09:53:06+0000",
comments = "version: 1.3.1.Final, compiler: javac, environment: Java 11.0.14.1 (Eclipse Adoptium)"
)
public class WarehouseDTOMapperImpl implements WarehouseDTOMapper {
@Override
public WarehouseDTO toDTO(Warehouse warehouse) {
if ( warehouse == null ) {
return null;
}
WarehouseDTOBuilder warehouseDTO = WarehouseDTO.builder();
warehouseDTO.id( warehouse.getId() );
warehouseDTO.name( warehouse.getName() );
warehouseDTO.teamId( warehouse.getTeamId() );
warehouseDTO.config( warehouse.getConfig() );
warehouseDTO.status( warehouse.getStatus() );
warehouseDTO.type( warehouse.getType() );
warehouseDTO.demo( warehouse.isDemo() );
return warehouseDTO.build();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy