invTypeBasicInfoDto.setMetaLevel(invType.getMetaLevel());
return invTypeBasicInfoDto;
}
public PlanetSchematicDto map(PlanetSchematic planetSchematic) {
PlanetSchematicDto planetSchematicDto = new PlanetSchematicDto();
planetSchematicDto.setSchematicTypeID(planetSchematic.getSchematicTypeID());
planetSchematicDto.setSchematicTypeName(planetSchematic.getSchematicTypeName());
planetSchematicDto.setSchematicGroupID(planetSchematic.getSchematicGroupID());
planetSchematicDto.setSchematicGroupName(planetSchematic.getSchematicGroupName());
planetSchematicDto.setSchematicIcon(planetSchematic.getSchematicIcon());
planetSchematicDto.setSchematicCycleTime(planetSchematic.getSchematicCycleTime());
planetSchematicDto.setSchematicQuantity(planetSchematic.getSchematicQuantity());
planetSchematicDto.setSchematicVolume(BigDecimal.valueOf(planetSchematic.getSchematicVolume()).toPlainString());
planetSchematicDto.setRequiredTypeID(planetSchematic.getRequiredTypeID());
planetSchematicDto.setRequiredTypeName(planetSchematic.getRequiredTypeName());
planetSchematicDto.setRequiredGroupID(planetSchematic.getRequiredGroupID());
planetSchematicDto.setRequiredGroupName(planetSchematic.getRequiredGroupName());
planetSchematicDto.setRequiredIcon(planetSchematic.getRequiredIcon());
planetSchematicDto.setRequiredQuantity(planetSchematic.getRequiredQuantity());
planetSchematicDto.setRequiredVolume(BigDecimal.valueOf(planetSchematic.getRequiredVolume()).toPlainString());
return planetSchematicDto;
}