summaryrefslogtreecommitdiff
path: root/service/models.ice
blob: cb484598cc373945cdeb089a3046729531f8d1b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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