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