return userDto;
}
@Override
public BlueprintDto map(Blueprint blueprint, Class<BlueprintDto> blueprintDtoClass) {
BlueprintDto blueprintDto = new BlueprintDto();
blueprintDto.setId(blueprint.getId());
blueprintDto.setItemID(blueprint.getItemID());
blueprintDto.setItemTypeID(blueprint.getItemTypeID());
blueprintDto.setItemTypeName(blueprint.getItemTypeName());
blueprintDto.setProductTypeID(blueprint.getProductTypeID());
blueprintDto.setProductTypeName(blueprint.getProductTypeName());
blueprintDto.setProductCategoryID(blueprint.getProductTypeCategoryID());
blueprintDto.setProductGraphicIcon(blueprint.getProductGraphicIcon());
blueprintDto.setProductivityLevel(blueprint.getProductivityLevel());
blueprintDto.setMaterialLevel(blueprint.getMaterialLevel());
if (blueprint.getAttachedCharacterInfo() != null) {
blueprintDto.setAttachedCharacterInfo(mapForCharacterInfo(blueprint.getAttachedCharacterInfo(), CharacterInfoDto.class));
}
blueprintDto.setSharingLevel(blueprint.getSharingLevel());
return blueprintDto;
}