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