safety-eval-service-frontend/.api/safetyEval-classManagement-.../spec.json

78 lines
3.5 KiB
JSON
Raw Normal View History

2026-08-21 17:43:57 +08:00
{
"openapi": "3.0.1",
"info": {
"title": "班级详情",
"version": "1.0.0",
"description": "同步自 Apifox 项目api-503642495班级管理"
},
"paths": {
"/safetyEval/classManagement/get": {
"get": {
"summary": "班级详情",
"tags": ["班级管理"],
"parameters": [
{
"name": "id",
"in": "query",
"description": "主键ID后端 Long前端按字符串传递保证精度",
"required": true,
"schema": { "type": "string" }
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": { "$ref": "#/components/schemas/SingleResponseClassManagementVO" }
}
}
}
}
}
}
},
"components": {
"schemas": {
"SingleResponseClassManagementVO": {
"type": "object",
"properties": {
"success": { "type": "boolean", "description": "是否成功" },
"code": { "type": "string", "description": "响应码" },
"message": { "type": "string", "description": "响应消息" },
"errMessage": { "type": "string", "description": "错误响应消息" },
"data": { "$ref": "#/components/schemas/ClassManagementVO", "description": "响应数据" }
}
},
"ClassManagementVO": {
"type": "object",
"properties": {
"id": { "type": "string", "description": "主键" },
"classCode": { "type": "string", "description": "班级编码" },
"className": { "type": "string", "description": "班级名称" },
"trainingType": { "type": "string", "description": "培训类型" },
"unitType": { "type": "integer", "description": "参训单位类型1本企业2相关方" },
"unitName": { "type": "string", "description": "参训单位名称" },
"recorder": { "type": "string", "description": "记录人员" },
"assessor": { "type": "string", "description": "考核人员" },
"safetyManager": { "type": "string", "description": "安全管理部门负责人" },
"startDate": { "type": "string", "description": "培训开始日期" },
"endDate": { "type": "string", "description": "培训结束日期" },
"openExam": { "type": "integer", "description": "是否开启考试0-否1-是)" },
"examFaceRecognition": { "type": "integer", "description": "考试前人脸识别0-否1-是)" },
"examCount": { "type": "integer", "description": "考试次数" },
"faceRecognition": { "type": "integer", "description": "是否人脸识别0-否1-是)" },
"faceRecognitionTime": { "type": "integer", "description": "人脸识别时间(分钟)" },
"shuffleQuestions": { "type": "integer", "description": "是否打乱试题顺序0-否1-是)" },
"status": { "type": "integer", "description": "班级状态0-未申请1-待开班2-培训中3-培训结束" },
"delayTime": { "type": "string", "description": "延期时间" },
"createName": { "type": "string", "description": "创建人姓名" },
"updateName": { "type": "string", "description": "更新人姓名" },
"createTime": { "type": "string", "description": "创建时间" },
"updateTime": { "type": "string", "description": "修改时间" }
}
}
}
}
}