54 lines
1.2 KiB
Protocol Buffer
54 lines
1.2 KiB
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 RaceTaskDetailVO {
|
||
int64 id = 1;
|
||
string name = 2;
|
||
string desc = 3; //基础描述
|
||
string content = 4; //考核内容
|
||
string standards = 5; //评价标准
|
||
int64 scene_id = 6; //绑定的场景id
|
||
string sceneName = 7;
|
||
int64 rule_id = 8; //绑定的评分id
|
||
string ruleName = 9;
|
||
int64 parent_id = 10; //父任务的ID
|
||
common.ModifyInfoVO modify_info = 11;
|
||
}
|
||
message RaceTaskCreateVO{
|
||
string name = 1;
|
||
string desc = 2;
|
||
string content = 3;
|
||
string standards = 4;
|
||
int64 scene_id = 5;
|
||
int64 parent_id = 6;
|
||
}
|
||
message RaceTaskBind{
|
||
enum TaskBindType{
|
||
rule = 0;
|
||
scene = 1;
|
||
}
|
||
int64 bind_id = 2;
|
||
TaskBindType bind_type = 3;
|
||
int32 status = 4; //0=绑定 ;1=解绑
|
||
}
|
||
|
||
|
||
/*
|
||
message RaceTaskQuery{
|
||
common.PageQueryVO page = 1;
|
||
}*/ |