summaryrefslogtreecommitdiff
path: root/service/models.ice
diff options
context:
space:
mode:
Diffstat (limited to 'service/models.ice')
-rw-r--r--service/models.ice25
1 files changed, 25 insertions, 0 deletions
diff --git a/service/models.ice b/service/models.ice
new file mode 100644
index 0000000..cb48459
--- /dev/null
+++ b/service/models.ice
@@ -0,0 +1,25 @@
+#ifndef MIRRORSEARCH_MODELS
+#define MIRRORSEARCH_MODELS
+
+module MirrorSearch {
+ class SearchService {
+ ["slicer:db:pkey"]
+ int id;
+ string name;
+ string baseurl;
+ string listxpath;
+ string urlxpath;
+ };
+ class SearchHit {
+ ["slicer:db:pkey"]
+ int id;
+ int serviceid;
+ string url;
+ };
+
+ sequence<SearchService> SearchServices;
+ sequence<SearchHit> SearchHits;
+};
+
+#endif
+