更新的proto文件

This commit is contained in:
tiger_zhou 2024-02-22 09:36:01 +08:00
parent 174efa7254
commit 01ca5bdefa
6 changed files with 71 additions and 58 deletions

View File

@ -1,39 +1,28 @@
syntax = "proto3";
package race;
import "common/modify_info.proto";
import "common/page_query.proto";
import "race/race_paper.proto";
//import "common/page_query.proto";
//import "race/race_paper.proto";
option java_package = "club.joylink.rtss.vo.race";
message RaceModuleVO {
int64 id = 1;
string name = 2; //
string code = 3;
string desc = 4;
RacePaperVO paper = 5;
int64 paperId = 5;
TaskSetting taskSetting = 6;
int64 duration = 7; //min
int32 duration = 7; //min
common.ModifyInfoVO modifyInfo = 8;
}
message RaceModuleCreateVO {
int64 id = 1;
string name = 2; //
string code = 3;
string desc = 4;
int64 paperId = 5;
TaskSetting taskSetting = 6;
int64 duration = 7; //min
string code = 1;
string desc = 2;
int64 paperId = 3;
int32 duration = 4; //min
}
message RaceModuleQueryVO {
common.PageQueryVO page = 1;
string name = 2;
string code = 3;
string desc = 4;
int64 paperId = 5;
}
//
message TaskSetting {

View File

@ -1,27 +1,30 @@
syntax = "proto3";
package race;
import "common/modify_info.proto";
import "common/page_query.proto";
//import "common/page_query.proto";
import "race/race_season.proto";
option java_package = "club.joylink.rtss.vo.race";
message RacePaperVO {
/*message RacePaperVO {
int64 id = 1;
string name = 2;
string desc = 3;
RaceSeason season = 4;
common.ModifyInfoVO modifyInfo = 5;
}*/
message RacePaperVO{
int64 id = 1;
string name = 2;
string desc = 3;
// RaceSeason season = 4;
int64 seasonId = 5;
string seasonName = 6;
common.ModifyInfoVO modifyInfo = 7;
}
message RacePaperCreateVO {
string name = 1;
string desc = 2; //
int64 seasonId = 3;
}
message RacePaperQueryVO {
common.PageQueryVO page = 1;
string name = 2;
}

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package race;
import "common/modify_info.proto";
import "common/page_query.proto";
//import "common/page_query.proto";
option java_package = "club.joylink.rtss.vo.race";
@ -9,22 +9,29 @@ message RaceSceneVO {
int64 id = 1;
string name = 2;
RaceScene.Type type = 3;
Scene scene = 4;
common.ModifyInfoVO modifyInfo = 5;
int64 functionId = 4;
Scene scene = 5;
common.ModifyInfoVO modifyInfo = 6;
int64 mapId = 7;
}
message RaceSceneCreateVO {
//
message RaceSceneListVO{
int64 id = 1;
string name = 2;
RaceScene.Type type = 3;
int64 mapId = 4;
common.ModifyInfoVO modifyInfo = 6;
}
message RaceSceneQueryVO {
common.PageQueryVO page = 1;
message RaceScenePublishVO{
int64 traningPublishId = 1; //id
// int64 mapId = 2;
string name = 2;
RaceScene.Type type = 3;
}
message Scene {
string url = 1;
StorageSimulation storageSimulation = 2;
@ -32,6 +39,10 @@ message Scene {
//
message StorageSimulation {
string bgSceneJson = 1;
string stepJson = 2;
string memberJson = 3;
repeated string playerIds = 4;
}

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package race;
import "common/modify_info.proto";
import "common/page_query.proto";
//import "common/page_query.proto";
option java_package = "club.joylink.rtss.vo.race";
@ -11,17 +11,12 @@ message RaceScoringRuleVO {
Rule rule = 3;
common.ModifyInfoVO modifyInfo = 4;
}
message RaceScoringRuleCreateVO {
message RaceScoringRuleListVO{
int64 id = 1;
string name = 2;
Rule rule = 3; //
common.ModifyInfoVO modifyInfo = 3;
}
message RaceScoringRuleQueryVO {
common.PageQueryVO page = 1;
string name = 2;
}
message Rule {
repeated Unit units = 1;
@ -31,5 +26,7 @@ message Rule {
string text = 1; //
uint32 sceneStepId = 2; //ID
uint32 score = 3; //
string worker = 4;//
string criteria = 5;//
}
}

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package race;
import "common/modify_info.proto";
import "common/page_query.proto";
//import "common/page_query.proto";
option java_package = "club.joylink.rtss.vo.race";
@ -14,18 +14,17 @@ message RaceSeasonVO {
}
message RaceSeasonCreateVO {
int64 id = 1;
string code = 2;
RaceSeason.Group group = 3;
string term = 4; //
string code = 1;
RaceSeason.Group group = 2;
string term = 3; //
}
message RaceSeasonQueryVO {
/*message RaceSeasonQueryVO {
common.PageQueryVO page = 1;
string code = 2;
RaceSeason.Group group = 3;
string term = 4;
}
}*/
message RaceSeason{
enum Group {

View File

@ -1,7 +1,7 @@
syntax = "proto3";
package race;
import "common/modify_info.proto";
import "common/page_query.proto";
//import "common/page_query.proto";
import "race/race_scene.proto";
option java_package = "club.joylink.rtss.vo.race";
@ -16,12 +16,24 @@ message RaceTaskVO {
int64 parentId = 7; //ID
common.ModifyInfoVO modifyInfo = 8;
}
message RaceTaskCreateVO{
message RaceTaskDetailVO {
int64 id = 1;
string name = 2;
string desc = 3;
string content = 4;
int64 parentId = 5;
string desc = 3; //
string content = 4; //
string standards = 5; //
int64 sceneId = 6;
int64 sceneName = 7;
int64 parentId = 8; //ID
common.ModifyInfoVO modifyInfo = 9;
}
message RaceTaskCreateVO{
string name = 1;
string desc = 2;
string content = 3;
string standards = 4;
int64 sceneId = 5;
int64 parentId = 6;
}
message RaceTaskBind{
enum TaskBindType{
@ -29,10 +41,12 @@ message RaceTaskBind{
scene = 1;
}
int64 taskId = 1;
TaskBindType bindType = 2;
int32 status = 3; //0= 1=
}
int64 bindId = 2;
TaskBindType bindType = 3;
int32 status = 4; //0= 1=
}
/*
message RaceTaskQuery{
common.PageQueryVO page = 1;
}
}*/