New table: actor.usr_saved_search
[working/Evergreen.git] / Open-ILS / examples / fm_IDL.xml
index 32c8242..00d2ca5 100644 (file)
@@ -2385,6 +2385,24 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
                        <link field="replaces" reltype="has_a" key="id" map="" class="aua"/>
                </links>
        </class>
+
+       <class id="auss" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="actor::usr_saved_search" oils_persist:tablename="actor.usr_saved_search" reporter:label="User Saved Search">
+               <fields oils_persist:primary="id" oils_persist:sequence="usr_saved_search_id_seq">
+                       <field reporter:label="ID" name="id" reporter:datatype="id"/>
+                       <field reporter:label="Owner" name="owner" reporter:datatype="link"/>
+                       <field reporter:label="Name" name="name" reporter:datatype="text"/>
+                       <field reporter:label="Create Date" name="create_date" reporter:datatype="timestamp"/>
+                       <field reporter:label="Query Text" name="query_text" reporter:datatype="text"/>
+                       <field reporter:label="Query Type" name="query_type" reporter:datatype="text"/>
+                       <field reporter:label="Target" name="target" reporter:datatype="text"/>
+               </fields>
+               <links>
+                       <link field="owner" reltype="has_a" key="id" map="" class="au"/>
+               </links>
+               <permacrud xmlns="http://open-ils.org/spec/opensrf/IDL/permacrud/v1">
+               </permacrud>
+       </class>
+
        <class id="acnn" controller="open-ils.cstore open-ils.pcrud" oils_obj:fieldmapper="asset::call_number_note" oils_persist:tablename="asset.call_number_note" reporter:label="Call Number Note">
                <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_note_id_seq">
                        <field name="call_number" />