rt-sim-training-message/proto/race/race_task.proto
2024-02-18 15:09:02 +08:00

38 lines
818 B
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 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;
}