blueprintDetailsDto.setInventionRequirementDtos(inventionRequirementDtos);
return blueprintDetailsDto;
}
public RamTypeRequirementDto map(RamTypeRequirement ramTypeRequirement) {
RamTypeRequirementDto ramTypeRequirementDto = new RamTypeRequirementDto();
ramTypeRequirementDto.setRequiredTypeID(ramTypeRequirement.getRequiredTypeID());
ramTypeRequirementDto.setRequiredTypeName(ramTypeRequirement.getRequiredTypeName());
ramTypeRequirementDto.setRequiredTypeIcon(ramTypeRequirement.getRequiredTypeIcon());
ramTypeRequirementDto.setRequiredTypeCategoryID(ramTypeRequirement.getRequiredTypeCategoryID());
ramTypeRequirementDto.setRequiredTypeGroupID(ramTypeRequirement.getRequiredTypeGroupID());
ramTypeRequirementDto.setRequiredTypeGroupName(ramTypeRequirement.getRequiredTypeGroupName());
ramTypeRequirementDto.setActivityID(ramTypeRequirement.getActivityID());
ramTypeRequirementDto.setActivityName(ramTypeRequirement.getActivityName());
ramTypeRequirementDto.setDamagePerJob(BigDecimal.valueOf(ramTypeRequirement.getDamagePerJob()).toPlainString());
ramTypeRequirementDto.setQuantity(ramTypeRequirement.getQuantity());
ramTypeRequirementDto.setRequiredTypeVolume(BigDecimal.valueOf(ramTypeRequirement.getRequiredTypeVolume()).toPlainString());
return ramTypeRequirementDto;
}