34 lines
774 B
Protocol Buffer
34 lines
774 B
Protocol Buffer
syntax = "proto3";
|
||
package race;
|
||
import "common/modify_info.proto";
|
||
//import "common/page_query.proto";
|
||
|
||
option java_package = "club.joylink.rtss.vo.race";
|
||
|
||
message RaceScoringRuleVO {
|
||
int64 id = 1;
|
||
string name = 2;
|
||
Rule rule = 3;
|
||
common.ModifyInfoVO modify_info = 4;
|
||
}
|
||
message RaceScoringRuleListVO{
|
||
int64 id = 1;
|
||
string name = 2;
|
||
common.ModifyInfoVO modify_info = 3;
|
||
}
|
||
|
||
|
||
|
||
message Rule{
|
||
repeated Unit units = 1;
|
||
//最小评分单元
|
||
message Unit {
|
||
|
||
string name = 1; //项目
|
||
uint32 score = 2; //分值
|
||
// string content = 3;//作业程序
|
||
string criteria = 4;//评分标准
|
||
repeated Unit children = 5; //子级不为空就是目录
|
||
string id = 6; //单元id,纯前端维护,每次提交都可能会导致值的变化
|
||
}
|
||
} |