添加 protobuf
This commit is contained in:
parent
1111d29fd0
commit
174efa7254
@ -1,8 +1,8 @@
|
||||
syntax = "proto3";
|
||||
package race;
|
||||
import "modify_info.proto";
|
||||
import "page_query.proto";
|
||||
import "race_paper.proto";
|
||||
import "common/modify_info.proto";
|
||||
import "common/page_query.proto";
|
||||
import "race/race_paper.proto";
|
||||
|
||||
option java_package = "club.joylink.rtss.vo.race";
|
||||
|
||||
@ -18,10 +18,13 @@ message RaceModuleVO {
|
||||
}
|
||||
|
||||
message RaceModuleCreateVO {
|
||||
string name = 1;
|
||||
string code = 2;
|
||||
string desc = 3;//非必填
|
||||
int64 paperId = 4;
|
||||
int64 id = 1;
|
||||
string name = 2; //名称
|
||||
string code = 3;
|
||||
string desc = 4;
|
||||
int64 paperId = 5;
|
||||
TaskSetting taskSetting = 6;
|
||||
int64 duration = 7; //考试总时间(min)
|
||||
}
|
||||
|
||||
message RaceModuleQueryVO {
|
||||
|
@ -1,8 +1,8 @@
|
||||
syntax = "proto3";
|
||||
package race;
|
||||
import "modify_info.proto";
|
||||
import "page_query.proto";
|
||||
import "race_season.proto";
|
||||
import "common/modify_info.proto";
|
||||
import "common/page_query.proto";
|
||||
import "race/race_season.proto";
|
||||
|
||||
option java_package = "club.joylink.rtss.vo.race";
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package race;
|
||||
import "modify_info.proto";
|
||||
import "page_query.proto";
|
||||
import "common/modify_info.proto";
|
||||
import "common/page_query.proto";
|
||||
|
||||
option java_package = "club.joylink.rtss.vo.race";
|
||||
|
||||
@ -14,8 +14,9 @@ message RaceSceneVO {
|
||||
}
|
||||
|
||||
message RaceSceneCreateVO {
|
||||
string name = 1;
|
||||
RaceScene.Type type = 2;
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
RaceScene.Type type = 3;
|
||||
}
|
||||
|
||||
message RaceSceneQueryVO {
|
||||
|
@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package race;
|
||||
import "modify_info.proto";
|
||||
import "page_query.proto";
|
||||
import "common/modify_info.proto";
|
||||
import "common/page_query.proto";
|
||||
|
||||
option java_package = "club.joylink.rtss.vo.race";
|
||||
|
||||
@ -13,8 +13,9 @@ message RaceScoringRuleVO {
|
||||
}
|
||||
|
||||
message RaceScoringRuleCreateVO {
|
||||
string name = 1;
|
||||
Rule rule = 2; //非必填
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
Rule rule = 3; //非必填
|
||||
}
|
||||
|
||||
message RaceScoringRuleQueryVO {
|
||||
|
@ -1,7 +1,7 @@
|
||||
syntax = "proto3";
|
||||
package race;
|
||||
import "modify_info.proto";
|
||||
import "page_query.proto";
|
||||
import "common/modify_info.proto";
|
||||
import "common/page_query.proto";
|
||||
|
||||
option java_package = "club.joylink.rtss.vo.race";
|
||||
|
||||
@ -14,9 +14,10 @@ message RaceSeasonVO {
|
||||
}
|
||||
|
||||
message RaceSeasonCreateVO {
|
||||
string code = 1;
|
||||
RaceSeason.Group group = 2;
|
||||
string term = 3; //非必填
|
||||
int64 id = 1;
|
||||
string code = 2;
|
||||
RaceSeason.Group group = 3;
|
||||
string term = 4; //非必填
|
||||
}
|
||||
|
||||
message RaceSeasonQueryVO {
|
||||
|
@ -1,7 +1,8 @@
|
||||
syntax = "proto3";
|
||||
package race;
|
||||
import "modify_info.proto";
|
||||
import "race_scene.proto";
|
||||
import "common/modify_info.proto";
|
||||
import "common/page_query.proto";
|
||||
import "race/race_scene.proto";
|
||||
|
||||
option java_package = "club.joylink.rtss.vo.race";
|
||||
|
||||
@ -15,3 +16,23 @@ message RaceTaskVO {
|
||||
int64 parentId = 7; //父任务的ID
|
||||
common.ModifyInfoVO modifyInfo = 8;
|
||||
}
|
||||
message RaceTaskCreateVO{
|
||||
int64 id = 1;
|
||||
string name = 2;
|
||||
string desc = 3;
|
||||
string content = 4;
|
||||
int64 parentId = 5;
|
||||
}
|
||||
message RaceTaskBind{
|
||||
enum TaskBindType{
|
||||
rule = 0;
|
||||
scene = 1;
|
||||
}
|
||||
int64 taskId = 1;
|
||||
TaskBindType bindType = 2;
|
||||
int32 status = 3; //0=解绑 ;1=绑定
|
||||
}
|
||||
|
||||
message RaceTaskQuery{
|
||||
common.PageQueryVO page = 1;
|
||||
}
|
Loading…
Reference in New Issue
Block a user