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