virt fields
[Evergreen.git] / Open-ILS / examples / fm_IDL.xml
1 <IDL xmlns="http://opensrf.org/spec/IDL/base/v1" xmlns:oils_persist="http://open-ils.org/spec/opensrf/IDL/persistance/v1" xmlns:oils_obj="http://open-ils.org/spec/opensrf/IDL/objects/v1">
2
3         <!-- Virutal classes -->
4         <class id="mups" oils_obj:fieldmapper="money::user_payment_summary" oils_persist:virtual="true">
5                 <fields>
6                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
7                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
8                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
9                         <field name="usr" oils_obj:array_position="3" oils_persist:virtual="true" />
10                         <field name="forgive_payment" oils_obj:array_position="4" oils_persist:virtual="true" />
11                         <field name="work_payment" oils_obj:array_position="5" oils_persist:virtual="true" />
12                         <field name="credit_payment" oils_obj:array_position="6" oils_persist:virtual="true" />
13                 </fields>
14                 <links>
15                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
16                 </links>
17         </class>
18
19         <class id="mwps" oils_obj:fieldmapper="money::workstation_payment_summary" oils_persist:virtual="true">
20                 <fields>
21                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
22                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
23                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
24                         <field name="workstation" oils_obj:array_position="3" oils_persist:virtual="true" />
25                         <field name="cash_payment" oils_obj:array_position="4" oils_persist:virtual="true" />
26                         <field name="check_payment" oils_obj:array_position="5" oils_persist:virtual="true" />
27                         <field name="credit_card_payment" oils_obj:array_position="6" oils_persist:virtual="true" />
28                 </fields>
29                 <links>
30                         <link field="workstation" reltype="has_a" key="id" map="" class="aws"/>
31                 </links>
32         </class>
33
34         <class id="brn" oils_obj:fieldmapper="biblio::record_node" oils_persist:virtual="true">
35                 <fields>
36                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
37                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
38                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
39                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="true" />
40                         <field name="children" oils_obj:array_position="3" oils_persist:virtual="true" />
41                         <field name="owner_doc" oils_obj:array_position="9" oils_persist:virtual="true" />
42                         <field name="intra_doc_id" oils_obj:array_position="5" oils_persist:virtual="true" />
43                         <field name="parent_node" oils_obj:array_position="10" oils_persist:virtual="true" />
44                         <field name="node_type" oils_obj:array_position="8" oils_persist:virtual="true" />
45                         <field name="namespace_uri" oils_obj:array_position="7" oils_persist:virtual="true" />
46                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="true" />
47                         <field name="value" oils_obj:array_position="11" oils_persist:virtual="true" />
48                 </fields>
49         </class>
50
51         <class id="mvr" oils_obj:fieldmapper="metabib::virtual_record" oils_persist:virtual="true">
52                 <fields>
53                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
54                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
55                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
56                         <field name="title" oils_obj:array_position="19" oils_persist:virtual="true" />
57                         <field name="author" oils_obj:array_position="3" oils_persist:virtual="true" />
58                         <field name="doc_id" oils_obj:array_position="6" oils_persist:virtual="true" />
59                         <field name="doc_type" oils_obj:array_position="7" oils_persist:virtual="true" />
60                         <field name="pubdate" oils_obj:array_position="12" oils_persist:virtual="true" />
61                         <field name="isbn" oils_obj:array_position="9" oils_persist:virtual="true" />
62                         <field name="publisher" oils_obj:array_position="13" oils_persist:virtual="true" />
63                         <field name="tcn" oils_obj:array_position="18" oils_persist:virtual="true" />
64                         <field name="subject" oils_obj:array_position="16" oils_persist:virtual="true" />
65                         <field name="types_of_resource" oils_obj:array_position="21" oils_persist:virtual="true" />
66                         <field name="call_numbers" oils_obj:array_position="4" oils_persist:virtual="true" />
67                         <field name="edition" oils_obj:array_position="8" oils_persist:virtual="true" />
68                         <field name="online_loc" oils_obj:array_position="10" oils_persist:virtual="true" />
69                         <field name="synopsis" oils_obj:array_position="17" oils_persist:virtual="true" />
70                         <field name="physical_description" oils_obj:array_position="11" oils_persist:virtual="true" />
71                         <field name="toc" oils_obj:array_position="20" oils_persist:virtual="true" />
72                         <field name="copy_count" oils_obj:array_position="5" oils_persist:virtual="true" />
73                         <field name="series" oils_obj:array_position="15" oils_persist:virtual="true" />
74                         <field name="serials" oils_obj:array_position="14" oils_persist:virtual="true" />
75                 </fields>
76         </class>
77
78         <class id="ex" oils_obj:fieldmapper="ex" oils_persist:virtual="true">
79                 <fields>
80                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
81                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
82                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
83                         <field name="err_msg" oils_obj:array_position="3" oils_persist:virtual="true" />
84                         <field name="type" oils_obj:array_position="4" oils_persist:virtual="true" />
85                 </fields>
86         </class>
87
88         <class id="perm_ex" oils_obj:fieldmapper="perm_ex" oils_persist:virtual="true">
89                 <fields>
90                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
91                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
92                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
93                         <field name="err_msg" oils_obj:array_position="3" oils_persist:virtual="true" />
94                         <field name="type" oils_obj:array_position="4" oils_persist:virtual="true" />
95                 </fields>
96         </class>
97
98
99
100         <!-- Actually in the DB -->
101         <class id="aws" oils_obj:fieldmapper="actor::workstation" oils_persist:tablename="actor.workstation">
102                 <fields oils_persist:primary="id" oils_persist:sequence="actor.workstation_id_seq">
103                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
104                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
105                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
106                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
107                         <field name="name" oils_obj:array_position="4" oils_persist:virtual="false" />
108                         <field name="owning_lib" oils_obj:array_position="5" oils_persist:virtual="false" />
109                 </fields>
110                 <links>
111                         <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
112                 </links>
113         </class>
114
115         <class id="cit" oils_obj:fieldmapper="config::identification_type" oils_persist:tablename="config.identification_type">
116                 <fields oils_persist:primary="id" oils_persist:sequence="config.identification_type_id_seq">
117                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
118                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
119                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
120                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
121                         <field name="name" oils_obj:array_position="4" oils_persist:virtual="false" />
122                 </fields>
123                 <links/>
124         </class>
125         <class id="asvq" oils_obj:fieldmapper="action::survey_question" oils_persist:tablename="action.survey_question">
126                 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_question_id_seq">
127                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
128                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
129                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
130                         <field name="answers" oils_obj:array_position="3" oils_persist:virtual="true" />
131                         <field name="responses" oils_obj:array_position="4" oils_persist:virtual="true" />
132                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
133                         <field name="question" oils_obj:array_position="6" oils_persist:virtual="false" />
134                         <field name="survey" oils_obj:array_position="7" oils_persist:virtual="false" />
135                 </fields>
136                 <links>
137                         <link field="survey" reltype="has_a" key="id" map="" class="asv"/>
138                         <link field="responses" reltype="has_many" key="question" map="" class="asvr"/>
139                         <link field="answers" reltype="has_many" key="question" map="" class="asva"/>
140                 </links>
141         </class>
142         <class id="mbts" oils_obj:fieldmapper="money::billable_transaction_summary" oils_persist:tablename="money.billable_xact_summary">
143                 <fields oils_persist:primary="id" oils_persist:sequence="">
144                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
145                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
146                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
147                         <field name="balance_owed" oils_obj:array_position="3" oils_persist:virtual="false" />
148                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
149                         <field name="last_billing_note" oils_obj:array_position="5" oils_persist:virtual="false" />
150                         <field name="last_billing_ts" oils_obj:array_position="6" oils_persist:virtual="false" />
151                         <field name="last_billing_type" oils_obj:array_position="7" oils_persist:virtual="false" />
152                         <field name="last_payment_note" oils_obj:array_position="8" oils_persist:virtual="false" />
153                         <field name="last_payment_ts" oils_obj:array_position="9" oils_persist:virtual="false" />
154                         <field name="last_payment_type" oils_obj:array_position="10" oils_persist:virtual="false" />
155                         <field name="total_owed" oils_obj:array_position="11" oils_persist:virtual="false" />
156                         <field name="total_paid" oils_obj:array_position="12" oils_persist:virtual="false" />
157                         <field name="usr" oils_obj:array_position="13" oils_persist:virtual="false" />
158                         <field name="xact_finish" oils_obj:array_position="14" oils_persist:virtual="false" />
159                         <field name="xact_start" oils_obj:array_position="15" oils_persist:virtual="false" />
160                         <field name="xact_type" oils_obj:array_position="16" oils_persist:virtual="false" />
161                 </fields>
162                 <links>
163                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
164                 </links>
165         </class>
166         <class id="aun" oils_obj:fieldmapper="actor::usr_note" oils_persist:tablename="actor.usr_note">
167                 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_note_id_seq">
168                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
169                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
170                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
171                         <field name="create_date" oils_obj:array_position="3" oils_persist:virtual="false" />
172                         <field name="creator" oils_obj:array_position="4" oils_persist:virtual="false" />
173                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
174                         <field name="pub" oils_obj:array_position="6" oils_persist:virtual="false" />
175                         <field name="title" oils_obj:array_position="7" oils_persist:virtual="false" />
176                         <field name="usr" oils_obj:array_position="8" oils_persist:virtual="false" />
177                         <field name="value" oils_obj:array_position="9" oils_persist:virtual="false" />
178                 </fields>
179                 <links>
180                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
181                         <link field="creator" reltype="has_a" key="id" map="" class="au"/>
182                 </links>
183         </class>
184         <class id="aus" oils_obj:fieldmapper="actor::user_setting" oils_persist:tablename="actor.usr_setting">
185                 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_setting_id_seq">
186                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
187                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
188                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
189                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
190                         <field name="name" oils_obj:array_position="4" oils_persist:virtual="false" />
191                         <field name="usr" oils_obj:array_position="5" oils_persist:virtual="false" />
192                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
193                 </fields>
194                 <links>
195                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
196                 </links>
197         </class>
198         <class id="mafe" oils_obj:fieldmapper="metabib::author_field_entry" oils_persist:tablename="metabib.author_field_entry">
199                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.author_field_entry_id_seq">
200                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
201                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
202                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
203                         <field name="field" oils_obj:array_position="3" oils_persist:virtual="false" />
204                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
205                         <field name="source" oils_obj:array_position="5" oils_persist:virtual="false" />
206                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
207                 </fields>
208                 <links>
209                         <link field="source" reltype="has_a" key="id" map="" class="bre"/>
210                         <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
211                 </links>
212         </class>
213         <class id="aihu" oils_obj:fieldmapper="action::in_house_use" oils_persist:tablename="action.in_house_use">
214                 <fields oils_persist:primary="id" oils_persist:sequence="action.in_house_use_id_seq">
215                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
216                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
217                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
218                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
219                         <field name="item" oils_obj:array_position="4" oils_persist:virtual="false" />
220                         <field name="org_unit" oils_obj:array_position="5" oils_persist:virtual="false" />
221                         <field name="staff" oils_obj:array_position="6" oils_persist:virtual="false" />
222                         <field name="use_time" oils_obj:array_position="7" oils_persist:virtual="false" />
223                 </fields>
224                 <links>
225                         <link field="item" reltype="has_a" key="id" map="" class="acp"/>
226                         <link field="staff" reltype="has_a" key="id" map="" class="au"/>
227                         <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
228                 </links>
229         </class>
230         <class id="ancihu" oils_obj:fieldmapper="action::non_cat_in_house_use" oils_persist:tablename="action.non_cat_in_house_use">
231                 <fields oils_persist:primary="id" oils_persist:sequence="action.non_cat_in_house_use_id_seq">
232                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
233                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
234                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
235                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
236                         <field name="item_type" oils_obj:array_position="4" oils_persist:virtual="false" />
237                         <field name="org_unit" oils_obj:array_position="5" oils_persist:virtual="false" />
238                         <field name="staff" oils_obj:array_position="6" oils_persist:virtual="false" />
239                         <field name="use_time" oils_obj:array_position="7" oils_persist:virtual="false" />
240                 </fields>
241                 <links>
242                         <link field="item_type" reltype="has_a" key="id" map="" class="cnct"/>
243                         <link field="staff" reltype="has_a" key="id" map="" class="au"/>
244                         <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
245                 </links>
246         </class>
247         <class id="atc" oils_obj:fieldmapper="action::transit_copy" oils_persist:tablename="action.transit_copy">
248                 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
249                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
250                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
251                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
252                         <field name="copy_status" oils_obj:array_position="3" oils_persist:virtual="false" />
253                         <field name="dest" oils_obj:array_position="4" oils_persist:virtual="false" />
254                         <field name="dest_recv_time" oils_obj:array_position="5" oils_persist:virtual="false" />
255                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
256                         <field name="persistant_transfer" oils_obj:array_position="7" oils_persist:virtual="false" />
257                         <field name="prev_hop" oils_obj:array_position="8" oils_persist:virtual="false" />
258                         <field name="source" oils_obj:array_position="9" oils_persist:virtual="false" />
259                         <field name="source_send_time" oils_obj:array_position="10" oils_persist:virtual="false" />
260                         <field name="target_copy" oils_obj:array_position="11" oils_persist:virtual="false" />
261                         <field name="hold_transit_copy" oils_obj:array_position="12" oils_persist:virtual="true" />
262                 </fields>
263                 <links>
264                         <link field="hold_transit_copy" reltype="might_have" key="id" map="" class="ahtc"/>
265                         <link field="source" reltype="has_a" key="id" map="" class="aou"/>
266                         <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
267                         <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
268                         <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
269                 </links>
270         </class>
271         <class id="asvr" oils_obj:fieldmapper="action::survey_response" oils_persist:tablename="action.survey_response">
272                 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_response_id_seq">
273                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
274                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
275                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
276                         <field name="answer" oils_obj:array_position="3" oils_persist:virtual="false" />
277                         <field name="answer_date" oils_obj:array_position="4" oils_persist:virtual="false" />
278                         <field name="effective_date" oils_obj:array_position="5" oils_persist:virtual="false" />
279                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
280                         <field name="question" oils_obj:array_position="7" oils_persist:virtual="false" />
281                         <field name="response_group_id" oils_obj:array_position="8" oils_persist:virtual="false" />
282                         <field name="survey" oils_obj:array_position="9" oils_persist:virtual="false" />
283                         <field name="usr" oils_obj:array_position="10" oils_persist:virtual="false" />
284                 </fields>
285                 <links>
286                         <link field="question" reltype="has_a" key="id" map="" class="asvq"/>
287                         <link field="survey" reltype="has_a" key="id" map="" class="asv"/>
288                         <link field="answer" reltype="has_a" key="id" map="" class="asva"/>
289                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
290                 </links>
291         </class>
292         <class id="ccbi" oils_obj:fieldmapper="container::copy_bucket_item" oils_persist:tablename="container.copy_bucket_item">
293                 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_item_id_seq">
294                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
295                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
296                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
297                         <field name="bucket" oils_obj:array_position="3" oils_persist:virtual="false" />
298                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
299                         <field name="target_copy" oils_obj:array_position="5" oils_persist:virtual="false" />
300                 </fields>
301                 <links>
302                         <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
303                         <link field="bucket" reltype="has_a" key="id" map="" class="ccb"/>
304                 </links>
305         </class>
306         <class id="are" oils_obj:fieldmapper="authority::record_entry" oils_persist:tablename="authority.record_entry">
307                 <fields oils_persist:primary="id" oils_persist:sequence="authority.record_entry_id_seq">
308                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
309                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
310                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
311                         <field name="active" oils_obj:array_position="3" oils_persist:virtual="false" />
312                         <field name="arn_source" oils_obj:array_position="4" oils_persist:virtual="false" />
313                         <field name="arn_value" oils_obj:array_position="5" oils_persist:virtual="false" />
314                         <field name="create_date" oils_obj:array_position="6" oils_persist:virtual="false" />
315                         <field name="creator" oils_obj:array_position="7" oils_persist:virtual="false" />
316                         <field name="deleted" oils_obj:array_position="8" oils_persist:virtual="false" />
317                         <field name="edit_date" oils_obj:array_position="9" oils_persist:virtual="false" />
318                         <field name="editor" oils_obj:array_position="10" oils_persist:virtual="false" />
319                         <field name="id" oils_obj:array_position="11" oils_persist:virtual="false" />
320                         <field name="last_xact_id" oils_obj:array_position="12" oils_persist:virtual="false" />
321                         <field name="marc" oils_obj:array_position="13" oils_persist:virtual="false" />
322                         <field name="source" oils_obj:array_position="14" oils_persist:virtual="false" />
323                         <field name="fixed_fields" oils_obj:array_position="15" oils_persist:virtual="true" />
324                 </fields>
325                 <links>
326                         <link field="editor" reltype="has_a" key="id" map="" class="au"/>
327                         <link field="creator" reltype="has_a" key="id" map="" class="au"/>
328                         <link field="notes" reltype="has_many" key="record" map="" class="arn"/>
329                         <link field="fixed_fields" reltype="might_have" key="record" map="" class="ard"/>
330                 </links>
331         </class>
332         <class id="ard" oils_obj:fieldmapper="authority::record_descriptor" oils_persist:tablename="authority.rec_descriptor">
333                 <fields oils_persist:primary="id" oils_persist:sequence="authority.rec_descriptor_id_seq">
334                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
335                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
336                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
337                         <field name="char_encoding" oils_obj:array_position="3" oils_persist:virtual="false" />
338                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
339                         <field name="record" oils_obj:array_position="5" oils_persist:virtual="false" />
340                         <field name="record_status" oils_obj:array_position="6" oils_persist:virtual="false" />
341                 </fields>
342                 <links>
343                         <link field="record" reltype="has_a" key="id" map="" class="are"/>
344                 </links>
345         </class>
346         <class id="clm" oils_obj:fieldmapper="config::language_map" oils_persist:tablename="config.language_map">
347                 <fields oils_persist:primary="code" oils_persist:sequence="">
348                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
349                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
350                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
351                         <field name="code" oils_obj:array_position="3" oils_persist:virtual="false" />
352                         <field name="value" oils_obj:array_position="4" oils_persist:virtual="false" />
353                 </fields>
354                 <links/>
355         </class>
356         <class id="mccp" oils_obj:fieldmapper="money::credit_card_payment" oils_persist:tablename="money.credit_card_payment">
357                 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
358                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
359                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
360                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
361                         <field name="accepting_usr" oils_obj:array_position="3" oils_persist:virtual="false" />
362                         <field name="amount" oils_obj:array_position="4" oils_persist:virtual="false" />
363                         <field name="amount_collected" oils_obj:array_position="5" oils_persist:virtual="false" />
364                         <field name="approval_code" oils_obj:array_position="6" oils_persist:virtual="false" />
365                         <field name="cash_drawer" oils_obj:array_position="7" oils_persist:virtual="false" />
366                         <field name="cc_number" oils_obj:array_position="8" oils_persist:virtual="false" />
367                         <field name="cc_type" oils_obj:array_position="9" oils_persist:virtual="false" />
368                         <field name="expire_month" oils_obj:array_position="10" oils_persist:virtual="false" />
369                         <field name="expire_year" oils_obj:array_position="11" oils_persist:virtual="false" />
370                         <field name="id" oils_obj:array_position="12" oils_persist:virtual="false" />
371                         <field name="note" oils_obj:array_position="13" oils_persist:virtual="false" />
372                         <field name="payment_ts" oils_obj:array_position="14" oils_persist:virtual="false" />
373                         <field name="xact" oils_obj:array_position="15" oils_persist:virtual="false" />
374                         <field name="payment_type" oils_obj:array_position="16" oils_persist:virtual="true" />
375                         <field name="payment" oils_obj:array_position="17" oils_persist:virtual="true" />
376                 </fields>
377                 <links>
378                         <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
379                         <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
380                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
381                 </links>
382         </class>
383         <class id="cmf" oils_obj:fieldmapper="config::metabib_field" oils_persist:tablename="config.metabib_field">
384                 <fields oils_persist:primary="id" oils_persist:sequence="config.metabib_field_id_seq">
385                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
386                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
387                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
388                         <field name="field_class" oils_obj:array_position="3" oils_persist:virtual="false" />
389                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
390                         <field name="name" oils_obj:array_position="5" oils_persist:virtual="false" />
391                         <field name="xpath" oils_obj:array_position="6" oils_persist:virtual="false" />
392                         <field name="weight" oils_obj:array_position="7" oils_persist:virtual="false" />
393                         <field name="format" oils_obj:array_position="8" oils_persist:virtual="false" />
394                 </fields>
395                 <links/>
396         </class>
397         <class id="cam" oils_obj:fieldmapper="config::audience_map" oils_persist:tablename="config.audience_map">
398                 <fields oils_persist:primary="code" oils_persist:sequence="">
399                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
400                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
401                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
402                         <field name="code" oils_obj:array_position="3" oils_persist:virtual="false" />
403                         <field name="description" oils_obj:array_position="4" oils_persist:virtual="false" />
404                         <field name="value" oils_obj:array_position="5" oils_persist:virtual="false" />
405                 </fields>
406                 <links/>
407         </class>
408         <class id="cifm" oils_obj:fieldmapper="config::item_form_map" oils_persist:tablename="config.item_form_map">
409                 <fields oils_persist:primary="code" oils_persist:sequence="">
410                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
411                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
412                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
413                         <field name="code" oils_obj:array_position="3" oils_persist:virtual="false" />
414                         <field name="value" oils_obj:array_position="4" oils_persist:virtual="false" />
415                 </fields>
416                 <links/>
417         </class>
418         <class id="acn" oils_obj:fieldmapper="asset::call_number" oils_persist:tablename="asset.call_number">
419                 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_id_seq">
420                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
421                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
422                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
423                         <field name="copies" oils_obj:array_position="3" oils_persist:virtual="true" />
424                         <field name="create_date" oils_obj:array_position="4" oils_persist:virtual="false" />
425                         <field name="creator" oils_obj:array_position="5" oils_persist:virtual="false" />
426                         <field name="deleted" oils_obj:array_position="6" oils_persist:virtual="false" />
427                         <field name="edit_date" oils_obj:array_position="7" oils_persist:virtual="false" />
428                         <field name="editor" oils_obj:array_position="8" oils_persist:virtual="false" />
429                         <field name="id" oils_obj:array_position="9" oils_persist:virtual="false" />
430                         <field name="label" oils_obj:array_position="10" oils_persist:virtual="false" />
431                         <field name="owning_lib" oils_obj:array_position="11" oils_persist:virtual="false" />
432                         <field name="record" oils_obj:array_position="12" oils_persist:virtual="false" />
433                 </fields>
434                 <links>
435                         <link field="editor" reltype="has_a" key="id" map="" class="au"/>
436                         <link field="creator" reltype="has_a" key="id" map="" class="au"/>
437                         <link field="record" reltype="has_a" key="id" map="" class="bre"/>
438                         <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
439                         <link field="notes" reltype="has_many" key="call_number" map="" class="acnn"/>
440                         <link field="copies" reltype="has_many" key="call_number" map="" class="acp"/>
441                 </links>
442         </class>
443         <class id="cst" oils_obj:fieldmapper="config::standing" oils_persist:tablename="config.standing">
444                 <fields oils_persist:primary="id" oils_persist:sequence="config.standing_id_seq">
445                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
446                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
447                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
448                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
449                         <field name="value" oils_obj:array_position="4" oils_persist:virtual="false" />
450                 </fields>
451                 <links/>
452         </class>
453         <class id="mous" oils_obj:fieldmapper="money::open_user_summary" oils_persist:tablename="money.open_usr_summary">
454                 <fields oils_persist:primary="usr" oils_persist:sequence="">
455                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
456                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
457                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
458                         <field name="balance_owed" oils_obj:array_position="3" oils_persist:virtual="false" />
459                         <field name="total_owed" oils_obj:array_position="4" oils_persist:virtual="false" />
460                         <field name="total_paid" oils_obj:array_position="5" oils_persist:virtual="false" />
461                         <field name="usr" oils_obj:array_position="6" oils_persist:virtual="false" />
462                 </fields>
463                 <links/>
464         </class>
465         <class id="mct" oils_obj:fieldmapper="money::collections_tracker" oils_persist:tablename="money.collections_tracker">
466                 <fields oils_persist:primary="id" oils_persist:sequence="money.collections_tracker_id_seq">
467                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
468                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
469                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
470                         <field name="collector" oils_obj:array_position="3" oils_persist:virtual="false" />
471                         <field name="enter_time" oils_obj:array_position="4" oils_persist:virtual="false" />
472                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
473                         <field name="location" oils_obj:array_position="6" oils_persist:virtual="false" />
474                         <field name="usr" oils_obj:array_position="7" oils_persist:virtual="false" />
475                 </fields>
476                 <links>
477                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
478                         <link field="collector" reltype="has_a" key="id" map="" class="au"/>
479                         <link field="location" reltype="has_a" key="id" map="" class="aou"/>
480                 </links>
481         </class>
482         <class id="bre" oils_obj:fieldmapper="biblio::record_entry" oils_persist:tablename="biblio.record_entry">
483                 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_entry_id_seq">
484                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
485                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
486                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
487                         <field name="call_numbers" oils_obj:array_position="3" oils_persist:virtual="true" />
488                         <field name="fixed_fields" oils_obj:array_position="4" oils_persist:virtual="true" />
489                         <field name="active" oils_obj:array_position="5" oils_persist:virtual="false" />
490                         <field name="create_date" oils_obj:array_position="6" oils_persist:virtual="false" />
491                         <field name="creator" oils_obj:array_position="7" oils_persist:virtual="false" />
492                         <field name="deleted" oils_obj:array_position="8" oils_persist:virtual="false" />
493                         <field name="edit_date" oils_obj:array_position="9" oils_persist:virtual="false" />
494                         <field name="editor" oils_obj:array_position="10" oils_persist:virtual="false" />
495                         <field name="fingerprint" oils_obj:array_position="11" oils_persist:virtual="false" />
496                         <field name="id" oils_obj:array_position="12" oils_persist:virtual="false" />
497                         <field name="last_xact_id" oils_obj:array_position="13" oils_persist:virtual="false" />
498                         <field name="marc" oils_obj:array_position="14" oils_persist:virtual="false" />
499                         <field name="quality" oils_obj:array_position="15" oils_persist:virtual="false" />
500                         <field name="source" oils_obj:array_position="16" oils_persist:virtual="false" />
501                         <field name="tcn_source" oils_obj:array_position="17" oils_persist:virtual="false" />
502                         <field name="tcn_value" oils_obj:array_position="18" oils_persist:virtual="false" />
503                         <field name="metarecord" oils_obj:array_position="19" oils_persist:virtual="true" />
504                         <field name="language" oils_obj:array_position="20" oils_persist:virtual="true" />
505                         <field name="notes" oils_obj:array_position="21" oils_persist:virtual="true" />
506                         <field name="keyword_field_entries" oils_obj:array_position="22" oils_persist:virtual="true" />
507                         <field name="subject_field_entries" oils_obj:array_position="23" oils_persist:virtual="true" />
508                         <field name="title_field_entries" oils_obj:array_position="24" oils_persist:virtual="true" />
509                         <field name="author_field_entries" oils_obj:array_position="25" oils_persist:virtual="true" />
510                         <field name="series_field_entries" oils_obj:array_position="26" oils_persist:virtual="true" />
511                         <field name="full_record_entries" oils_obj:array_position="27" oils_persist:virtual="true" />
512                 </fields>
513                 <links>
514                         <link field="editor" reltype="has_a" key="id" map="" class="au"/>
515                         <link field="creator" reltype="has_a" key="id" map="" class="au"/>
516                         <link field="metarecord" reltype="might_have" key="source" map="metarecord" class="mmrsm"/>
517                         <link field="call_numbers" reltype="has_many" key="record" map="" class="acn"/>
518                         <link field="keyword_field_entries" reltype="has_many" key="source" map="" class="mkfe"/>
519                         <link field="fixed_fields" reltype="might_have" key="record" map="" class="mrd"/>
520                         <link field="language" reltype="might_have" key="record" map="item_lang" class="mrd"/>
521                         <link field="subject_field_entries" reltype="has_many" key="source" map="" class="msfe"/>
522                         <link field="title_field_entries" reltype="has_many" key="source" map="" class="mtfe"/>
523                         <link field="notes" reltype="has_many" key="record" map="" class="bren"/>
524                         <link field="author_field_entries" reltype="has_many" key="source" map="" class="mafe"/>
525                         <link field="series_field_entries" reltype="has_many" key="source" map="" class="msefe"/>
526                         <link field="full_record_entries" reltype="has_many" key="record" map="" class="mfr"/>
527                 </links>
528         </class>
529         <class id="aouhoo" oils_obj:fieldmapper="actor::org_unit::hours_of_operation" oils_persist:tablename="actor.hours_of_operation">
530                 <fields oils_persist:primary="id" oils_persist:sequence="">
531                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
532                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
533                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
534                         <field name="dow_0_close" oils_obj:array_position="3" oils_persist:virtual="false" />
535                         <field name="dow_0_open" oils_obj:array_position="4" oils_persist:virtual="false" />
536                         <field name="dow_1_close" oils_obj:array_position="5" oils_persist:virtual="false" />
537                         <field name="dow_1_open" oils_obj:array_position="6" oils_persist:virtual="false" />
538                         <field name="dow_2_close" oils_obj:array_position="7" oils_persist:virtual="false" />
539                         <field name="dow_2_open" oils_obj:array_position="8" oils_persist:virtual="false" />
540                         <field name="dow_3_close" oils_obj:array_position="9" oils_persist:virtual="false" />
541                         <field name="dow_3_open" oils_obj:array_position="10" oils_persist:virtual="false" />
542                         <field name="dow_4_close" oils_obj:array_position="11" oils_persist:virtual="false" />
543                         <field name="dow_4_open" oils_obj:array_position="12" oils_persist:virtual="false" />
544                         <field name="dow_5_close" oils_obj:array_position="13" oils_persist:virtual="false" />
545                         <field name="dow_5_open" oils_obj:array_position="14" oils_persist:virtual="false" />
546                         <field name="dow_6_close" oils_obj:array_position="15" oils_persist:virtual="false" />
547                         <field name="dow_6_open" oils_obj:array_position="16" oils_persist:virtual="false" />
548                         <field name="id" oils_obj:array_position="17" oils_persist:virtual="false" />
549                         <field name="org_unit" oils_obj:array_position="18" oils_persist:virtual="true" />
550                 </fields>
551                 <links>
552                         <link field="org_unit" reltype="might_have" key="id" map="" class="aou"/>
553                 </links>
554         </class>
555         <class id="aoucd" oils_obj:fieldmapper="actor::org_unit::closed_date" oils_persist:tablename="actor.org_unit_closed">
556                 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_closed_id_seq">
557                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
558                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
559                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
560                         <field name="close_end" oils_obj:array_position="3" oils_persist:virtual="false" />
561                         <field name="close_start" oils_obj:array_position="4" oils_persist:virtual="false" />
562                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
563                         <field name="org_unit" oils_obj:array_position="6" oils_persist:virtual="false" />
564                         <field name="reason" oils_obj:array_position="7" oils_persist:virtual="false" />
565                 </fields>
566                 <links>
567                         <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
568                 </links>
569         </class>
570         <class id="crcd" oils_obj:fieldmapper="config::rules::circ_duration" oils_persist:tablename="config.rule_circ_duration">
571                 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_circ_duration_id_seq">
572                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
573                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
574                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
575                         <field name="extended" oils_obj:array_position="3" oils_persist:virtual="false" />
576                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
577                         <field name="max_renewals" oils_obj:array_position="5" oils_persist:virtual="false" />
578                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
579                         <field name="normal" oils_obj:array_position="7" oils_persist:virtual="false" />
580                         <field name="shrt" oils_obj:array_position="8" oils_persist:virtual="false" />
581                 </fields>
582                 <links>
583                 </links>
584         </class>
585         <class id="mobts" oils_obj:fieldmapper="money::open_billable_transaction_summary" oils_persist:tablename="money.open_billable_xact_summary">
586                 <fields oils_persist:primary="id" oils_persist:sequence="">
587                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
588                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
589                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
590                         <field name="balance_owed" oils_obj:array_position="3" oils_persist:virtual="false" />
591                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
592                         <field name="last_billing_note" oils_obj:array_position="5" oils_persist:virtual="false" />
593                         <field name="last_billing_ts" oils_obj:array_position="6" oils_persist:virtual="false" />
594                         <field name="last_billing_type" oils_obj:array_position="7" oils_persist:virtual="false" />
595                         <field name="last_payment_note" oils_obj:array_position="8" oils_persist:virtual="false" />
596                         <field name="last_payment_ts" oils_obj:array_position="9" oils_persist:virtual="false" />
597                         <field name="last_payment_type" oils_obj:array_position="10" oils_persist:virtual="false" />
598                         <field name="total_owed" oils_obj:array_position="11" oils_persist:virtual="false" />
599                         <field name="total_paid" oils_obj:array_position="12" oils_persist:virtual="false" />
600                         <field name="usr" oils_obj:array_position="13" oils_persist:virtual="false" />
601                         <field name="xact_finish" oils_obj:array_position="14" oils_persist:virtual="false" />
602                         <field name="xact_start" oils_obj:array_position="15" oils_persist:virtual="false" />
603                         <field name="xact_type" oils_obj:array_position="16" oils_persist:virtual="false" />
604                         <field name="xact" oils_obj:array_position="17" oils_persist:virtual="true" />
605                         <field name="grocery" oils_obj:array_position="18" oils_persist:virtual="true" />
606                         <field name="circulation" oils_obj:array_position="19" oils_persist:virtual="true" />
607                 </fields>
608                 <links>
609                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
610                         <link field="xact" reltype="might_have" key="id" map="" class="mbt"/>
611                         <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
612                         <link field="grocery" reltype="might_have" key="id" map="" class="mg"/>
613                 </links>
614         </class>
615         <class id="au" oils_obj:fieldmapper="actor::user" oils_persist:tablename="actor.usr">
616                 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_id_seq">
617                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
618                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
619                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
620                         <field name="addresses" oils_obj:array_position="3" oils_persist:virtual="true" />
621                         <field name="cards" oils_obj:array_position="4" oils_persist:virtual="true" />
622                         <field name="checkouts" oils_obj:array_position="5" oils_persist:virtual="true" />
623                         <field name="hold_requests" oils_obj:array_position="6" oils_persist:virtual="true" />
624                         <field name="permissions" oils_obj:array_position="7" oils_persist:virtual="true" />
625                         <field name="settings" oils_obj:array_position="8" oils_persist:virtual="true" />
626                         <field name="standing_penalties" oils_obj:array_position="9" oils_persist:virtual="true" />
627                         <field name="stat_cat_entries" oils_obj:array_position="10" oils_persist:virtual="true" />
628                         <field name="survey_responses" oils_obj:array_position="11" oils_persist:virtual="true" />
629                         <field name="ws_ou" oils_obj:array_position="12" oils_persist:virtual="true" />
630                         <field name="wsid" oils_obj:array_position="13" oils_persist:virtual="true" />
631                         <field name="active" oils_obj:array_position="14" oils_persist:virtual="false" />
632                         <field name="alert_message" oils_obj:array_position="15" oils_persist:virtual="false" />
633                         <field name="barred" oils_obj:array_position="16" oils_persist:virtual="false" />
634                         <field name="billing_address" oils_obj:array_position="17" oils_persist:virtual="false" />
635                         <field name="card" oils_obj:array_position="18" oils_persist:virtual="false" />
636                         <field name="claims_returned_count" oils_obj:array_position="19" oils_persist:virtual="false" />
637                         <field name="create_date" oils_obj:array_position="20" oils_persist:virtual="false" />
638                         <field name="credit_forward_balance" oils_obj:array_position="21" oils_persist:virtual="false" />
639                         <field name="day_phone" oils_obj:array_position="22" oils_persist:virtual="false" />
640                         <field name="dob" oils_obj:array_position="23" oils_persist:virtual="false" />
641                         <field name="email" oils_obj:array_position="24" oils_persist:virtual="false" />
642                         <field name="evening_phone" oils_obj:array_position="25" oils_persist:virtual="false" />
643                         <field name="expire_date" oils_obj:array_position="26" oils_persist:virtual="false" />
644                         <field name="family_name" oils_obj:array_position="27" oils_persist:virtual="false" />
645                         <field name="first_given_name" oils_obj:array_position="28" oils_persist:virtual="false" />
646                         <field name="home_ou" oils_obj:array_position="29" oils_persist:virtual="false" />
647                         <field name="id" oils_obj:array_position="30" oils_persist:virtual="false" />
648                         <field name="ident_type" oils_obj:array_position="31" oils_persist:virtual="false" />
649                         <field name="ident_type2" oils_obj:array_position="32" oils_persist:virtual="false" />
650                         <field name="ident_value" oils_obj:array_position="33" oils_persist:virtual="false" />
651                         <field name="ident_value2" oils_obj:array_position="34" oils_persist:virtual="false" />
652                         <field name="last_xact_id" oils_obj:array_position="35" oils_persist:virtual="false" />
653                         <field name="mailing_address" oils_obj:array_position="36" oils_persist:virtual="false" />
654                         <field name="master_account" oils_obj:array_position="37" oils_persist:virtual="false" />
655                         <field name="net_access_level" oils_obj:array_position="38" oils_persist:virtual="false" />
656                         <field name="other_phone" oils_obj:array_position="39" oils_persist:virtual="false" />
657                         <field name="passwd" oils_obj:array_position="40" oils_persist:virtual="false" />
658                         <field name="photo_url" oils_obj:array_position="41" oils_persist:virtual="false" />
659                         <field name="prefix" oils_obj:array_position="42" oils_persist:virtual="false" />
660                         <field name="profile" oils_obj:array_position="43" oils_persist:virtual="false" />
661                         <field name="second_given_name" oils_obj:array_position="44" oils_persist:virtual="false" />
662                         <field name="standing" oils_obj:array_position="45" oils_persist:virtual="false" />
663                         <field name="suffix" oils_obj:array_position="46" oils_persist:virtual="false" />
664                         <field name="super_user" oils_obj:array_position="47" oils_persist:virtual="false" />
665                         <field name="usrgroup" oils_obj:array_position="48" oils_persist:virtual="false" />
666                         <field name="usrname" oils_obj:array_position="49" oils_persist:virtual="false" />
667                         <field name="groups" oils_obj:array_position="50" oils_persist:virtual="true" />
668                         <field name="deleted" oils_obj:array_position="51" oils_persist:virtual="false" />
669                 </fields>
670                 <links>
671                         <link field="net_access_level" reltype="has_a" key="id" map="" class="cnal"/>
672                         <link field="profile" reltype="has_a" key="id" map="" class="pgt"/>
673                         <link field="ident_type" reltype="has_a" key="id" map="" class="cit"/>
674                         <link field="billing_address" reltype="has_a" key="id" map="" class="aua"/>
675                         <link field="mailing_address" reltype="has_a" key="id" map="" class="aua"/>
676                         <link field="home_ou" reltype="has_a" key="id" map="" class="aou"/>
677                         <link field="standing" reltype="has_a" key="id" map="" class="cst"/>
678                         <link field="card" reltype="has_a" key="id" map="" class="ac"/>
679                         <link field="ident_type2" reltype="has_a" key="id" map="" class="cit"/>
680                         <link field="stat_cat_entries" reltype="has_many" key="target_usr" map="" class="actscecm"/>
681                         <link field="groups" reltype="has_many" key="usr" map="grp" class="pugm"/>
682                         <link field="usrgroup" reltype="has_many" key="usrgroup" map="" class="au"/>
683                         <link field="circulations" reltype="has_many" key="usr" map="" class="circ"/>
684                         <link field="billable_transactions" reltype="has_many" key="usr" map="" class="mbt"/>
685                         <link field="standing_penalties" reltype="has_many" key="usr" map="" class="ausp"/>
686                         <link field="addresses" reltype="has_many" key="usr" map="" class="aua"/>
687                         <link field="survey_responses" reltype="has_many" key="usr" map="" class="asvr"/>
688                         <link field="notes" reltype="has_many" key="usr" map="" class="aun"/>
689                         <link field="checkins" reltype="has_many" key="checkin_staff" map="" class="circ"/>
690                         <link field="cards" reltype="has_many" key="usr" map="" class="ac"/>
691                         <link field="performed_circulations" reltype="has_many" key="circ_staff" map="" class="circ"/>
692                 </links>
693         </class>
694         <class id="aous" oils_obj:fieldmapper="actor::org_unit_setting" oils_persist:tablename="actor.org_unit_setting">
695                 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_setting_id_seq">
696                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
697                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
698                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
699                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
700                         <field name="name" oils_obj:array_position="4" oils_persist:virtual="false" />
701                         <field name="org_unit" oils_obj:array_position="5" oils_persist:virtual="false" />
702                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
703                 </fields>
704                 <links>
705                         <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
706                 </links>
707         </class>
708         <class id="acpn" oils_obj:fieldmapper="asset::copy_note" oils_persist:tablename="asset.copy_note">
709                 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_note_id_seq">
710                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
711                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
712                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
713                         <field name="create_date" oils_obj:array_position="3" oils_persist:virtual="false" />
714                         <field name="creator" oils_obj:array_position="4" oils_persist:virtual="false" />
715                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
716                         <field name="owning_copy" oils_obj:array_position="6" oils_persist:virtual="false" />
717                         <field name="pub" oils_obj:array_position="7" oils_persist:virtual="false" />
718                         <field name="title" oils_obj:array_position="8" oils_persist:virtual="false" />
719                         <field name="value" oils_obj:array_position="9" oils_persist:virtual="false" />
720                 </fields>
721                 <links>
722                         <link field="owning_copy" reltype="has_a" key="id" map="" class="acp"/>
723                         <link field="creator" reltype="has_a" key="id" map="" class="au"/>
724                 </links>
725         </class>
726         <class id="mfr" oils_obj:fieldmapper="metabib::full_rec" oils_persist:tablename="metabib.full_rec">
727                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.full_rec_id_seq">
728                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
729                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
730                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
731                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
732                         <field name="ind1" oils_obj:array_position="4" oils_persist:virtual="false" oils_persist:primitive="string" />
733                         <field name="ind2" oils_obj:array_position="5" oils_persist:virtual="false" oils_persist:primitive="string" />
734                         <field name="record" oils_obj:array_position="6" oils_persist:virtual="false" />
735                         <field name="subfield" oils_obj:array_position="7" oils_persist:virtual="false" oils_persist:primitive="string" />
736                         <field name="tag" oils_obj:array_position="8" oils_persist:virtual="false" />
737                         <field name="value" oils_obj:array_position="9" oils_persist:virtual="false" />
738                 </fields>
739                 <links>
740                         <link field="record" reltype="has_a" key="id" map="" class="bre"/>
741                 </links>
742         </class>
743         <class id="mmr" oils_obj:fieldmapper="metabib::metarecord" oils_persist:tablename="metabib.metarecord">
744                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.metarecord_id_seq">
745                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
746                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
747                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
748                         <field name="fingerprint" oils_obj:array_position="3" oils_persist:virtual="false" />
749                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
750                         <field name="master_record" oils_obj:array_position="5" oils_persist:virtual="false" />
751                         <field name="mods" oils_obj:array_position="6" oils_persist:virtual="false" />
752                         <field name="source_records" oils_obj:array_position="7" oils_persist:virtual="true" />
753                 </fields>
754                 <links>
755                         <link field="master_record" reltype="has_a" key="id" map="" class="bre"/>
756                         <link field="source_records" reltype="has_many" key="metarecord" map="source" class="mmrsm"/>
757                 </links>
758         </class>
759         <class id="cnal" oils_obj:fieldmapper="config::net_access_level" oils_persist:tablename="config.net_access_level">
760                 <fields oils_persist:primary="id" oils_persist:sequence="config.net_access_level_id_seq">
761                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
762                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
763                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
764                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
765                         <field name="name" oils_obj:array_position="4" oils_persist:virtual="false" />
766                 </fields>
767                 <links/>
768         </class>
769         <class id="ppl" oils_obj:fieldmapper="permission::perm_list" oils_persist:tablename="permission.perm_list">
770                 <fields oils_persist:primary="id" oils_persist:sequence="permission.perm_list_id_seq">
771                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
772                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
773                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
774                         <field name="code" oils_obj:array_position="3" oils_persist:virtual="false" />
775                         <field name="description" oils_obj:array_position="4" oils_persist:virtual="false" />
776                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
777                 </fields>
778                 <links/>
779         </class>
780         <class id="mmrsm" oils_obj:fieldmapper="metabib::metarecord_source_map" oils_persist:tablename="metabib.metarecord_source_map">
781                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.metarecord_source_map_id_seq">
782                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
783                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
784                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
785                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
786                         <field name="metarecord" oils_obj:array_position="4" oils_persist:virtual="false" />
787                         <field name="source" oils_obj:array_position="5" oils_persist:virtual="false" />
788                 </fields>
789                 <links>
790                         <link field="source" reltype="has_a" key="id" map="" class="bre"/>
791                         <link field="metarecord" reltype="has_a" key="id" map="" class="mmr"/>
792                 </links>
793         </class>
794         <class id="mkfe" oils_obj:fieldmapper="metabib::keyword_field_entry" oils_persist:tablename="metabib.keyword_field_entry">
795                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.keyword_field_entry_id_seq">
796                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
797                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
798                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
799                         <field name="field" oils_obj:array_position="3" oils_persist:virtual="false" />
800                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
801                         <field name="source" oils_obj:array_position="5" oils_persist:virtual="false" />
802                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
803                 </fields>
804                 <links>
805                         <link field="source" reltype="has_a" key="id" map="" class="bre"/>
806                         <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
807                 </links>
808         </class>
809         <class id="mcp" oils_obj:fieldmapper="money::cash_payment" oils_persist:tablename="money.cash_payment">
810                 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
811                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
812                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
813                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
814                         <field name="accepting_usr" oils_obj:array_position="3" oils_persist:virtual="false" />
815                         <field name="amount" oils_obj:array_position="4" oils_persist:virtual="false" />
816                         <field name="amount_collected" oils_obj:array_position="5" oils_persist:virtual="false" />
817                         <field name="cash_drawer" oils_obj:array_position="6" oils_persist:virtual="false" />
818                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
819                         <field name="note" oils_obj:array_position="8" oils_persist:virtual="false" />
820                         <field name="payment_ts" oils_obj:array_position="9" oils_persist:virtual="false" />
821                         <field name="xact" oils_obj:array_position="10" oils_persist:virtual="false" />
822                         <field name="payment_type" oils_obj:array_position="11" oils_persist:virtual="true" />
823                         <field name="payment" oils_obj:array_position="12" oils_persist:virtual="true" />
824                 </fields>
825                 <links>
826                         <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
827                         <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
828                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
829                 </links>
830         </class>
831         <class id="mfp" oils_obj:fieldmapper="money::forgive_payment" oils_persist:tablename="money.forgive_payment">
832                 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
833                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
834                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
835                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
836                         <field name="accepting_usr" oils_obj:array_position="3" oils_persist:virtual="false" />
837                         <field name="amount" oils_obj:array_position="4" oils_persist:virtual="false" />
838                         <field name="amount_collected" oils_obj:array_position="5" oils_persist:virtual="false" />
839                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
840                         <field name="note" oils_obj:array_position="7" oils_persist:virtual="false" />
841                         <field name="payment_ts" oils_obj:array_position="8" oils_persist:virtual="false" />
842                         <field name="xact" oils_obj:array_position="9" oils_persist:virtual="false" />
843                         <field name="payment_type" oils_obj:array_position="10" oils_persist:virtual="true" />
844                         <field name="payment" oils_obj:array_position="11" oils_persist:virtual="true" />
845                 </fields>
846                 <links>
847                         <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
848                         <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
849                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
850                 </links>
851         </class>
852         <class id="mrd" oils_obj:fieldmapper="metabib::record_descriptor" oils_persist:tablename="metabib.rec_descriptor">
853                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.rec_descriptor_id_seq">
854                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
855                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
856                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
857                         <field name="audience" oils_obj:array_position="3" oils_persist:virtual="false" oils_persist:primitive="string" />
858                         <field name="bib_level" oils_obj:array_position="4" oils_persist:virtual="false" oils_persist:primitive="string" />
859                         <field name="cat_form" oils_obj:array_position="5" oils_persist:virtual="false" oils_persist:primitive="string" />
860                         <field name="char_encoding" oils_obj:array_position="6" oils_persist:virtual="false" oils_persist:primitive="string" />
861                         <field name="control_type" oils_obj:array_position="7" oils_persist:virtual="false" oils_persist:primitive="string" />
862                         <field name="enc_level" oils_obj:array_position="8" oils_persist:virtual="false" oils_persist:primitive="string" />
863                         <field name="id" oils_obj:array_position="9" oils_persist:virtual="false" />
864                         <field name="item_form" oils_obj:array_position="10" oils_persist:virtual="false" oils_persist:primitive="string" />
865                         <field name="item_lang" oils_obj:array_position="11" oils_persist:virtual="false" oils_persist:primitive="string" />
866                         <field name="item_type" oils_obj:array_position="12" oils_persist:virtual="false" oils_persist:primitive="string" />
867                         <field name="lit_form" oils_obj:array_position="13" oils_persist:virtual="false" oils_persist:primitive="string" />
868                         <field name="pub_status" oils_obj:array_position="14" oils_persist:virtual="false" oils_persist:primitive="string" />
869                         <field name="record" oils_obj:array_position="15" oils_persist:virtual="false" />
870                         <field name="type_mat" oils_obj:array_position="16" oils_persist:virtual="false" oils_persist:primitive="string" />
871                         <field name="vr_format" oils_obj:array_position="17" oils_persist:virtual="false" oils_persist:primitive="string" />
872                 </fields>
873                 <links>
874                         <link field="record" reltype="has_a" key="id" map="" class="bre"/>
875                         <link field="item_lang" reltype="has_a" key="code" map="" class="clm"/>
876                         <link field="item_type" reltype="has_a" key="code" map="" class="citm"/>
877                         <link field="item_form" reltype="has_a" key="code" map="" class="cifm"/>
878                         <link field="audience" reltype="has_a" key="code" map="" class="cam"/>
879                         <link field="lit_form" reltype="has_a" key="code" map="" class="clfm"/>
880                 </links>
881         </class>
882         <class id="ccs" oils_obj:fieldmapper="config::copy_status" oils_persist:tablename="config.copy_status">
883                 <fields oils_persist:primary="id" oils_persist:sequence="config.copy_status_id_seq">
884                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
885                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
886                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
887                         <field name="holdable" oils_obj:array_position="3" oils_persist:virtual="false" />
888                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
889                         <field name="name" oils_obj:array_position="5" oils_persist:virtual="false" />
890                 </fields>
891                 <links/>
892         </class>
893         <class id="ausp" oils_obj:fieldmapper="actor::user_standing_penalty" oils_persist:tablename="actor.usr_standing_penalty">
894                 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_standing_penalty_id_seq">
895                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
896                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
897                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
898                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
899                         <field name="penalty_type" oils_obj:array_position="4" oils_persist:virtual="false" />
900                         <field name="usr" oils_obj:array_position="5" oils_persist:virtual="false" />
901                 </fields>
902                 <links>
903                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
904                 </links>
905         </class>
906         <class id="aua" oils_obj:fieldmapper="actor::user_address" oils_persist:tablename="actor.usr_address">
907                 <fields oils_persist:primary="id" oils_persist:sequence="actor.usr_address_id_seq">
908                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
909                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
910                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
911                         <field name="address_type" oils_obj:array_position="3" oils_persist:virtual="false" />
912                         <field name="city" oils_obj:array_position="4" oils_persist:virtual="false" />
913                         <field name="country" oils_obj:array_position="5" oils_persist:virtual="false" />
914                         <field name="county" oils_obj:array_position="6" oils_persist:virtual="false" />
915                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
916                         <field name="post_code" oils_obj:array_position="8" oils_persist:virtual="false" />
917                         <field name="state" oils_obj:array_position="9" oils_persist:virtual="false" />
918                         <field name="street1" oils_obj:array_position="10" oils_persist:virtual="false" />
919                         <field name="street2" oils_obj:array_position="11" oils_persist:virtual="false" />
920                         <field name="usr" oils_obj:array_position="12" oils_persist:virtual="false" />
921                         <field name="valid" oils_obj:array_position="13" oils_persist:virtual="false" />
922                         <field name="within_city_limits" oils_obj:array_position="14" oils_persist:virtual="false" />
923                 </fields>
924                 <links>
925                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
926                 </links>
927         </class>
928         <class id="acnn" oils_obj:fieldmapper="asset::call_number_note" oils_persist:tablename="asset.call_number_note">
929                 <fields oils_persist:primary="id" oils_persist:sequence="asset.call_number_note_id_seq">
930                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
931                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
932                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
933                         <field name="call_number" oils_obj:array_position="3" oils_persist:virtual="false" />
934                         <field name="create_date" oils_obj:array_position="4" oils_persist:virtual="false" />
935                         <field name="creator" oils_obj:array_position="5" oils_persist:virtual="false" />
936                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
937                         <field name="pub" oils_obj:array_position="7" oils_persist:virtual="false" />
938                         <field name="title" oils_obj:array_position="8" oils_persist:virtual="false" />
939                         <field name="value" oils_obj:array_position="9" oils_persist:virtual="false" />
940                 </fields>
941                 <links>
942                         <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
943                 </links>
944         </class>
945         <class id="arn" oils_obj:fieldmapper="authority::record_note" oils_persist:tablename="authority.record_note">
946                 <fields oils_persist:primary="id" oils_persist:sequence="authority.record_note_id_seq">
947                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
948                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
949                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
950                         <field name="create_date" oils_obj:array_position="3" oils_persist:virtual="false" />
951                         <field name="creator" oils_obj:array_position="4" oils_persist:virtual="false" />
952                         <field name="edit_date" oils_obj:array_position="5" oils_persist:virtual="false" />
953                         <field name="editor" oils_obj:array_position="6" oils_persist:virtual="false" />
954                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
955                         <field name="record" oils_obj:array_position="8" oils_persist:virtual="false" />
956                         <field name="value" oils_obj:array_position="9" oils_persist:virtual="false" />
957                 </fields>
958                 <links>
959                         <link field="record" reltype="has_a" key="id" map="" class="are"/>
960                 </links>
961         </class>
962         <class id="circ" oils_obj:fieldmapper="action::circulation" oils_persist:tablename="action.circulation">
963                 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
964                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
965                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
966                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
967                         <field name="checkin_lib" oils_obj:array_position="3" oils_persist:virtual="false" />
968                         <field name="checkin_staff" oils_obj:array_position="4" oils_persist:virtual="false" />
969                         <field name="checkin_time" oils_obj:array_position="5" oils_persist:virtual="false" />
970                         <field name="circ_lib" oils_obj:array_position="6" oils_persist:virtual="false" />
971                         <field name="circ_staff" oils_obj:array_position="7" oils_persist:virtual="false" />
972                         <field name="desk_renewal" oils_obj:array_position="8" oils_persist:virtual="false" />
973                         <field name="due_date" oils_obj:array_position="9" oils_persist:virtual="false" />
974                         <field name="duration" oils_obj:array_position="10" oils_persist:virtual="false" />
975                         <field name="duration_rule" oils_obj:array_position="11" oils_persist:virtual="false" />
976                         <field name="fine_interval" oils_obj:array_position="12" oils_persist:virtual="false" />
977                         <field name="id" oils_obj:array_position="13" oils_persist:virtual="false" />
978                         <field name="max_fine" oils_obj:array_position="14" oils_persist:virtual="false" />
979                         <field name="max_fine_rule" oils_obj:array_position="15" oils_persist:virtual="false" />
980                         <field name="opac_renewal" oils_obj:array_position="16" oils_persist:virtual="false" />
981                         <field name="phone_renewal" oils_obj:array_position="17" oils_persist:virtual="false" />
982                         <field name="recuring_fine" oils_obj:array_position="18" oils_persist:virtual="false" />
983                         <field name="recuring_fine_rule" oils_obj:array_position="19" oils_persist:virtual="false" />
984                         <field name="renewal_remaining" oils_obj:array_position="20" oils_persist:virtual="false" />
985                         <field name="stop_fines" oils_obj:array_position="21" oils_persist:virtual="false" />
986                         <field name="stop_fines_time" oils_obj:array_position="22" oils_persist:virtual="false" />
987                         <field name="target_copy" oils_obj:array_position="23" oils_persist:virtual="false" />
988                         <field name="usr" oils_obj:array_position="24" oils_persist:virtual="false" />
989                         <field name="xact_finish" oils_obj:array_position="25" oils_persist:virtual="false" />
990                         <field name="xact_start" oils_obj:array_position="26" oils_persist:virtual="false" />
991                         <field name="billings" oils_obj:array_position="27" oils_persist:virtual="true" />
992                         <field name="payments" oils_obj:array_position="28" oils_persist:virtual="true" />
993                         <field name="billable_transaction" oils_obj:array_position="29" oils_persist:virtual="true" />
994                 </fields>
995                 <links>
996                         <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
997                         <link field="circ_staff" reltype="has_a" key="id" map="" class="au"/>
998                         <link field="checkin_lib" reltype="has_a" key="id" map="" class="aou"/>
999                         <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
1000                         <link field="checkin_staff" reltype="has_a" key="id" map="" class="au"/>
1001                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1002                         <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
1003                         <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
1004                         <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
1005                         <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
1006                         <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
1007                         <link field="recuring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
1008                 </links>
1009         </class>
1010         <class id="ccnbi" oils_obj:fieldmapper="container::call_number_bucket_item" oils_persist:tablename="container.call_number_bucket_item">
1011                 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_item_id_seq">
1012                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1013                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1014                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1015                         <field name="bucket" oils_obj:array_position="3" oils_persist:virtual="false" />
1016                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1017                         <field name="target_call_number" oils_obj:array_position="5" oils_persist:virtual="false" />
1018                 </fields>
1019                 <links>
1020                         <link field="target_call_number" reltype="has_a" key="id" map="" class="acn"/>
1021                         <link field="bucket" reltype="has_a" key="id" map="" class="ccnb"/>
1022                 </links>
1023         </class>
1024         <class id="cbreb" oils_obj:fieldmapper="container::biblio_record_entry_bucket" oils_persist:tablename="container.biblio_record_entry_bucket">
1025                 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_id_seq">
1026                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1027                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1028                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1029                         <field name="items" oils_obj:array_position="3" oils_persist:virtual="true" />
1030                         <field name="btype" oils_obj:array_position="4" oils_persist:virtual="false" />
1031                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1032                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1033                         <field name="owner" oils_obj:array_position="7" oils_persist:virtual="false" />
1034                         <field name="pub" oils_obj:array_position="8" oils_persist:virtual="false" />
1035                 </fields>
1036                 <links>
1037                         <link field="owner" reltype="has_a" key="id" map="" class="au"/>
1038                         <link field="items" reltype="has_many" key="bucket" map="" class="cbrebi"/>
1039                 </links>
1040         </class>
1041         <class id="ahcm" oils_obj:fieldmapper="action::hold_copy_map" oils_persist:tablename="action.hold_copy_map">
1042                 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_copy_map_id_seq">
1043                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1044                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1045                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1046                         <field name="hold" oils_obj:array_position="3" oils_persist:virtual="false" />
1047                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1048                         <field name="target_copy" oils_obj:array_position="5" oils_persist:virtual="false" />
1049                 </fields>
1050                 <links>
1051                         <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
1052                         <link field="target_copy" reltype="has_a" key="id" map="" class="acp"/>
1053                 </links>
1054         </class>
1055         <class id="ahn" oils_obj:fieldmapper="action::hold_notification" oils_persist:tablename="action.hold_notification">
1056                 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_notification_id_seq">
1057                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1058                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1059                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1060                         <field name="hold" oils_obj:array_position="3" oils_persist:virtual="false" />
1061                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1062                         <field name="method" oils_obj:array_position="5" oils_persist:virtual="false" />
1063                         <field name="note" oils_obj:array_position="6" oils_persist:virtual="false" />
1064                         <field name="notify_staff" oils_obj:array_position="7" oils_persist:virtual="false" />
1065                         <field name="notify_time" oils_obj:array_position="8" oils_persist:virtual="false" />
1066                 </fields>
1067                 <links>
1068                         <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
1069                         <link field="notify_staff" reltype="has_a" key="id" map="" class="au"/>
1070                 </links>
1071         </class>
1072         <class id="acpl" oils_obj:fieldmapper="asset::copy_location" oils_persist:tablename="asset.copy_location">
1073                 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_location_id_seq">
1074                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1075                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1076                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1077                         <field name="circulate" oils_obj:array_position="3" oils_persist:virtual="false" />
1078                         <field name="holdable" oils_obj:array_position="4" oils_persist:virtual="false" />
1079                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1080                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1081                         <field name="opac_visible" oils_obj:array_position="7" oils_persist:virtual="false" />
1082                         <field name="owning_lib" oils_obj:array_position="8" oils_persist:virtual="false" />
1083                 </fields>
1084                         <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
1085                 <links>
1086                 </links>
1087         </class>
1088         <class id="ascecm" oils_obj:fieldmapper="asset::stat_cat_entry_copy_map" oils_persist:tablename="asset.stat_cat_entry_copy_map">
1089                 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_entry_copy_map_id_seq">
1090                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1091                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1092                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1093                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1094                         <field name="owning_copy" oils_obj:array_position="4" oils_persist:virtual="false" />
1095                         <field name="stat_cat" oils_obj:array_position="5" oils_persist:virtual="false" />
1096                         <field name="stat_cat_entry" oils_obj:array_position="6" oils_persist:virtual="false" />
1097                 </fields>
1098                 <links>
1099                         <link field="owning_copy" reltype="has_a" key="id" map="" class="acp"/>
1100                         <link field="stat_cat_entry" reltype="has_a" key="id" map="" class="asce"/>
1101                         <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
1102                 </links>
1103         </class>
1104         <class id="citm" oils_obj:fieldmapper="config::item_type_map" oils_persist:tablename="config.item_type_map">
1105                 <fields oils_persist:primary="code" oils_persist:sequence="">
1106                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1107                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1108                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1109                         <field name="code" oils_obj:array_position="3" oils_persist:virtual="false" />
1110                         <field name="value" oils_obj:array_position="4" oils_persist:virtual="false" />
1111                 </fields>
1112                 <links/>
1113         </class>
1114         <class id="aoup" oils_obj:fieldmapper="actor::org_unit_proximity" oils_persist:tablename="actor.org_unit_proximity">
1115                 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_proximity_id_seq">
1116                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1117                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1118                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1119                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1120                         <field name="from_org" oils_obj:array_position="4" oils_persist:virtual="false" />
1121                         <field name="to_org" oils_obj:array_position="5" oils_persist:virtual="false" />
1122                         <field name="prox" oils_obj:array_position="6" oils_persist:virtual="false" />
1123                 </fields>
1124                 <links>
1125                         <link field="from_org" reltype="has_a" key="id" map="" class="aou"/>
1126                         <link field="to_org" reltype="has_a" key="id" map="" class="aou"/>
1127                 </links>
1128         </class>
1129         <class id="asv" oils_obj:fieldmapper="action::survey" oils_persist:tablename="action.survey">
1130                 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_id_seq">
1131                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1132                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1133                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1134                         <field name="questions" oils_obj:array_position="3" oils_persist:virtual="true" />
1135                         <field name="responses" oils_obj:array_position="4" oils_persist:virtual="true" />
1136                         <field name="description" oils_obj:array_position="5" oils_persist:virtual="false" />
1137                         <field name="end_date" oils_obj:array_position="6" oils_persist:virtual="false" />
1138                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
1139                         <field name="name" oils_obj:array_position="8" oils_persist:virtual="false" />
1140                         <field name="opac" oils_obj:array_position="9" oils_persist:virtual="false" />
1141                         <field name="owner" oils_obj:array_position="10" oils_persist:virtual="false" />
1142                         <field name="poll" oils_obj:array_position="11" oils_persist:virtual="false" />
1143                         <field name="required" oils_obj:array_position="12" oils_persist:virtual="false" />
1144                         <field name="start_date" oils_obj:array_position="13" oils_persist:virtual="false" />
1145                         <field name="usr_summary" oils_obj:array_position="14" oils_persist:virtual="false" />
1146                 </fields>
1147                 <links>
1148                         <link field="owner" reltype="has_a" key="survey" map="" class="aou"/>
1149                         <link field="responses" reltype="has_many" key="survey" map="" class="asvr"/>
1150                         <link field="questions" reltype="has_many" key="survey" map="" class="asvq"/>
1151                 </links>
1152         </class>
1153         <class id="aoa" oils_obj:fieldmapper="actor::org_address" oils_persist:tablename="actor.org_address">
1154                 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_address_id_seq">
1155                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1156                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1157                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1158                         <field name="address_type" oils_obj:array_position="3" oils_persist:virtual="false" />
1159                         <field name="city" oils_obj:array_position="4" oils_persist:virtual="false" />
1160                         <field name="country" oils_obj:array_position="5" oils_persist:virtual="false" />
1161                         <field name="county" oils_obj:array_position="6" oils_persist:virtual="false" />
1162                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
1163                         <field name="org_unit" oils_obj:array_position="8" oils_persist:virtual="false" />
1164                         <field name="post_code" oils_obj:array_position="9" oils_persist:virtual="false" />
1165                         <field name="state" oils_obj:array_position="10" oils_persist:virtual="false" />
1166                         <field name="street1" oils_obj:array_position="11" oils_persist:virtual="false" />
1167                         <field name="street2" oils_obj:array_position="12" oils_persist:virtual="false" />
1168                         <field name="valid" oils_obj:array_position="13" oils_persist:virtual="false" />
1169                 </fields>
1170                 <links>
1171                         <link field="org_unit" reltype="has_a" key="id" map="" class="aou"/>
1172                 </links>
1173         </class>
1174         <class id="ahr" oils_obj:fieldmapper="action::hold_request" oils_persist:tablename="action.hold_request">
1175                 <fields oils_persist:primary="id" oils_persist:sequence="action.hold_request_id_seq">
1176                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1177                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1178                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1179                         <field name="status" oils_obj:array_position="3" oils_persist:virtual="true" />
1180                         <field name="transit" oils_obj:array_position="4" oils_persist:virtual="true" />
1181                         <field name="capture_time" oils_obj:array_position="5" oils_persist:virtual="false" />
1182                         <field name="current_copy" oils_obj:array_position="6" oils_persist:virtual="false" />
1183                         <field name="email_notify" oils_obj:array_position="7" oils_persist:virtual="false" />
1184                         <field name="expire_time" oils_obj:array_position="8" oils_persist:virtual="false" />
1185                         <field name="fulfillment_lib" oils_obj:array_position="9" oils_persist:virtual="false" />
1186                         <field name="fulfillment_staff" oils_obj:array_position="10" oils_persist:virtual="false" />
1187                         <field name="fulfillment_time" oils_obj:array_position="11" oils_persist:virtual="false" />
1188                         <field name="hold_type" oils_obj:array_position="12" oils_persist:virtual="false" />
1189                         <field name="holdable_formats" oils_obj:array_position="13" oils_persist:virtual="false" />
1190                         <field name="id" oils_obj:array_position="14" oils_persist:virtual="false" />
1191                         <field name="phone_notify" oils_obj:array_position="15" oils_persist:virtual="false" />
1192                         <field name="pickup_lib" oils_obj:array_position="16" oils_persist:virtual="false" />
1193                         <field name="prev_check_time" oils_obj:array_position="17" oils_persist:virtual="false" />
1194                         <field name="request_lib" oils_obj:array_position="18" oils_persist:virtual="false" />
1195                         <field name="request_time" oils_obj:array_position="19" oils_persist:virtual="false" />
1196                         <field name="requestor" oils_obj:array_position="20" oils_persist:virtual="false" />
1197                         <field name="selection_depth" oils_obj:array_position="21" oils_persist:virtual="false" />
1198                         <field name="selection_ou" oils_obj:array_position="22" oils_persist:virtual="false" />
1199                         <field name="target" oils_obj:array_position="23" oils_persist:virtual="false" />
1200                         <field name="usr" oils_obj:array_position="24" oils_persist:virtual="false" />
1201                         <field name="cancel_time" oils_obj:array_position="25" oils_persist:virtual="false" />
1202                         <field name="notify_time" oils_obj:array_position="26" oils_persist:virtual="true" />
1203                         <field name="notify_count" oils_obj:array_position="27" oils_persist:virtual="true" />
1204                         <field name="notifications" oils_obj:array_position="28" oils_persist:virtual="true" />
1205                 </fields>
1206                 <links>
1207                         <link field="fulfillment_lib" reltype="has_a" key="id" map="" class="aou"/>
1208                         <link field="fulfillment_staff" reltype="has_a" key="id" map="" class="au"/>
1209                         <link field="pickup_lib" reltype="has_a" key="id" map="" class="aou"/>
1210                         <link field="selection_ou" reltype="has_a" key="id" map="" class="aou"/>
1211                         <link field="requestor" reltype="has_a" key="id" map="" class="au"/>
1212                         <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
1213                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1214                         <link field="request_lib" reltype="has_a" key="id" map="" class="aou"/>
1215                         <link field="transits" reltype="has_many" key="hold" map="" class="ahtc"/>
1216                         <link field="notifications" reltype="has_many" key="hold" map="" class="ahn"/>
1217                         <link field="eligible_copies" reltype="has_many" key="hold" map="target_copy" class="ahcm"/>
1218                 </links>
1219         </class>
1220         <class id="aou" oils_obj:fieldmapper="actor::org_unit" oils_persist:tablename="actor.org_unit">
1221                 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_id_seq">
1222                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1223                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1224                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1225                         <field name="children" oils_obj:array_position="3" oils_persist:virtual="true" />
1226                         <field name="billing_address" oils_obj:array_position="4" oils_persist:virtual="false" />
1227                         <field name="holds_address" oils_obj:array_position="5" oils_persist:virtual="false" />
1228                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
1229                         <field name="ill_address" oils_obj:array_position="7" oils_persist:virtual="false" />
1230                         <field name="mailing_address" oils_obj:array_position="8" oils_persist:virtual="false" />
1231                         <field name="name" oils_obj:array_position="9" oils_persist:virtual="false" />
1232                         <field name="ou_type" oils_obj:array_position="10" oils_persist:virtual="false" />
1233                         <field name="parent_ou" oils_obj:array_position="11" oils_persist:virtual="false" />
1234                         <field name="shortname" oils_obj:array_position="12" oils_persist:virtual="false" />
1235                         <field name="email" oils_obj:array_position="13" oils_persist:virtual="false" />
1236                         <field name="phone" oils_obj:array_position="14" oils_persist:virtual="false" />
1237                 </fields>
1238                 <links>
1239                         <link field="billing_address" reltype="has_a" key="id" map="" class="aoa"/>
1240                         <link field="holds_address" reltype="has_a" key="id" map="" class="aoa"/>
1241                         <link field="ou_type" reltype="has_a" key="id" map="" class="aout"/>
1242                         <link field="mailing_address" reltype="has_a" key="id" map="" class="aoa"/>
1243                         <link field="parent_ou" reltype="has_a" key="id" map="" class="aou"/>
1244                         <link field="ill_address" reltype="has_a" key="id" map="" class="aoa"/>
1245                         <link field="users" reltype="has_many" key="home_ou" map="" class="au"/>
1246                         <link field="closed_dates" reltype="has_many" key="org_unit" map="" class="aoucd"/>
1247                         <link field="children" reltype="has_many" key="parent_ou" map="" class="aou"/>
1248                         <link field="circulations" reltype="has_many" key="circ_lib" map="" class="circ"/>
1249                         <link field="settings" reltype="has_many" key="org_unit" map="" class="aous"/>
1250                         <link field="addresses" reltype="has_many" key="org_unit" map="" class="aoa"/>
1251                         <link field="checkins" reltype="has_many" key="checkin_lib" map="" class="circ"/>
1252                         <link field="workstations" reltype="has_many" key="owning_lib" map="" class="aws"/>
1253                 </links>
1254         </class>
1255         <class id="ccnb" oils_obj:fieldmapper="container::call_number_bucket" oils_persist:tablename="container.call_number_bucket">
1256                 <fields oils_persist:primary="id" oils_persist:sequence="container.call_number_bucket_id_seq">
1257                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1258                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1259                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1260                         <field name="items" oils_obj:array_position="3" oils_persist:virtual="true" />
1261                         <field name="btype" oils_obj:array_position="4" oils_persist:virtual="false" />
1262                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1263                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1264                         <field name="owner" oils_obj:array_position="7" oils_persist:virtual="false" />
1265                         <field name="pub" oils_obj:array_position="8" oils_persist:virtual="false" />
1266                 </fields>
1267                 <links>
1268                         <link field="owner" reltype="has_a" key="id" map="" class="au"/>
1269                         <link field="items" reltype="has_many" key="bucket" map="" class="ccnbi"/>
1270                 </links>
1271         </class>
1272         <class id="asc" oils_obj:fieldmapper="asset::stat_cat" oils_persist:tablename="asset.stat_cat">
1273                 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_id_seq">
1274                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1275                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1276                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1277                         <field name="entries" oils_obj:array_position="3" oils_persist:virtual="true" />
1278                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1279                         <field name="name" oils_obj:array_position="5" oils_persist:virtual="false" />
1280                         <field name="opac_visible" oils_obj:array_position="6" oils_persist:virtual="false" />
1281                         <field name="owner" oils_obj:array_position="7" oils_persist:virtual="false" />
1282                 </fields>
1283                 <links>
1284                         <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
1285                         <link field="entries" reltype="has_many" key="stat_cat" map="" class="asce"/>
1286                 </links>
1287         </class>
1288         <class id="ac" oils_obj:fieldmapper="actor::card" oils_persist:tablename="actor.card">
1289                 <fields oils_persist:primary="id" oils_persist:sequence="actor.card_id_seq">
1290                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1291                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1292                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1293                         <field name="active" oils_obj:array_position="3" oils_persist:virtual="false" />
1294                         <field name="barcode" oils_obj:array_position="4" oils_persist:virtual="false" />
1295                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1296                         <field name="usr" oils_obj:array_position="6" oils_persist:virtual="false" />
1297                 </fields>
1298                 <links>
1299                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1300                 </links>
1301         </class>
1302         <class id="actsc" oils_obj:fieldmapper="actor::stat_cat" oils_persist:tablename="actor.stat_cat">
1303                 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_id_seq">
1304                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1305                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1306                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1307                         <field name="entries" oils_obj:array_position="3" oils_persist:virtual="true" />
1308                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1309                         <field name="name" oils_obj:array_position="5" oils_persist:virtual="false" />
1310                         <field name="opac_visible" oils_obj:array_position="6" oils_persist:virtual="false" />
1311                         <field name="owner" oils_obj:array_position="7" oils_persist:virtual="false" />
1312                 </fields>
1313                 <links>
1314                         <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
1315                         <link field="entries" reltype="has_many" key="stat_cat" map="" class="actsce"/>
1316                 </links>
1317         </class>
1318         <class id="msefe" oils_obj:fieldmapper="metabib::series_field_entry" oils_persist:tablename="metabib.series_field_entry">
1319                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.series_field_entry_id_seq">
1320                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1321                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1322                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1323                         <field name="field" oils_obj:array_position="3" oils_persist:virtual="false" />
1324                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1325                         <field name="source" oils_obj:array_position="5" oils_persist:virtual="false" />
1326                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
1327                 </fields>
1328                 <links>
1329                         <link field="source" reltype="has_a" key="id" map="" class="bre"/>
1330                         <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
1331                 </links>
1332         </class>
1333         <class id="cub" oils_obj:fieldmapper="container::user_bucket" oils_persist:tablename="container.user_bucket">
1334                 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_id_seq">
1335                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1336                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1337                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1338                         <field name="items" oils_obj:array_position="3" oils_persist:virtual="true" />
1339                         <field name="btype" oils_obj:array_position="4" oils_persist:virtual="false" />
1340                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1341                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1342                         <field name="owner" oils_obj:array_position="7" oils_persist:virtual="false" />
1343                         <field name="pub" oils_obj:array_position="8" oils_persist:virtual="false" />
1344                 </fields>
1345                 <links>
1346                         <link field="owner" reltype="has_a" key="id" map="" class="au"/>
1347                         <link field="items" reltype="has_many" key="bucket" map="" class="cubi"/>
1348                 </links>
1349         </class>
1350         <class id="mcrp" oils_obj:fieldmapper="money::credit_payment" oils_persist:tablename="money.credit_payment">
1351                 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
1352                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1353                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1354                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1355                         <field name="accepting_usr" oils_obj:array_position="3" oils_persist:virtual="false" />
1356                         <field name="amount" oils_obj:array_position="4" oils_persist:virtual="false" />
1357                         <field name="amount_collected" oils_obj:array_position="5" oils_persist:virtual="false" />
1358                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
1359                         <field name="note" oils_obj:array_position="7" oils_persist:virtual="false" />
1360                         <field name="payment_ts" oils_obj:array_position="8" oils_persist:virtual="false" />
1361                         <field name="xact" oils_obj:array_position="9" oils_persist:virtual="false" />
1362                         <field name="payment_type" oils_obj:array_position="10" oils_persist:virtual="true" />
1363                         <field name="payment" oils_obj:array_position="11" oils_persist:virtual="true" />
1364                 </fields>
1365                 <links>
1366                         <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
1367                         <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
1368                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
1369                 </links>
1370         </class>
1371         <class id="afr" oils_obj:fieldmapper="authority::full_rec" oils_persist:tablename="authority.full_rec">
1372                 <fields oils_persist:primary="id" oils_persist:sequence="authority.full_rec_id_seq">
1373                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1374                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1375                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1376                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1377                         <field name="ind1" oils_obj:array_position="4" oils_persist:virtual="false" />
1378                         <field name="ind2" oils_obj:array_position="5" oils_persist:virtual="false" />
1379                         <field name="record" oils_obj:array_position="6" oils_persist:virtual="false" />
1380                         <field name="subfield" oils_obj:array_position="7" oils_persist:virtual="false" />
1381                         <field name="tag" oils_obj:array_position="8" oils_persist:virtual="false" />
1382                         <field name="value" oils_obj:array_position="9" oils_persist:virtual="false" />
1383                 </fields>
1384                 <links>
1385                         <link field="record" reltype="has_a" key="id" map="" class="are"/>
1386                 </links>
1387         </class>
1388         <class id="cnct" oils_obj:fieldmapper="config::non_cataloged_type" oils_persist:tablename="config.non_cataloged_type">
1389                 <fields oils_persist:primary="id" oils_persist:sequence="config.non_cataloged_type_id_seq">
1390                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1391                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1392                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1393                         <field name="circ_duration" oils_obj:array_position="3" oils_persist:virtual="false" />
1394                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1395                         <field name="in_house" oils_obj:array_position="5" oils_persist:virtual="false" />
1396                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1397                         <field name="owning_lib" oils_obj:array_position="7" oils_persist:virtual="false" />
1398                 </fields>
1399                 <links>
1400                         <link field="owning_lib" reltype="has_a" key="id" map="" class="aou"/>
1401                 </links>
1402         </class>
1403         <class id="aout" oils_obj:fieldmapper="actor::org_unit_type" oils_persist:tablename="actor.org_unit_type">
1404                 <fields oils_persist:primary="id" oils_persist:sequence="actor.org_unit_type_id_seq">
1405                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1406                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1407                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1408                         <field name="children" oils_obj:array_position="3" oils_persist:virtual="true" />
1409                         <field name="can_have_users" oils_obj:array_position="4" oils_persist:virtual="false" />
1410                         <field name="can_have_vols" oils_obj:array_position="5" oils_persist:virtual="false" />
1411                         <field name="depth" oils_obj:array_position="6" oils_persist:virtual="false" />
1412                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
1413                         <field name="name" oils_obj:array_position="8" oils_persist:virtual="false" />
1414                         <field name="opac_label" oils_obj:array_position="9" oils_persist:virtual="false" />
1415                         <field name="parent" oils_obj:array_position="10" oils_persist:virtual="false" />
1416                         <field name="org_units" oils_obj:array_position="11" oils_persist:virtual="true" />
1417                 </fields>
1418                 <links>
1419                         <link field="parent" reltype="has_a" key="id" map="" class="aout"/>
1420                         <link field="children" reltype="has_many" key="parent" map="" class="aout"/>
1421                         <link field="org_units" reltype="has_many" key="ou_type" map="" class="aou"/>
1422                 </links>
1423         </class>
1424         <class id="bren" oils_obj:fieldmapper="biblio::record_note" oils_persist:tablename="biblio.record_note">
1425                 <fields oils_persist:primary="id" oils_persist:sequence="biblio.record_note_id_seq">
1426                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1427                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1428                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1429                         <field name="create_date" oils_obj:array_position="3" oils_persist:virtual="false" />
1430                         <field name="creator" oils_obj:array_position="4" oils_persist:virtual="false" />
1431                         <field name="edit_date" oils_obj:array_position="5" oils_persist:virtual="false" />
1432                         <field name="editor" oils_obj:array_position="6" oils_persist:virtual="false" />
1433                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
1434                         <field name="pub" oils_obj:array_position="8" oils_persist:virtual="false" />
1435                         <field name="record" oils_obj:array_position="9" oils_persist:virtual="false" />
1436                         <field name="value" oils_obj:array_position="10" oils_persist:virtual="false" />
1437                 </fields>
1438                 <links>
1439                         <link field="creator" reltype="has_a" key="id" map="" class="au"/>
1440                         <link field="editor" reltype="has_a" key="id" map="" class="au"/>
1441                         <link field="record" reltype="has_a" key="id" map="" class="bre"/>
1442                 </links>
1443         </class>
1444         <class id="mucs" oils_obj:fieldmapper="money::user_circulation_summary" oils_persist:tablename="money.usr_circulation_summary">
1445                 <fields oils_persist:primary="usr" oils_persist:sequence="">
1446                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1447                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1448                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1449                         <field name="balance_owed" oils_obj:array_position="3" oils_persist:virtual="false" />
1450                         <field name="total_owed" oils_obj:array_position="4" oils_persist:virtual="false" />
1451                         <field name="total_paid" oils_obj:array_position="5" oils_persist:virtual="false" />
1452                         <field name="usr" oils_obj:array_position="6" oils_persist:virtual="false" />
1453                 </fields>
1454                 <links>
1455                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1456                 </links>
1457         </class>
1458         <class id="mg" oils_obj:fieldmapper="money::grocery" oils_persist:tablename="money.grocery">
1459                 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
1460                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1461                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1462                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1463                         <field name="billing_location" oils_obj:array_position="3" oils_persist:virtual="false" />
1464                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1465                         <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" />
1466                         <field name="usr" oils_obj:array_position="6" oils_persist:virtual="false" />
1467                         <field name="xact_finish" oils_obj:array_position="7" oils_persist:virtual="false" />
1468                         <field name="xact_start" oils_obj:array_position="8" oils_persist:virtual="false" />
1469                         <field name="billings" oils_obj:array_position="9" oils_persist:virtual="true" />
1470                         <field name="payments" oils_obj:array_position="10" oils_persist:virtual="true" />
1471                         <field name="billable_transaction" oils_obj:array_position="11" oils_persist:virtual="true" />
1472                 </fields>
1473                 <links>
1474                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1475                         <link field="billable_transaction" reltype="might_have" key="id" map="" class="mbt"/>
1476                         <link field="payments" reltype="has_many" key="xact" map="" class="mp"/>
1477                         <link field="billings" reltype="has_many" key="xact" map="" class="mb"/>
1478                         <link field="billing_location" reltype="has_a" key="id" map="" class="aou"/>
1479                 </links>
1480         </class>
1481         <class id="cbs" oils_obj:fieldmapper="config::bib_source" oils_persist:tablename="config.bib_source">
1482                 <fields oils_persist:primary="id" oils_persist:sequence="config.bib_source_id_seq">
1483                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1484                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1485                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1486                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1487                         <field name="quality" oils_obj:array_position="4" oils_persist:virtual="false" />
1488                         <field name="source" oils_obj:array_position="5" oils_persist:virtual="false" />
1489                         <field name="transcendant" oils_obj:array_position="6" oils_persist:virtual="false" />
1490                 </fields>
1491                 <links/>
1492         </class>
1493         <class id="mbt" oils_obj:fieldmapper="money::billable_transaction" oils_persist:tablename="money.billable_xact">
1494                 <fields oils_persist:primary="id" oils_persist:sequence="money.billable_xact_id_seq">
1495                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1496                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1497                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1498                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1499                         <field name="usr" oils_obj:array_position="4" oils_persist:virtual="false" />
1500                         <field name="xact_finish" oils_obj:array_position="5" oils_persist:virtual="false" />
1501                         <field name="xact_start" oils_obj:array_position="6" oils_persist:virtual="false" />
1502                         <field name="grocery" oils_obj:array_position="7" oils_persist:virtual="true" />
1503                         <field name="circulation" oils_obj:array_position="8" oils_persist:virtual="true" />
1504                 </fields>
1505                 <links>
1506                         <link field="grocery" reltype="might_have" key="id" map="" class="mg"/>
1507                         <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
1508                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1509                         <link field="payments" reltype="has_many" key="billable_transaction" map="" class="mp"/>
1510                         <link field="billings" reltype="has_many" key="billable_transaction" map="" class="mb"/>
1511                 </links>
1512         </class>
1513         <class id="actsce" oils_obj:fieldmapper="actor::stat_cat_entry" oils_persist:tablename="actor.stat_cat_entry">
1514                 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_id_seq">
1515                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1516                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1517                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1518                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1519                         <field name="owner" oils_obj:array_position="4" oils_persist:virtual="false" />
1520                         <field name="stat_cat" oils_obj:array_position="5" oils_persist:virtual="false" />
1521                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
1522                 </fields>
1523                 <links>
1524                         <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
1525                         <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
1526                 </links>
1527         </class>
1528         <class id="cubi" oils_obj:fieldmapper="container::user_bucket_item" oils_persist:tablename="container.user_bucket_item">
1529                 <fields oils_persist:primary="id" oils_persist:sequence="container.user_bucket_item_id_seq">
1530                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1531                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1532                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1533                         <field name="bucket" oils_obj:array_position="3" oils_persist:virtual="false" />
1534                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1535                         <field name="target_user" oils_obj:array_position="5" oils_persist:virtual="false" />
1536                 </fields>
1537                 <links>
1538                         <link field="target_user" reltype="has_a" key="id" map="" class="au"/>
1539                         <link field="bucket" reltype="has_a" key="id" map="" class="cub"/>
1540                 </links>
1541         </class>
1542         <class id="mus" oils_obj:fieldmapper="money::user_summary" oils_persist:tablename="money.usr_summary">
1543                 <fields oils_persist:primary="usr" oils_persist:sequence="">
1544                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1545                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1546                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1547                         <field name="balance_owed" oils_obj:array_position="3" oils_persist:virtual="false" />
1548                         <field name="total_owed" oils_obj:array_position="4" oils_persist:virtual="false" />
1549                         <field name="total_paid" oils_obj:array_position="5" oils_persist:virtual="false" />
1550                         <field name="usr" oils_obj:array_position="6" oils_persist:virtual="false" />
1551                 </fields>
1552                 <links>
1553                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1554                 </links>
1555         </class>
1556         <class id="clfm" oils_obj:fieldmapper="config::lit_form_map" oils_persist:tablename="config.lit_form_map">
1557                 <fields oils_persist:primary="code" oils_persist:sequence="">
1558                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1559                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1560                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1561                         <field name="code" oils_obj:array_position="3" oils_persist:virtual="false" />
1562                         <field name="description" oils_obj:array_position="4" oils_persist:virtual="false" />
1563                         <field name="value" oils_obj:array_position="5" oils_persist:virtual="false" />
1564                 </fields>
1565                 <links/>
1566         </class>
1567         <class id="mwp" oils_obj:fieldmapper="money::work_payment" oils_persist:tablename="money.work_payment">
1568                 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
1569                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1570                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1571                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1572                         <field name="accepting_usr" oils_obj:array_position="3" oils_persist:virtual="false" />
1573                         <field name="amount" oils_obj:array_position="4" oils_persist:virtual="false" />
1574                         <field name="amount_collected" oils_obj:array_position="5" oils_persist:virtual="false" />
1575                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
1576                         <field name="note" oils_obj:array_position="7" oils_persist:virtual="false" />
1577                         <field name="payment_ts" oils_obj:array_position="8" oils_persist:virtual="false" />
1578                         <field name="xact" oils_obj:array_position="9" oils_persist:virtual="false" />
1579                         <field name="payment" oils_obj:array_position="10" oils_persist:virtual="true" />
1580                         <field name="payment_type" oils_obj:array_position="11" oils_persist:virtual="true" />
1581                 </fields>
1582                 <links>
1583                         <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
1584                         <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
1585                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
1586                 </links>
1587         </class>
1588         <class id="aoc" oils_obj:fieldmapper="action::open_circulation" oils_persist:tablename="action.open_circulation">
1589                 <fields oils_persist:primary="id" oils_persist:sequence="">
1590                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1591                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1592                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1593                         <field name="checkin_lib" oils_obj:array_position="3" oils_persist:virtual="false" />
1594                         <field name="checkin_staff" oils_obj:array_position="4" oils_persist:virtual="false" />
1595                         <field name="checkin_time" oils_obj:array_position="5" oils_persist:virtual="false" />
1596                         <field name="circ_lib" oils_obj:array_position="6" oils_persist:virtual="false" />
1597                         <field name="circ_staff" oils_obj:array_position="7" oils_persist:virtual="false" />
1598                         <field name="desk_renewal" oils_obj:array_position="8" oils_persist:virtual="false" />
1599                         <field name="due_date" oils_obj:array_position="9" oils_persist:virtual="false" />
1600                         <field name="duration" oils_obj:array_position="10" oils_persist:virtual="false" />
1601                         <field name="duration_rule" oils_obj:array_position="11" oils_persist:virtual="false" />
1602                         <field name="fine_interval" oils_obj:array_position="12" oils_persist:virtual="false" />
1603                         <field name="id" oils_obj:array_position="13" oils_persist:virtual="false" />
1604                         <field name="max_fine" oils_obj:array_position="14" oils_persist:virtual="false" />
1605                         <field name="max_fine_rule" oils_obj:array_position="15" oils_persist:virtual="false" />
1606                         <field name="opac_renewal" oils_obj:array_position="16" oils_persist:virtual="false" />
1607                         <field name="phone_renewal" oils_obj:array_position="17" oils_persist:virtual="false" />
1608                         <field name="recuring_fine" oils_obj:array_position="18" oils_persist:virtual="false" />
1609                         <field name="recuring_fine_rule" oils_obj:array_position="19" oils_persist:virtual="false" />
1610                         <field name="renewal_remaining" oils_obj:array_position="20" oils_persist:virtual="false" />
1611                         <field name="stop_fines" oils_obj:array_position="21" oils_persist:virtual="false" />
1612                         <field name="stop_fines_time" oils_obj:array_position="22" oils_persist:virtual="false" />
1613                         <field name="target_copy" oils_obj:array_position="23" oils_persist:virtual="false" />
1614                         <field name="usr" oils_obj:array_position="24" oils_persist:virtual="false" />
1615                         <field name="xact_finish" oils_obj:array_position="25" oils_persist:virtual="false" />
1616                         <field name="xact_start" oils_obj:array_position="26" oils_persist:virtual="false" />
1617                         <field name="circulation" oils_obj:array_position="27" oils_persist:virtual="true" />
1618                 </fields>
1619                 <links>
1620                         <link field="circulation" reltype="might_have" key="id" map="" class="circ"/>
1621                         <link field="duration_rule" reltype="has_a" key="name" map="" class="crcd"/>
1622                         <link field="max_fine_rule" reltype="has_a" key="name" map="" class="crmf"/>
1623                         <link field="recuring_fine_rule" reltype="has_a" key="name" map="" class="crrf"/>
1624                 </links>
1625         </class>
1626         <class id="msfe" oils_obj:fieldmapper="metabib::subject_field_entry" oils_persist:tablename="metabib.subject_field_entry">
1627                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.subject_field_entry_id_seq">
1628                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1629                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1630                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1631                         <field name="field" oils_obj:array_position="3" oils_persist:virtual="false" />
1632                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1633                         <field name="source" oils_obj:array_position="5" oils_persist:virtual="false" />
1634                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
1635                 </fields>
1636                 <links>
1637                         <link field="source" reltype="has_a" key="id" map="" class="bre"/>
1638                         <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
1639                 </links>
1640         </class>
1641         <class id="crrf" oils_obj:fieldmapper="config::rules::recuring_fine" oils_persist:tablename="config.rule_recuring_fine">
1642                 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_recuring_fine_id_seq">
1643                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1644                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1645                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1646                         <field name="high" oils_obj:array_position="3" oils_persist:virtual="false" />
1647                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1648                         <field name="low" oils_obj:array_position="5" oils_persist:virtual="false" />
1649                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1650                         <field name="normal" oils_obj:array_position="7" oils_persist:virtual="false" />
1651                         <field name="recurance_interval" oils_obj:array_position="8" oils_persist:virtual="false" />
1652                 </fields>
1653                 <links/>
1654         </class>
1655         <class id="mckp" oils_obj:fieldmapper="money::check_payment" oils_persist:tablename="money.check_payment">
1656                 <fields oils_persist:primary="id" oils_persist:sequence="money.payment_id_seq">
1657                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1658                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1659                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1660                         <field name="accepting_usr" oils_obj:array_position="3" oils_persist:virtual="false" />
1661                         <field name="amount" oils_obj:array_position="4" oils_persist:virtual="false" />
1662                         <field name="amount_collected" oils_obj:array_position="5" oils_persist:virtual="false" />
1663                         <field name="cash_drawer" oils_obj:array_position="6" oils_persist:virtual="false" />
1664                         <field name="check_number" oils_obj:array_position="7" oils_persist:virtual="false" />
1665                         <field name="id" oils_obj:array_position="8" oils_persist:virtual="false" />
1666                         <field name="note" oils_obj:array_position="9" oils_persist:virtual="false" />
1667                         <field name="payment_ts" oils_obj:array_position="10" oils_persist:virtual="false" />
1668                         <field name="xact" oils_obj:array_position="11" oils_persist:virtual="false" />
1669                         <field name="payment" oils_obj:array_position="12" oils_persist:virtual="true" />
1670                         <field name="payment_type" oils_obj:array_position="13" oils_persist:virtual="true" />
1671                 </fields>
1672                 <links>
1673                         <link field="payment" reltype="might_have" key="id" map="" class="mp"/>
1674                         <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
1675                         <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
1676                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
1677                 </links>
1678         </class>
1679         <class id="acp" oils_obj:fieldmapper="asset::copy" oils_persist:tablename="asset.copy">
1680                 <fields oils_persist:primary="id" oils_persist:sequence="asset.copy_id_seq">
1681                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1682                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1683                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1684                         <field name="stat_cat_entries" oils_obj:array_position="3" oils_persist:virtual="true" />
1685                         <field name="age_protect" oils_obj:array_position="4" oils_persist:virtual="false" />
1686                         <field name="alert_message" oils_obj:array_position="5" oils_persist:virtual="false" />
1687                         <field name="barcode" oils_obj:array_position="6" oils_persist:virtual="false" />
1688                         <field name="call_number" oils_obj:array_position="7" oils_persist:virtual="false" />
1689                         <field name="circ_as_type" oils_obj:array_position="8" oils_persist:virtual="false" />
1690                         <field name="circ_lib" oils_obj:array_position="9" oils_persist:virtual="false" />
1691                         <field name="circ_modifier" oils_obj:array_position="10" oils_persist:virtual="false" />
1692                         <field name="circulate" oils_obj:array_position="11" oils_persist:virtual="false" />
1693                         <field name="copy_number" oils_obj:array_position="12" oils_persist:virtual="false" />
1694                         <field name="create_date" oils_obj:array_position="13" oils_persist:virtual="false" />
1695                         <field name="creator" oils_obj:array_position="14" oils_persist:virtual="false" />
1696                         <field name="deleted" oils_obj:array_position="15" oils_persist:virtual="false" />
1697                         <field name="deposit" oils_obj:array_position="16" oils_persist:virtual="false" />
1698                         <field name="deposit_amount" oils_obj:array_position="17" oils_persist:virtual="false" />
1699                         <field name="dummy_author" oils_obj:array_position="18" oils_persist:virtual="false" />
1700                         <field name="dummy_title" oils_obj:array_position="19" oils_persist:virtual="false" />
1701                         <field name="edit_date" oils_obj:array_position="20" oils_persist:virtual="false" />
1702                         <field name="editor" oils_obj:array_position="21" oils_persist:virtual="false" />
1703                         <field name="fine_level" oils_obj:array_position="22" oils_persist:virtual="false" />
1704                         <field name="holdable" oils_obj:array_position="23" oils_persist:virtual="false" />
1705                         <field name="id" oils_obj:array_position="24" oils_persist:virtual="false" />
1706                         <field name="loan_duration" oils_obj:array_position="25" oils_persist:virtual="false" />
1707                         <field name="location" oils_obj:array_position="26" oils_persist:virtual="false" />
1708                         <field name="opac_visible" oils_obj:array_position="27" oils_persist:virtual="false" />
1709                         <field name="price" oils_obj:array_position="28" oils_persist:virtual="false" />
1710                         <field name="ref" oils_obj:array_position="29" oils_persist:virtual="false" />
1711                         <field name="status" oils_obj:array_position="30" oils_persist:virtual="false" />
1712                         <field name="notes" oils_obj:array_position="31" oils_persist:virtual="true" />
1713                         <field name="stat_cat_entry_copy_maps" oils_obj:array_position="32" oils_persist:virtual="true" />
1714                         <field name="circulations" oils_obj:array_position="33" oils_persist:virtual="true" />
1715                 </fields>
1716                 <links>
1717                         <link field="age_protect" reltype="has_a" key="id" map="" class="crahp"/>
1718                         <link field="call_number" reltype="has_a" key="id" map="" class="acn"/>
1719                         <link field="location" reltype="has_a" key="id" map="" class="acpl"/>
1720                         <link field="editor" reltype="has_a" key="id" map="" class="au"/>
1721                         <link field="creator" reltype="has_a" key="id" map="" class="au"/>
1722                         <link field="status" reltype="has_a" key="id" map="" class="ccs"/>
1723                         <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
1724                         <link field="holds" reltype="has_many" key="target_copy" map="hold" class="ahcm"/>
1725                         <link field="stat_cat_entry_copy_maps" reltype="has_many" key="owning_copy" map="" class="ascecm"/>
1726                         <link field="notes" reltype="has_many" key="owning_copy" map="" class="acpn"/>
1727                         <link field="stat_cat_entries" reltype="has_many" key="owning_copy" map="stat_cat_entry" class="ascecm"/>
1728                         <link field="circulations" reltype="has_many" key="target_copy" map="" class="circ"/>
1729                 </links>
1730         </class>
1731         <class id="crahp" oils_obj:fieldmapper="config::rules::age_hold_protect" oils_persist:tablename="config.rule_age_hold_protect">
1732                 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_age_hold_protect_id_seq">
1733                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1734                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1735                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1736                         <field name="age" oils_obj:array_position="3" oils_persist:virtual="false" />
1737                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1738                         <field name="name" oils_obj:array_position="5" oils_persist:virtual="false" />
1739                         <field name="prox" oils_obj:array_position="6" oils_persist:virtual="false" />
1740                 </fields>
1741                 <links/>
1742         </class>
1743         <class id="crmf" oils_obj:fieldmapper="config::rules::max_fine" oils_persist:tablename="config.rule_max_fine">
1744                 <fields oils_persist:primary="id" oils_persist:sequence="config.rule_max_fine_id_seq">
1745                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1746                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1747                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1748                         <field name="amount" oils_obj:array_position="3" oils_persist:virtual="false" />
1749                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1750                         <field name="name" oils_obj:array_position="5" oils_persist:virtual="false" />
1751                 </fields>
1752                 <links/>
1753         </class>
1754         <class id="pgt" oils_obj:fieldmapper="permission::grp_tree" oils_persist:tablename="permission.grp_tree">
1755                 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_tree_id_seq">
1756                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1757                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1758                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1759                         <field name="children" oils_obj:array_position="3" oils_persist:virtual="true" />
1760                         <field name="description" oils_obj:array_position="4" oils_persist:virtual="false" />
1761                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1762                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1763                         <field name="parent" oils_obj:array_position="7" oils_persist:virtual="false" />
1764                         <field name="perm_interval" oils_obj:array_position="8" oils_persist:virtual="false" />
1765                         <field name="application_perm" oils_obj:array_position="9" oils_persist:virtual="false" />
1766                         <field name="usergroup" oils_obj:array_position="10" oils_persist:virtual="false" />
1767                 </fields>
1768                 <links>
1769                         <link field="parent" reltype="has_a" key="id" map="" class="pgt"/>
1770                         <link field="children" reltype="has_many" key="parent" map="" class="pgt"/>
1771                 </links>
1772         </class>
1773         <class id="asva" oils_obj:fieldmapper="action::survey_answer" oils_persist:tablename="action.survey_answer">
1774                 <fields oils_persist:primary="id" oils_persist:sequence="action.survey_answer_id_seq">
1775                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1776                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1777                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1778                         <field name="responses" oils_obj:array_position="3" oils_persist:virtual="true" />
1779                         <field name="answer" oils_obj:array_position="4" oils_persist:virtual="false" />
1780                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1781                         <field name="question" oils_obj:array_position="6" oils_persist:virtual="false" />
1782                 </fields>
1783                 <links>
1784                         <link field="question" reltype="has_a" key="id" map="" class="asvq"/>
1785                         <link field="responses" reltype="has_many" key="answer" map="" class="asvr"/>
1786                 </links>
1787         </class>
1788         <class id="ancc" oils_obj:fieldmapper="action::non_cataloged_circulation" oils_persist:tablename="action.non_cataloged_circulation">
1789                 <fields oils_persist:primary="id" oils_persist:sequence="action.non_cataloged_circulation_id_seq">
1790                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1791                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1792                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1793                         <field name="circ_lib" oils_obj:array_position="3" oils_persist:virtual="false" />
1794                         <field name="circ_time" oils_obj:array_position="4" oils_persist:virtual="false" />
1795                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1796                         <field name="item_type" oils_obj:array_position="6" oils_persist:virtual="false" />
1797                         <field name="patron" oils_obj:array_position="7" oils_persist:virtual="false" />
1798                         <field name="staff" oils_obj:array_position="8" oils_persist:virtual="false" />
1799                 </fields>
1800                 <links>
1801                         <link field="item_type" reltype="has_a" key="id" map="" class="cnct"/>
1802                         <link field="staff" reltype="has_a" key="id" map="" class="au"/>
1803                         <link field="patron" reltype="has_a" key="id" map="" class="au"/>
1804                         <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
1805                 </links>
1806         </class>
1807         <class id="moucs" oils_obj:fieldmapper="money::open_user_circulation_summary" oils_persist:tablename="money.open_usr_circulation_summary">
1808                 <fields oils_persist:primary="usr" oils_persist:sequence="">
1809                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1810                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1811                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1812                         <field name="balance_owed" oils_obj:array_position="3" oils_persist:virtual="false" />
1813                         <field name="total_owed" oils_obj:array_position="4" oils_persist:virtual="false" />
1814                         <field name="total_paid" oils_obj:array_position="5" oils_persist:virtual="false" />
1815                         <field name="usr" oils_obj:array_position="6" oils_persist:virtual="false" />
1816                 </fields>
1817                 <links>
1818                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1819                 </links>
1820         </class>
1821         <class id="aufh" oils_obj:fieldmapper="action::unfulfilled_hold_list" oils_persist:tablename="action.unfulfilled_hold_list">
1822                 <fields oils_persist:primary="id" oils_persist:sequence="action.unfulfilled_hold_list_id_seq">
1823                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1824                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1825                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1826                         <field name="circ_lib" oils_obj:array_position="3" oils_persist:virtual="false" />
1827                         <field name="current_copy" oils_obj:array_position="4" oils_persist:virtual="false" />
1828                         <field name="fail_time" oils_obj:array_position="5" oils_persist:virtual="false" />
1829                         <field name="hold" oils_obj:array_position="6" oils_persist:virtual="false" />
1830                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
1831                 </fields>
1832                 <links>
1833                         <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
1834                         <link field="current_copy" reltype="has_a" key="id" map="" class="acp"/>
1835                         <link field="circ_lib" reltype="has_a" key="id" map="" class="aou"/>
1836                 </links>
1837         </class>
1838         <class id="mtfe" oils_obj:fieldmapper="metabib::title_field_entry" oils_persist:tablename="metabib.title_field_entry">
1839                 <fields oils_persist:primary="id" oils_persist:sequence="metabib.title_field_entry_id_seq">
1840                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1841                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1842                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1843                         <field name="field" oils_obj:array_position="3" oils_persist:virtual="false" />
1844                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1845                         <field name="source" oils_obj:array_position="5" oils_persist:virtual="false" />
1846                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
1847                 </fields>
1848                 <links>
1849                         <link field="source" reltype="has_a" key="id" map="" class="bre"/>
1850                         <link field="field" reltype="has_a" key="id" map="" class="cmf"/>
1851                 </links>
1852         </class>
1853         <class id="actscecm" oils_obj:fieldmapper="actor::stat_cat_entry_user_map" oils_persist:tablename="actor.stat_cat_entry_usr_map">
1854                 <fields oils_persist:primary="id" oils_persist:sequence="actor.stat_cat_entry_usr_map_id_seq">
1855                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1856                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1857                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1858                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1859                         <field name="stat_cat" oils_obj:array_position="4" oils_persist:virtual="false" />
1860                         <field name="stat_cat_entry" oils_obj:array_position="5" oils_persist:virtual="false" />
1861                         <field name="target_usr" oils_obj:array_position="6" oils_persist:virtual="false" />
1862                 </fields>
1863                 <links>
1864                         <link field="target_usr" reltype="has_a" key="id" map="" class="au"/>
1865                         <link field="stat_cat" reltype="has_a" key="id" map="" class="actsc"/>
1866                 </links>
1867         </class>
1868         <class id="pgpm" oils_obj:fieldmapper="permission::grp_perm_map" oils_persist:tablename="permission.grp_perm_map">
1869                 <fields oils_persist:primary="id" oils_persist:sequence="permission.grp_perm_map_id_seq">
1870                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1871                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1872                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1873                         <field name="depth" oils_obj:array_position="3" oils_persist:virtual="false" />
1874                         <field name="grantable" oils_obj:array_position="4" oils_persist:virtual="false" />
1875                         <field name="grp" oils_obj:array_position="5" oils_persist:virtual="false" />
1876                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
1877                         <field name="perm" oils_obj:array_position="7" oils_persist:virtual="false" />
1878                 </fields>
1879                 <links>
1880                         <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
1881                         <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
1882                 </links>
1883         </class>
1884         <class id="ccb" oils_obj:fieldmapper="container::copy_bucket" oils_persist:tablename="container.copy_bucket">
1885                 <fields oils_persist:primary="id" oils_persist:sequence="container.copy_bucket_id_seq">
1886                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1887                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1888                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1889                         <field name="items" oils_obj:array_position="3" oils_persist:virtual="true" />
1890                         <field name="btype" oils_obj:array_position="4" oils_persist:virtual="false" />
1891                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1892                         <field name="name" oils_obj:array_position="6" oils_persist:virtual="false" />
1893                         <field name="owner" oils_obj:array_position="7" oils_persist:virtual="false" />
1894                         <field name="pub" oils_obj:array_position="8" oils_persist:virtual="false" />
1895                 </fields>
1896                 <links>
1897                         <link field="owner" reltype="has_a" key="id" map="" class="au"/>
1898                         <link field="items" reltype="has_many" key="bucket" map="" class="ccbi"/>
1899                 </links>
1900         </class>
1901         <class id="pupm" oils_obj:fieldmapper="permission::usr_perm_map" oils_persist:tablename="permission.usr_perm_map">
1902                 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_perm_map_id_seq">
1903                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1904                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1905                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1906                         <field name="depth" oils_obj:array_position="3" oils_persist:virtual="false" />
1907                         <field name="grantable" oils_obj:array_position="4" oils_persist:virtual="false" />
1908                         <field name="id" oils_obj:array_position="5" oils_persist:virtual="false" />
1909                         <field name="perm" oils_obj:array_position="6" oils_persist:virtual="false" />
1910                         <field name="usr" oils_obj:array_position="7" oils_persist:virtual="false" />
1911                 </fields>
1912                 <links>
1913                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
1914                         <link field="perm" reltype="has_a" key="id" map="" class="ppl"/>
1915                 </links>
1916         </class>
1917         <class id="mp" oils_obj:fieldmapper="money::payment" oils_persist:tablename="money.payment_view">
1918                 <fields oils_persist:primary="id" oils_persist:sequence="">
1919                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1920                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1921                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1922                         <field name="amount" oils_obj:array_position="3" oils_persist:virtual="false" />
1923                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1924                         <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" />
1925                         <field name="payment_ts" oils_obj:array_position="6" oils_persist:virtual="false" />
1926                         <field name="payment_type" oils_obj:array_position="7" oils_persist:virtual="false" />
1927                         <field name="xact" oils_obj:array_position="8" oils_persist:virtual="false" />
1928                         <field name="voided" oils_obj:array_position="9" oils_persist:virtual="false" />
1929                         <field name="cash_payment" oils_obj:array_position="10" oils_persist:virtual="true" />
1930                         <field name="credit_card_payment" oils_obj:array_position="11" oils_persist:virtual="true" />
1931                         <field name="credit_payment" oils_obj:array_position="12" oils_persist:virtual="true" />
1932                         <field name="check_payment" oils_obj:array_position="13" oils_persist:virtual="true" />
1933                         <field name="work_payment" oils_obj:array_position="14" oils_persist:virtual="true" />
1934                         <field name="forgive_payment" oils_obj:array_position="15" oils_persist:virtual="true" />
1935                 </fields>
1936                 <links>
1937                         <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
1938                         <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
1939                         <link field="credit_payment" reltype="might_have" key="id" map="" class="mcrp"/>
1940                         <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
1941                         <link field="work_payment" reltype="might_have" key="id" map="" class="mwp"/>
1942                         <link field="forgive_payment" reltype="might_have" key="id" map="" class="mfp"/>
1943                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
1944                 </links>
1945         </class>
1946         <class id="mdp" oils_obj:fieldmapper="money::desk_payment" oils_persist:tablename="money.desk_payment_view">
1947                 <fields oils_persist:primary="id" oils_persist:sequence="">
1948                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1949                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1950                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1951                         <field name="amount" oils_obj:array_position="3" oils_persist:virtual="false" />
1952                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1953                         <field name="note" oils_obj:array_position="5" oils_persist:virtual="false" />
1954                         <field name="payment_ts" oils_obj:array_position="6" oils_persist:virtual="false" />
1955                         <field name="payment_type" oils_obj:array_position="7" oils_persist:virtual="false" />
1956                         <field name="xact" oils_obj:array_position="8" oils_persist:virtual="false" />
1957                         <field name="accepting_usr" oils_obj:array_position="9" oils_persist:virtual="false" />
1958                         <field name="cash_drawer" oils_obj:array_position="10" oils_persist:virtual="false" />
1959                         <field name="voided" oils_obj:array_position="11" oils_persist:virtual="false" />
1960                         <field name="cash_payment" oils_obj:array_position="12" oils_persist:virtual="true" />
1961                         <field name="credit_card_payment" oils_obj:array_position="13" oils_persist:virtual="true" />
1962                         <field name="check_payment" oils_obj:array_position="14" oils_persist:virtual="true" />
1963                 </fields>
1964                 <links>
1965                         <link field="cash_payment" reltype="might_have" key="id" map="" class="mcp"/>
1966                         <link field="credit_card_payment" reltype="might_have" key="id" map="" class="mccp"/>
1967                         <link field="check_payment" reltype="might_have" key="id" map="" class="mckp"/>
1968                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
1969                         <link field="accepting_usr" reltype="has_a" key="id" map="" class="au"/>
1970                         <link field="cash_drawer" reltype="has_a" key="id" map="" class="aws"/>
1971                 </links>
1972         </class>
1973         <class id="cbrebi" oils_obj:fieldmapper="container::biblio_record_entry_bucket_item" oils_persist:tablename="container.biblio_record_entry_bucket_item">
1974                 <fields oils_persist:primary="id" oils_persist:sequence="container.biblio_record_entry_bucket_item_id_seq">
1975                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1976                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1977                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1978                         <field name="bucket" oils_obj:array_position="3" oils_persist:virtual="false" />
1979                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
1980                         <field name="target_biblio_record_entry" oils_obj:array_position="5" oils_persist:virtual="false" />
1981                 </fields>
1982                 <links>
1983                         <link field="target_biblio_record_entry" reltype="has_a" key="id" map="" class="bre"/>
1984                         <link field="bucket" reltype="has_a" key="id" map="" class="cbreb"/>
1985                 </links>
1986         </class>
1987         <class id="asce" oils_obj:fieldmapper="asset::stat_cat_entry" oils_persist:tablename="asset.stat_cat_entry">
1988                 <fields oils_persist:primary="id" oils_persist:sequence="asset.stat_cat_entry_id_seq">
1989                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
1990                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
1991                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
1992                         <field name="id" oils_obj:array_position="3" oils_persist:virtual="false" />
1993                         <field name="owner" oils_obj:array_position="4" oils_persist:virtual="false" />
1994                         <field name="stat_cat" oils_obj:array_position="5" oils_persist:virtual="false" />
1995                         <field name="value" oils_obj:array_position="6" oils_persist:virtual="false" />
1996                 </fields>
1997                 <links>
1998                         <link field="stat_cat" reltype="has_a" key="id" map="" class="asc"/>
1999                         <link field="owner" reltype="has_a" key="id" map="" class="aou"/>
2000                 </links>
2001         </class>
2002         <class id="ahtc" oils_obj:fieldmapper="action::hold_transit_copy" oils_persist:tablename="action.hold_transit_copy">
2003                 <fields oils_persist:primary="id" oils_persist:sequence="action.transit_copy_id_seq">
2004                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
2005                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
2006                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
2007                         <field name="copy_status" oils_obj:array_position="3" oils_persist:virtual="false" />
2008                         <field name="dest" oils_obj:array_position="4" oils_persist:virtual="false" />
2009                         <field name="dest_recv_time" oils_obj:array_position="5" oils_persist:virtual="false" />
2010                         <field name="hold" oils_obj:array_position="6" oils_persist:virtual="false" />
2011                         <field name="id" oils_obj:array_position="7" oils_persist:virtual="false" />
2012                         <field name="persistant_transfer" oils_obj:array_position="8" oils_persist:virtual="false" />
2013                         <field name="prev_hop" oils_obj:array_position="9" oils_persist:virtual="false" />
2014                         <field name="source" oils_obj:array_position="10" oils_persist:virtual="false" />
2015                         <field name="source_send_time" oils_obj:array_position="11" oils_persist:virtual="false" />
2016                         <field name="target_copy" oils_obj:array_position="12" oils_persist:virtual="false" />
2017                         <field name="transit_copy" oils_obj:array_position="13" oils_persist:virtual="true" />
2018                 </fields>
2019                 <links>
2020                         <link field="transit_copy" reltype="might_have" key="id" map="" class="atc"/>
2021                         <link field="source" reltype="has_a" key="id" map="" class="aou"/>
2022                         <link field="copy_status" reltype="has_a" key="id" map="" class="ccs"/>
2023                         <link field="dest" reltype="has_a" key="id" map="" class="aou"/>
2024                         <link field="hold" reltype="has_a" key="id" map="" class="ahr"/>
2025                 </links>
2026         </class>
2027         <class id="mb" oils_obj:fieldmapper="money::billing" oils_persist:tablename="money.billing">
2028                 <fields oils_persist:primary="id" oils_persist:sequence="money.billing_id_seq">
2029                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
2030                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
2031                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
2032                         <field name="amount" oils_obj:array_position="3" oils_persist:virtual="false" />
2033                         <field name="billing_ts" oils_obj:array_position="4" oils_persist:virtual="false" />
2034                         <field name="billing_type" oils_obj:array_position="5" oils_persist:virtual="false" />
2035                         <field name="id" oils_obj:array_position="6" oils_persist:virtual="false" />
2036                         <field name="note" oils_obj:array_position="7" oils_persist:virtual="false" />
2037                         <field name="void_time" oils_obj:array_position="8" oils_persist:virtual="false" />
2038                         <field name="voided" oils_obj:array_position="9" oils_persist:virtual="false" />
2039                         <field name="voider" oils_obj:array_position="10" oils_persist:virtual="false" />
2040                         <field name="xact" oils_obj:array_position="11" oils_persist:virtual="false" />
2041                 </fields>
2042                 <links>
2043                         <link field="xact" reltype="has_a" key="id" map="" class="mbt"/>
2044                         <link field="voider" reltype="has_a" key="id" map="" class="au"/>
2045                 </links>
2046         </class>
2047         <class id="pugm" oils_obj:fieldmapper="permission::usr_grp_map" oils_persist:tablename="permission.usr_grp_map">
2048                 <fields oils_persist:primary="id" oils_persist:sequence="permission.usr_grp_map_id_seq">
2049                         <field name="isnew" oils_obj:array_position="0" oils_persist:virtual="true" />
2050                         <field name="ischanged" oils_obj:array_position="1" oils_persist:virtual="true" />
2051                         <field name="isdeleted" oils_obj:array_position="2" oils_persist:virtual="true" />
2052                         <field name="grp" oils_obj:array_position="3" oils_persist:virtual="false" />
2053                         <field name="id" oils_obj:array_position="4" oils_persist:virtual="false" />
2054                         <field name="usr" oils_obj:array_position="5" oils_persist:virtual="false" />
2055                 </fields>
2056                 <links>
2057                         <link field="grp" reltype="has_a" key="id" map="" class="pgt"/>
2058                         <link field="usr" reltype="has_a" key="id" map="" class="au"/>
2059                 </links>
2060         </class>
2061 </IDL>