invTypeMaterialDto.setMaterialVolume(BigDecimal.valueOf(invTypeMaterial.getMaterialVolume()).toPlainString());
return invTypeMaterialDto;
}
public InvBlueprintTypeDto map(InvBlueprintType invBlueprintType) {
InvBlueprintTypeDto invBlueprintTypeDto = new InvBlueprintTypeDto();
invBlueprintTypeDto.setBlueprintTypeID(invBlueprintType.getBlueprintTypeID());
invBlueprintTypeDto.setBlueprintTypeName(invBlueprintType.getBlueprintTypeName());
invBlueprintTypeDto.setProductTypeID(invBlueprintType.getProductTypeID());
invBlueprintTypeDto.setProductTypeName(invBlueprintType.getProductTypeName());
invBlueprintTypeDto.setProductCategoryID(invBlueprintType.getProductCategoryID());
invBlueprintTypeDto.setProductIcon(invBlueprintType.getProductTypeIcon());
invBlueprintTypeDto.setParentBlueprintTypeID(invBlueprintType.getParentBlueprintTypeID());
invBlueprintTypeDto.setParentBlueprintTypeName(invBlueprintType.getParentBlueprintTypeName());
invBlueprintTypeDto.setParentProductTypeID(invBlueprintType.getParentProductTypeID());
invBlueprintTypeDto.setParentProductTypeName(invBlueprintType.getParentProductTypeName());
invBlueprintTypeDto.setTechLevel(invBlueprintType.getTechLevel());
invBlueprintTypeDto.setProductionTime(invBlueprintType.getProductionTime());
invBlueprintTypeDto.setResearchProductivityTime(invBlueprintType.getResearchProductivityTime());
invBlueprintTypeDto.setResearchMaterialTime(invBlueprintType.getResearchMaterialTime());
invBlueprintTypeDto.setResearchCopyTime(invBlueprintType.getResearchCopyTime());
invBlueprintTypeDto.setResearchTechTime(invBlueprintType.getResearchTechTime());
invBlueprintTypeDto.setProductivityModifier(invBlueprintType.getProductivityModifier());
invBlueprintTypeDto.setWasteFactor(invBlueprintType.getWasteFactor());
invBlueprintTypeDto.setMaxProductionLimit(invBlueprintType.getMaxProductionLimit());
invBlueprintTypeDto.setProductVolume(BigDecimal.valueOf(invBlueprintType.getProductVolume()).toPlainString());
invBlueprintTypeDto.setProductPortionSize(invBlueprintType.getProductPortionSize());
invBlueprintTypeDto.setDumpVersion(invBlueprintType.getDumpVersion());
return invBlueprintTypeDto;
}