35 lines
663 B
Protocol Buffer
35 lines
663 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 modifyInfo = 4;
|
|
}
|
|
|
|
message RaceScoringRuleCreateVO {
|
|
int64 id = 1;
|
|
string name = 2;
|
|
Rule rule = 3; //非必填
|
|
}
|
|
|
|
message RaceScoringRuleQueryVO {
|
|
common.PageQueryVO page = 1;
|
|
string name = 2;
|
|
}
|
|
|
|
message Rule {
|
|
repeated Unit units = 1;
|
|
|
|
//最小评分单元
|
|
message Unit {
|
|
string text = 1; //文字描述
|
|
uint32 sceneStepId = 2; //场景步骤ID
|
|
uint32 score = 3; //分值
|
|
}
|
|
} |