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-05 14:05:44 +08:00
|
|
|
|
|
|
|
|
|
option java_package = "club.joylink.rtss.vo.race";
|
|
|
|
|
|
|
|
|
|
message RaceScoringRuleVO {
|
|
|
|
|
int64 id = 1;
|
|
|
|
|
string name = 2;
|
|
|
|
|
Rule rule = 3;
|
2024-02-23 11:49:14 +08:00
|
|
|
|
common.ModifyInfoVO modify_info = 4;
|
2024-02-05 14:05:44 +08:00
|
|
|
|
}
|
2024-02-22 09:36:01 +08:00
|
|
|
|
message RaceScoringRuleListVO{
|
2024-02-18 15:09:02 +08:00
|
|
|
|
int64 id = 1;
|
|
|
|
|
string name = 2;
|
2024-02-23 11:49:14 +08:00
|
|
|
|
common.ModifyInfoVO modify_info = 3;
|
2024-02-05 14:05:44 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2024-02-29 16:13:41 +08:00
|
|
|
|
|
|
|
|
|
message Rule{
|
2024-02-05 14:05:44 +08:00
|
|
|
|
repeated Unit units = 1;
|
|
|
|
|
//最小评分单元
|
|
|
|
|
message Unit {
|
2024-03-01 16:11:40 +08:00
|
|
|
|
|
2024-03-01 17:04:57 +08:00
|
|
|
|
string name = 1; //项目
|
2024-03-08 10:51:07 +08:00
|
|
|
|
uint32 score = 2; //分值
|
2024-03-01 17:07:13 +08:00
|
|
|
|
// string content = 3;//作业程序
|
2024-02-29 16:13:41 +08:00
|
|
|
|
string criteria = 4;//评分标准
|
|
|
|
|
repeated Unit children = 5; //子级不为空就是目录
|
2024-03-01 16:58:06 +08:00
|
|
|
|
string id = 6; //单元id,纯前端维护,每次提交都可能会导致值的变化
|
2024-02-05 14:05:44 +08:00
|
|
|
|
}
|
2024-02-29 16:13:41 +08:00
|
|
|
|
}
|