rt-sim-training-message/proto/race/race_task.proto
2024-02-22 13:31:50 +08:00

59 lines
1.3 KiB
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
package race;
import "common/modify_info.proto";
//import "common/page_query.proto";
import "race/race_scene.proto";
option java_package = "club.joylink.rtss.vo.race";
message RaceTaskVO {
int64 id = 1;
string name = 2;
string desc = 3; //基础描述
string content = 4; //考核内容
string standards = 5; //评价标准
RaceSceneVO scene = 6; //场景
int64 parentId = 7; //父任务的ID
common.ModifyInfoVO modifyInfo = 8;
}
message RaceTaskDetailVO {
int64 id = 1;
string name = 2;
string desc = 3; //基础描述
string content = 4; //考核内容
string standards = 5; //评价标准
int64 sceneId = 6; //绑定的场景id
// int64 sceneName = 7;
int64 ruleId = 8; //绑定的评分id
// int64 ruleName = 9;
int64 parentId = 10; //父任务的ID
common.ModifyInfoVO modifyInfo = 11;
}
message RaceTaskCreateVO{
string name = 1;
string desc = 2;
string content = 3;
string standards = 4;
int64 sceneId = 5;
int64 parentId = 6;
}
message RaceTaskBind{
enum TaskBindType{
rule = 0;
scene = 1;
}
int64 taskId = 1;
int64 bindId = 2;
TaskBindType bindType = 3;
int32 status = 4; //0=解绑 1=绑定
}
message RaceTaskBindAll{
int64 taskId = 1;
int64 ruleId = 2;
int64 sceneId = 3;
}
/*
message RaceTaskQuery{
common.PageQueryVO page = 1;
}*/