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";
|
2024-02-22 09:36:01 +08:00
|
|
|
|
//import "common/page_query.proto";
|
2024-02-18 15:09:02 +08:00
|
|
|
|
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
|
|
|
|
}
|
2024-02-22 09:36:01 +08:00
|
|
|
|
message RaceTaskDetailVO {
|
2024-02-18 15:09:02 +08:00
|
|
|
|
int64 id = 1;
|
|
|
|
|
string name = 2;
|
2024-02-22 09:36:01 +08:00
|
|
|
|
string desc = 3; //基础描述
|
|
|
|
|
string content = 4; //考核内容
|
|
|
|
|
string standards = 5; //评价标准
|
2024-02-23 11:50:44 +08:00
|
|
|
|
int64 scene_id = 6; //绑定的场景id
|
2024-02-22 11:08:50 +08:00
|
|
|
|
// int64 sceneName = 7;
|
2024-02-23 11:49:14 +08:00
|
|
|
|
int64 rule_id = 8; //绑定的评分id
|
2024-02-22 11:08:50 +08:00
|
|
|
|
// int64 ruleName = 9;
|
2024-02-23 11:49:14 +08:00
|
|
|
|
int64 parent_id = 10; //父任务的ID
|
|
|
|
|
common.ModifyInfoVO modify_info = 11;
|
2024-02-22 09:36:01 +08:00
|
|
|
|
}
|
|
|
|
|
message RaceTaskCreateVO{
|
|
|
|
|
string name = 1;
|
|
|
|
|
string desc = 2;
|
|
|
|
|
string content = 3;
|
|
|
|
|
string standards = 4;
|
2024-02-23 10:49:16 +08:00
|
|
|
|
int64 scene_id = 5;
|
|
|
|
|
int64 parent_id = 6;
|
2024-02-18 15:09:02 +08:00
|
|
|
|
}
|
|
|
|
|
message RaceTaskBind{
|
|
|
|
|
enum TaskBindType{
|
|
|
|
|
rule = 0;
|
|
|
|
|
scene = 1;
|
|
|
|
|
}
|
2024-02-23 11:04:37 +08:00
|
|
|
|
int64 bind_id = 2;
|
|
|
|
|
TaskBindType bind_type = 3;
|
2024-02-22 16:52:27 +08:00
|
|
|
|
int32 status = 4; //0=绑定 ;1=解绑
|
2024-02-22 13:31:50 +08:00
|
|
|
|
}
|
2024-02-18 15:09:02 +08:00
|
|
|
|
|
2024-02-23 11:04:37 +08:00
|
|
|
|
|
2024-02-22 09:36:01 +08:00
|
|
|
|
/*
|
2024-02-18 15:09:02 +08:00
|
|
|
|
message RaceTaskQuery{
|
|
|
|
|
common.PageQueryVO page = 1;
|
2024-02-22 09:36:01 +08:00
|
|
|
|
}*/
|