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";
|
2024-02-18 15:09:02 +08:00
|
|
|
|
import "race/race_season.proto";
|
2024-02-05 14:05:44 +08:00
|
|
|
|
|
|
|
|
|
option java_package = "club.joylink.rtss.vo.race";
|
|
|
|
|
|
2024-02-23 16:18:15 +08:00
|
|
|
|
message RacePaperVO{
|
2024-02-05 14:05:44 +08:00
|
|
|
|
int64 id = 1;
|
|
|
|
|
string name = 2;
|
|
|
|
|
string desc = 3;
|
2024-02-23 16:18:15 +08:00
|
|
|
|
// RaceSeason season = 4;
|
|
|
|
|
int64 season_id = 5;
|
|
|
|
|
string season_name = 6;
|
|
|
|
|
bool support_copy = 7;
|
2024-02-27 13:39:03 +08:00
|
|
|
|
|
2024-02-23 16:18:15 +08:00
|
|
|
|
common.ModifyInfoVO modify_info = 8;
|
2024-02-27 13:39:03 +08:00
|
|
|
|
RaceSeason.Group group = 9;
|
2024-02-23 16:18:15 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
message RacePaperDetailVO{
|
2024-02-22 09:36:01 +08:00
|
|
|
|
int64 id = 1;
|
|
|
|
|
string name = 2;
|
|
|
|
|
string desc = 3;
|
2024-02-23 16:18:15 +08:00
|
|
|
|
RacePaperModuleVO module_vo = 4;
|
2024-02-23 11:49:14 +08:00
|
|
|
|
int64 season_id = 5;
|
2024-02-23 16:50:22 +08:00
|
|
|
|
string season_name = 6;;
|
2024-02-23 16:18:15 +08:00
|
|
|
|
bool support_copy = 7;
|
|
|
|
|
common.ModifyInfoVO modify_info = 8;
|
2024-02-05 14:05:44 +08:00
|
|
|
|
}
|
|
|
|
|
message RacePaperCreateVO {
|
|
|
|
|
string name = 1;
|
|
|
|
|
string desc = 2; //非必填
|
2024-02-23 11:03:09 +08:00
|
|
|
|
int64 season_id = 3;
|
2024-02-23 16:18:15 +08:00
|
|
|
|
bool support_copy = 4;
|
2024-02-05 14:05:44 +08:00
|
|
|
|
}
|
2024-02-23 16:18:15 +08:00
|
|
|
|
//赛题模块
|
|
|
|
|
message RacePaperModuleVO{
|
2024-02-05 14:05:44 +08:00
|
|
|
|
|
2024-02-23 16:18:15 +08:00
|
|
|
|
repeated PaperModule modules = 1;
|
|
|
|
|
|
|
|
|
|
message PaperModule{
|
|
|
|
|
string module_name = 1;
|
|
|
|
|
int32 duration = 2;
|
|
|
|
|
repeated Group group = 3; //任务分组(此分组目前看仅为称呼)
|
2024-02-26 17:27:06 +08:00
|
|
|
|
int64 module_score_rule_id = 4;
|
2024-02-27 15:08:00 +08:00
|
|
|
|
int32 custom_module_id = 5;
|
2024-02-23 16:18:15 +08:00
|
|
|
|
}
|
|
|
|
|
//分组
|
|
|
|
|
message Group{
|
|
|
|
|
repeated int64 task_ids = 1; //此分组中包含的任务的ID(子分组中的任务ID不算)
|
|
|
|
|
repeated Group group = 2;//此分组的子分组
|
|
|
|
|
string name = 3; //分组名称
|
|
|
|
|
}
|
|
|
|
|
}
|