From e1995f9a80e80fed0f1a258a627426eb37ef6849 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 24 七月 2019 16:16:47 +0800
Subject: [PATCH] add EventPush

---
 protomsg.proto |   36 ++++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/protomsg.proto b/protomsg.proto
index f22d2f6..01850a4 100644
--- a/protomsg.proto
+++ b/protomsg.proto
@@ -227,4 +227,40 @@
     repeated string tableIds = 1;
     bytes faceFeature = 2;
     float compareThreshold = 3;
+}
+
+message EventPush {
+    string id = 1;
+    string name = 2;
+    string time_start = 3;
+    string time_end = 4;
+    bool is_satisfy_all = 5;
+    string rule_text = 6;
+    bool enable = 7;
+    string link_type = 8;
+    string link_device = 9;
+    repeated PushIpPort ip_ports = 10;
+    repeated PushUrl urls = 11;
+    repeated EventPushRule rules = 12;
+}
+
+message EventPushRule {
+    string id = 1;
+    string topic_type = 2;
+    string topic_arg = 3;
+    string operator = 4;
+    string operator_type = 5;
+    string rule_value = 6;
+    string event_push_id = 7;
+}
+
+message PushIpPort {
+    string server_ip = 1;
+    int32 port = 2;
+    bool enable = 3;
+}
+
+message PushUrl {
+    string url = 1;
+    bool enable = 2;
 }
\ No newline at end of file

--
Gitblit v1.8.0