2024-02-05 14:05:44 +08:00
|
|
|
|
syntax = "proto3";
|
|
|
|
|
package race;
|
2024-02-18 15:09:02 +08:00
|
|
|
|
import "common/modify_info.proto";
|
2024-02-22 09:36:01 +08:00
|
|
|
|
//import "common/page_query.proto";
|
|
|
|
|
//import "race/race_paper.proto";
|
2024-02-05 14:05:44 +08:00
|
|
|
|
|
|
|
|
|
option java_package = "club.joylink.rtss.vo.race";
|
|
|
|
|
|
|
|
|
|
message RaceModuleVO {
|
|
|
|
|
int64 id = 1;
|
|
|
|
|
string code = 3;
|
|
|
|
|
string desc = 4;
|
2024-02-22 09:36:01 +08:00
|
|
|
|
int64 paperId = 5;
|
2024-02-05 14:05:44 +08:00
|
|
|
|
TaskSetting taskSetting = 6;
|
2024-02-22 09:36:01 +08:00
|
|
|
|
int32 duration = 7; //考试总时间(min)
|
2024-02-05 14:05:44 +08:00
|
|
|
|
common.ModifyInfoVO modifyInfo = 8;
|
|
|
|
|
}
|
2024-02-23 11:03:09 +08:00
|
|
|
|
message RaceModuleListVO{
|
|
|
|
|
int64 id = 1;
|
|
|
|
|
string code = 3;
|
|
|
|
|
string desc = 4;
|
|
|
|
|
int64 paperId = 5;
|
|
|
|
|
string paperName = 6;
|
|
|
|
|
int32 duration = 7; //考试总时间(min)
|
|
|
|
|
common.ModifyInfoVO modifyInfo = 8;
|
|
|
|
|
}
|
2024-02-05 14:05:44 +08:00
|
|
|
|
message RaceModuleCreateVO {
|
2024-02-22 09:36:01 +08:00
|
|
|
|
string code = 1;
|
|
|
|
|
string desc = 2;
|
2024-02-23 11:03:09 +08:00
|
|
|
|
int64 paper_id = 3;
|
2024-02-22 09:36:01 +08:00
|
|
|
|
int32 duration = 4; //考试总时间(min)
|
2024-02-05 14:05:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//模块中包含的任务及相关设定
|
|
|
|
|
message TaskSetting {
|
|
|
|
|
repeated int64 taskIds = 1; //此模块包含的任务的ID
|
|
|
|
|
repeated Group group = 2; //任务分组(此分组目前看仅为称呼)
|
|
|
|
|
//分组
|
|
|
|
|
message Group{
|
|
|
|
|
repeated int64 taskIds = 1; //此分组中包含的任务的ID(子分组中的任务ID不算)
|
|
|
|
|
repeated Group group = 2;//此分组的子分组
|
|
|
|
|
string name = 3; //分组名称
|
|
|
|
|
}
|
|
|
|
|
}
|