rt-sim-training-message/proto/race/race_task.proto

38 lines
818 B
Protocol Buffer
Raw Normal View History

2024-02-05 14:05:44 +08:00
syntax = "proto3";
package race;
2024-02-18 15:09:02 +08:00
import "common/modify_info.proto";
import "common/page_query.proto";
import "race/race_scene.proto";
2024-02-05 14:05:44 +08:00
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;
2024-02-18 15:09:02 +08:00
}
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;
2024-02-05 14:05:44 +08:00
}