const makeId = require("../../util/makeId"); /** * @description 作业成绩基本信息 * @typedef {Object} NestedScoreSerializerType * @property {number} id 作业id * @property {string} name 作业名称 * @property {number} score 作业成绩 */ /** * @description 生成作业成绩基本信息 * @returns {NestedScoreSerializerType} */ module.exports = () => { return { id: makeId(), name: "第一次作业:用例文档", score: 89 }; };