rt-sim-training-message/proto/race/race_module.proto
2024-02-22 09:36:01 +08:00

37 lines
980 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
package race;
import "common/modify_info.proto";
//import "common/page_query.proto";
//import "race/race_paper.proto";
option java_package = "club.joylink.rtss.vo.race";
message RaceModuleVO {
int64 id = 1;
string code = 3;
string desc = 4;
int64 paperId = 5;
TaskSetting taskSetting = 6;
int32 duration = 7; //考试总时间min
common.ModifyInfoVO modifyInfo = 8;
}
message RaceModuleCreateVO {
string code = 1;
string desc = 2;
int64 paperId = 3;
int32 duration = 4; //考试总时间min
}
//模块中包含的任务及相关设定
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; //分组名称
}
}