updates to support corner cases in circ
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / Driver / Pg / dbi.pm
1 {
2
3         #-------------------------------------------------------------------------------
4         package container::user_bucket;
5
6         container::user_bucket->table( 'container.user_bucket' );
7         container::user_bucket->sequence( 'container.user_bucket_id_seq' );
8
9         #-------------------------------------------------------------------------------
10         package container::user_bucket_item;
11
12         container::user_bucket_item->table( 'container.user_bucket_item' );
13         container::user_bucket_item->sequence( 'container.user_bucket_item_id_seq' );
14
15         #-------------------------------------------------------------------------------
16         package container::copy_bucket;
17
18         container::copy_bucket->table( 'container.copy_bucket' );
19         container::copy_bucket->sequence( 'container.copy_bucket_id_seq' );
20
21         #-------------------------------------------------------------------------------
22         package container::copy_bucket_item;
23
24         container::copy_bucket_item->table( 'container.copy_bucket_item' );
25         container::copy_bucket_item->sequence( 'container.copy_bucket_item_id_seq' );
26
27         #-------------------------------------------------------------------------------
28         package container::call_number_bucket;
29
30         container::call_number_bucket->table( 'container.call_number_bucket' );
31         container::call_number_bucket->sequence( 'container.call_number_bucket_id_seq' );
32
33         #-------------------------------------------------------------------------------
34         package container::call_number_bucket_item;
35
36         container::call_number_bucket_item->table( 'container.call_number_bucket_item' );
37         container::call_number_bucket_item->sequence( 'container.call_number_bucket_item_id_seq' );
38
39         #-------------------------------------------------------------------------------
40         package container::biblio_record_entry_bucket;
41
42         container::biblio_record_entry_bucket->table( 'container.biblio_record_entry_bucket' );
43         container::biblio_record_entry_bucket->sequence( 'container.biblio_record_entry_bucket_id_seq' );
44
45         #-------------------------------------------------------------------------------
46         package container::biblio_record_entry_bucket_item;
47
48         container::biblio_record_entry_bucket_item->table( 'container.biblio_record_entry_bucket_item' );
49         container::biblio_record_entry_bucket_item->sequence( 'container.biblio_record_entry_bucket_item_id_seq' );
50
51         #---------------------------------------------------------------------
52         package money::grocery;
53         
54         money::grocery->table( 'money.grocery' );
55         money::grocery->sequence( 'money.billable_xact_id_seq' );
56
57         #---------------------------------------------------------------------
58         package money::billable_transaction;
59         
60         money::billable_transaction->table( 'money.billable_xact' );
61         money::billable_transaction->sequence( 'money.billable_xact_id_seq' );
62
63         #---------------------------------------------------------------------
64         package money::billing;
65         
66         money::billing->table( 'money.billing' );
67         money::billing->sequence( 'money.billing_id_seq' );
68
69         #---------------------------------------------------------------------
70         package money::payment;
71         
72         money::payment->table( 'money.payment_view' );
73
74         #---------------------------------------------------------------------
75         package money::cash_payment;
76         
77         money::cash_payment->table( 'money.cash_payment' );
78         money::cash_payment->sequence( 'money.payment_id_seq' );
79
80         #---------------------------------------------------------------------
81         package money::check_payment;
82         
83         money::check_payment->table( 'money.check_payment' );
84         money::check_payment->sequence( 'money.payment_id_seq' );
85
86         #---------------------------------------------------------------------
87         package money::credit_payment;
88         
89         money::credit_payment->table( 'money.credit_payment' );
90         money::credit_payment->sequence( 'money.payment_id_seq' );
91
92         #---------------------------------------------------------------------
93         package money::credit_card_payment;
94         
95         money::credit_card_payment->table( 'money.credit_card_payment' );
96         money::credit_card_payment->sequence( 'money.payment_id_seq' );
97
98         #---------------------------------------------------------------------
99         package money::work_payment;
100         
101         money::work_payment->table( 'money.work_payment' );
102         money::work_payment->sequence( 'money.payment_id_seq' );
103
104         #---------------------------------------------------------------------
105         package money::forgive_payment;
106         
107         money::forgive_payment->table( 'money.forgive_payment' );
108         money::forgive_payment->sequence( 'money.payment_id_seq' );
109
110         #---------------------------------------------------------------------
111         package money::open_billable_transaction_summary;
112         
113         money::open_billable_transaction_summary->table( 'money.open_billable_xact_summary' );
114
115         #---------------------------------------------------------------------
116         package money::billable_transaction_summary;
117         
118         money::billable_transaction_summary->table( 'money.billable_xact_summary' );
119
120         #---------------------------------------------------------------------
121         package money::open_user_summary;
122         
123         money::open_user_summary->table( 'money.open_usr_summary' );
124
125         #---------------------------------------------------------------------
126         package money::user_summary;
127         
128         money::user_summary->table( 'money.usr_summary' );
129
130         #---------------------------------------------------------------------
131         package money::open_user_circulation_summary;
132         
133         money::open_user_circulation_summary->table( 'money.open_usr_circulation_summary' );
134
135         #---------------------------------------------------------------------
136         package money::user_circulation_summary;
137         
138         money::user_circulation_summary->table( 'money.usr_circulation_summary' );
139
140         #---------------------------------------------------------------------
141         package action::circulation;
142         
143         action::circulation->table( 'action.circulation' );
144         action::circulation->sequence( 'money.billable_xact_id_seq' );
145
146         #---------------------------------------------------------------------
147         package action::in_house_use;
148         
149         action::in_house_use->table( 'action.in_house_use' );
150         action::in_house_use->sequence( 'action.in_house_use_id_seq' );
151
152         #---------------------------------------------------------------------
153         package action::non_cataloged_circulation;
154         
155         action::non_cataloged_circulation->table( 'action.non_cataloged_circulation' );
156         action::non_cataloged_circulation->sequence( 'action.non_cataloged_circulation_id_seq' );
157
158         #---------------------------------------------------------------------
159         package action::open_circulation;
160         
161         action::open_circulation->table( 'action.open_circulation' );
162
163         #---------------------------------------------------------------------
164         package action::survey;
165         
166         action::survey->table( 'action.survey' );
167         action::survey->sequence( 'action.survey_id_seq' );
168         
169         #---------------------------------------------------------------------
170         package action::survey_question;
171         
172         action::survey_question->table( 'action.survey_question' );
173         action::survey_question->sequence( 'action.survey_question_id_seq' );
174         
175         #---------------------------------------------------------------------
176         package action::survey_answer;
177         
178         action::survey_answer->table( 'action.survey_answer' );
179         action::survey_answer->sequence( 'action.survey_answer_id_seq' );
180         
181         #---------------------------------------------------------------------
182         package action::survey_response;
183         
184         action::survey_response->table( 'action.survey_response' );
185         action::survey_response->sequence( 'action.survey_response_id_seq' );
186         
187         #---------------------------------------------------------------------
188         package config::non_cataloged_type;
189         
190         config::non_cataloged_type->table( 'config.non_cataloged_type' );
191         config::non_cataloged_type->sequence( 'config.non_cataloged_type_id_seq' );
192
193         #---------------------------------------------------------------------
194         package config::copy_status;
195         
196         config::copy_status->table( 'config.copy_status' );
197         config::copy_status->sequence( 'config.copy_status_id_seq' );
198
199         #---------------------------------------------------------------------
200         package config::rules::circ_duration;
201         
202         config::rules::circ_duration->table( 'config.rule_circ_duration' );
203         config::rules::circ_duration->sequence( 'config.rule_circ_duration_id_seq' );
204         
205         #---------------------------------------------------------------------
206         package config::rules::age_hold_protect;
207         
208         config::rules::age_hold_protect->table( 'config.rule_age_hold_protect' );
209         config::rules::age_hold_protect->sequence( 'config.rule_age_hold_protect_id_seq' );
210         
211         #---------------------------------------------------------------------
212         package config::rules::max_fine;
213         
214         config::rules::max_fine->table( 'config.rule_max_fine' );
215         config::rules::max_fine->sequence( 'config.rule_max_fine_id_seq' );
216         
217         #---------------------------------------------------------------------
218         package config::rules::recuring_fine;
219         
220         config::rules::recuring_fine->table( 'config.rule_recuring_fine' );
221         config::rules::recuring_fine->sequence( 'config.rule_recuring_fine_id_seq' );
222         
223         #---------------------------------------------------------------------
224         package config::net_access_level;
225         
226         config::net_access_level->table( 'config.net_access_level' );
227         config::net_access_level->sequence( 'config.net_access_level_id_seq' );
228         
229         #---------------------------------------------------------------------
230         package config::standing;
231         
232         config::standing->table( 'config.standing' );
233         config::standing->sequence( 'config.standing_id_seq' );
234         
235         #---------------------------------------------------------------------
236         package config::metabib_field;
237         
238         config::metabib_field->table( 'config.metabib_field' );
239         config::metabib_field->sequence( 'config.metabib_field_id_seq' );
240         
241         #---------------------------------------------------------------------
242         package config::bib_source;
243         
244         config::bib_source->table( 'config.bib_source' );
245         config::bib_source->sequence( 'config.bib_source_id_seq' );
246         
247         #---------------------------------------------------------------------
248         package config::identification_type;
249         
250         config::identification_type->table( 'config.identification_type' );
251         config::identification_type->sequence( 'config.identification_type_id_seq' );
252         
253         #---------------------------------------------------------------------
254         package asset::call_number_note;
255         
256         asset::call_number_note->table( 'asset.call_number_note' );
257         asset::call_number_note->sequence( 'asset.call_number_note_id_seq' );
258         
259         #---------------------------------------------------------------------
260         package asset::copy_note;
261         
262         asset::copy_note->table( 'asset.copy_note' );
263         asset::copy_note->sequence( 'asset.copy_note_id_seq' );
264
265         #---------------------------------------------------------------------
266         package asset::call_number;
267         
268         asset::call_number->table( 'asset.call_number' );
269         asset::call_number->sequence( 'asset.call_number_id_seq' );
270         
271         #---------------------------------------------------------------------
272         package asset::copy_location;
273         
274         asset::copy_location->table( 'asset.copy_location' );
275         asset::copy_location->sequence( 'asset.copy_location_id_seq' );
276
277         #---------------------------------------------------------------------
278         package asset::copy;
279         
280         asset::copy->table( 'asset.copy' );
281         asset::copy->sequence( 'asset.copy_id_seq' );
282
283         #---------------------------------------------------------------------
284         package asset::stat_cat;
285         
286         asset::stat_cat->table( 'asset.stat_cat' );
287         asset::stat_cat->sequence( 'asset.stat_cat_id_seq' );
288         
289         #---------------------------------------------------------------------
290         package asset::stat_cat_entry;
291         
292         asset::stat_cat_entry->table( 'asset.stat_cat_entry' );
293         asset::stat_cat_entry->sequence( 'asset.stat_cat_entry_id_seq' );
294         
295         #---------------------------------------------------------------------
296         package asset::stat_cat_entry_copy_map;
297         
298         asset::stat_cat_entry_copy_map->table( 'asset.stat_cat_entry_copy_map' );
299         asset::stat_cat_entry_copy_map->sequence( 'asset.stat_cat_entry_copy_map_id_seq' );
300         
301         #---------------------------------------------------------------------
302         package authority::record_entry;
303         
304         authority::record_entry->table( 'authority.record_entry' );
305         authority::record_entry->sequence( 'authority.record_entry_id_seq' );
306
307         #---------------------------------------------------------------------
308         package biblio::record_entry;
309         
310         biblio::record_entry->table( 'biblio.record_entry' );
311         biblio::record_entry->sequence( 'biblio.record_entry_id_seq' );
312
313         #---------------------------------------------------------------------
314         #package biblio::record_marc;
315         #
316         #biblio::record_marc->table( 'biblio.record_marc' );
317         #biblio::record_marc->sequence( 'biblio.record_marc_id_seq' );
318         #
319         #---------------------------------------------------------------------
320         package authority::record_note;
321         
322         authority::record_note->table( 'authority.record_note' );
323         authority::record_note->sequence( 'authority.record_note_id_seq' );
324
325         #---------------------------------------------------------------------
326         package biblio::record_note;
327         
328         biblio::record_note->table( 'biblio.record_note' );
329         biblio::record_note->sequence( 'biblio.record_note_id_seq' );
330         
331         #---------------------------------------------------------------------
332         package actor::user;
333         
334         actor::user->table( 'actor.usr' );
335         actor::user->sequence( 'actor.usr_id_seq' );
336
337         #---------------------------------------------------------------------
338         package actor::org_unit_setting;
339         
340         actor::org_unit_setting->table( 'actor.org_unit_setting' );
341         actor::org_unit_setting->sequence( 'actor.org_unit_setting_id_seq' );
342
343         #---------------------------------------------------------------------
344         package actor::user_setting;
345         
346         actor::user_setting->table( 'actor.usr_setting' );
347         actor::user_setting->sequence( 'actor.usr_setting_id_seq' );
348
349         #---------------------------------------------------------------------
350         package actor::user_address;
351         
352         actor::user_address->table( 'actor.usr_address' );
353         actor::user_address->sequence( 'actor.usr_address_id_seq' );
354
355         #---------------------------------------------------------------------
356         package actor::org_address;
357         
358         actor::org_address->table( 'actor.org_address' );
359         actor::org_address->sequence( 'actor.org_address_id_seq' );
360         
361         #---------------------------------------------------------------------
362         package actor::profile;
363         
364         actor::profile->table( 'actor.profile' );
365         actor::profile->sequence( 'actor.profile_id_seq' );
366         
367         #---------------------------------------------------------------------
368         package actor::org_unit_type;
369         
370         actor::org_unit_type->table( 'actor.org_unit_type' );
371         actor::org_unit_type->sequence( 'actor.org_unit_type_id_seq' );
372
373         #---------------------------------------------------------------------
374         package actor::org_unit;
375         
376         actor::org_unit->table( 'actor.org_unit' );
377         actor::org_unit->sequence( 'actor.org_unit_id_seq' );
378
379         #---------------------------------------------------------------------
380         package actor::stat_cat;
381         
382         actor::stat_cat->table( 'actor.stat_cat' );
383         actor::stat_cat->sequence( 'actor.stat_cat_id_seq' );
384         
385         #---------------------------------------------------------------------
386         package actor::stat_cat_entry;
387         
388         actor::stat_cat_entry->table( 'actor.stat_cat_entry' );
389         actor::stat_cat_entry->sequence( 'actor.stat_cat_entry_id_seq' );
390         
391         #---------------------------------------------------------------------
392         package actor::stat_cat_entry_user_map;
393         
394         actor::stat_cat_entry_user_map->table( 'actor.stat_cat_entry_usr_map' );
395         actor::stat_cat_entry_user_map->sequence( 'actor.stat_cat_entry_usr_map_id_seq' );
396         
397         #---------------------------------------------------------------------
398         package actor::card;
399         
400         actor::card->table( 'actor.card' );
401         actor::card->sequence( 'actor.card_id_seq' );
402
403         #---------------------------------------------------------------------
404
405         #-------------------------------------------------------------------------------
406         package metabib::metarecord;
407
408         metabib::metarecord->table( 'metabib.metarecord' );
409         metabib::metarecord->sequence( 'metabib.metarecord_id_seq' );
410
411         OpenILS::Application::Storage->register_method(
412                 api_name        => 'open-ils.storage.direct.metabib.metarecord.batch.create',
413                 method          => 'copy_create',
414                 api_level       => 1,
415                 'package'       => 'OpenILS::Application::Storage',
416                 cdbi            => 'metabib::metarecord',
417         );
418
419
420         #-------------------------------------------------------------------------------
421
422         #-------------------------------------------------------------------------------
423         package metabib::title_field_entry;
424
425         metabib::title_field_entry->table( 'metabib.title_field_entry' );
426         metabib::title_field_entry->sequence( 'metabib.title_field_entry_id_seq' );
427         metabib::title_field_entry->columns( 'FTS' => 'index_vector' );
428
429 #       metabib::title_field_entry->add_trigger(
430 #               before_create => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
431 #       );
432 #       metabib::title_field_entry->add_trigger(
433 #               before_update => \&OpenILS::Application::Storage::Driver::Pg::tsearch2_trigger
434 #       );
435
436         OpenILS::Application::Storage->register_method(
437                 api_name        => 'open-ils.storage.direct.metabib.title_field_entry.batch.create',
438                 method          => 'copy_create',
439                 api_level       => 1,
440                 'package'       => 'OpenILS::Application::Storage',
441                 cdbi            => 'metabib::title_field_entry',
442         );
443
444         #-------------------------------------------------------------------------------
445
446         #-------------------------------------------------------------------------------
447         package metabib::author_field_entry;
448
449         metabib::author_field_entry->table( 'metabib.author_field_entry' );
450         metabib::author_field_entry->sequence( 'metabib.author_field_entry_id_seq' );
451         metabib::author_field_entry->columns( 'FTS' => 'index_vector' );
452
453         OpenILS::Application::Storage->register_method(
454                 api_name        => 'open-ils.storage.direct.metabib.author_field_entry.batch.create',
455                 method          => 'copy_create',
456                 api_level       => 1,
457                 'package'       => 'OpenILS::Application::Storage',
458                 cdbi            => 'metabib::author_field_entry',
459         );
460
461         #-------------------------------------------------------------------------------
462
463         #-------------------------------------------------------------------------------
464         package metabib::subject_field_entry;
465
466         metabib::subject_field_entry->table( 'metabib.subject_field_entry' );
467         metabib::subject_field_entry->sequence( 'metabib.subject_field_entry_id_seq' );
468         metabib::subject_field_entry->columns( 'FTS' => 'index_vector' );
469
470         OpenILS::Application::Storage->register_method(
471                 api_name        => 'open-ils.storage.direct.metabib.subject_field_entry.batch.create',
472                 method          => 'copy_create',
473                 api_level       => 1,
474                 'package'       => 'OpenILS::Application::Storage',
475                 cdbi            => 'metabib::subject_field_entry',
476         );
477
478         #-------------------------------------------------------------------------------
479
480         #-------------------------------------------------------------------------------
481         package metabib::keyword_field_entry;
482
483         metabib::keyword_field_entry->table( 'metabib.keyword_field_entry' );
484         metabib::keyword_field_entry->sequence( 'metabib.keyword_field_entry_id_seq' );
485         metabib::keyword_field_entry->columns( 'FTS' => 'index_vector' );
486
487         OpenILS::Application::Storage->register_method(
488                 api_name        => 'open-ils.storage.direct.metabib.keyword_field_entry.batch.create',
489                 method          => 'copy_create',
490                 api_level       => 1,
491                 'package'       => 'OpenILS::Application::Storage',
492                 cdbi            => 'metabib::keyword_field_entry',
493         );
494
495         #-------------------------------------------------------------------------------
496         package metabib::series_field_entry;
497
498         metabib::series_field_entry->table( 'metabib.series_field_entry' );
499         metabib::series_field_entry->sequence( 'metabib.series_field_entry_id_seq' );
500         metabib::series_field_entry->columns( 'FTS' => 'index_vector' );
501
502         OpenILS::Application::Storage->register_method(
503                 api_name        => 'open-ils.storage.direct.metabib.series_field_entry.batch.create',
504                 method          => 'copy_create',
505                 api_level       => 1,
506                 'package'       => 'OpenILS::Application::Storage',
507                 cdbi            => 'metabib::series_field_entry',
508         );
509
510         #-------------------------------------------------------------------------------
511
512         #-------------------------------------------------------------------------------
513         #package metabib::title_field_entry_source_map;
514
515         #metabib::title_field_entry_source_map->table( 'metabib.title_field_entry_source_map' );
516
517         #-------------------------------------------------------------------------------
518
519         #-------------------------------------------------------------------------------
520         #package metabib::author_field_entry_source_map;
521
522         #metabib::author_field_entry_source_map->table( 'metabib.author_field_entry_source_map' );
523
524         #-------------------------------------------------------------------------------
525
526         #-------------------------------------------------------------------------------
527         #package metabib::subject_field_entry_source_map;
528
529         #metabib::subject_field_entry_source_map->table( 'metabib.subject_field_entry_source_map' );
530
531         #-------------------------------------------------------------------------------
532
533         #-------------------------------------------------------------------------------
534         #package metabib::keyword_field_entry_source_map;
535
536         #metabib::keyword_field_entry_source_map->table( 'metabib.keyword_field_entry_source_map' );
537
538         #-------------------------------------------------------------------------------
539
540         #-------------------------------------------------------------------------------
541         package metabib::metarecord_source_map;
542
543         metabib::metarecord_source_map->table( 'metabib.metarecord_source_map' );
544         OpenILS::Application::Storage->register_method(
545                 api_name        => 'open-ils.storage.direct.metabib.metarecord_source_map.batch.create',
546                 method          => 'copy_create',
547                 api_level       => 1,
548                 'package'       => 'OpenILS::Application::Storage',
549                 cdbi            => 'metabib::metarecord_source_map',
550         );
551
552
553         #-------------------------------------------------------------------------------
554         package authority::record_descriptor;
555
556         authority::record_descriptor->table( 'authority.rec_descriptor' );
557         authority::record_descriptor->sequence( 'authority.rec_descriptor_id_seq' );
558
559         OpenILS::Application::Storage->register_method(
560                 api_name        => 'open-ils.storage.direct.authority.record_descriptor.batch.create',
561                 method          => 'copy_create',
562                 api_level       => 1,
563                 'package'       => 'OpenILS::Application::Storage',
564                 cdbi            => 'authority::record_descriptor',
565         );
566
567         #-------------------------------------------------------------------------------
568         package metabib::record_descriptor;
569
570         metabib::record_descriptor->table( 'metabib.rec_descriptor' );
571         metabib::record_descriptor->sequence( 'metabib.rec_descriptor_id_seq' );
572
573         OpenILS::Application::Storage->register_method(
574                 api_name        => 'open-ils.storage.direct.metabib.record_descriptor.batch.create',
575                 method          => 'copy_create',
576                 api_level       => 1,
577                 'package'       => 'OpenILS::Application::Storage',
578                 cdbi            => 'metabib::record_descriptor',
579         );
580
581         #-------------------------------------------------------------------------------
582
583
584         #-------------------------------------------------------------------------------
585         package authority::full_rec;
586
587         authority::full_rec->table( 'authority.full_rec' );
588         authority::full_rec->sequence( 'authority.full_rec_id_seq' );
589         authority::full_rec->columns( 'FTS' => 'index_vector' );
590
591         OpenILS::Application::Storage->register_method(
592                 api_name        => 'open-ils.storage.direct.authority.full_rec.batch.create',
593                 method          => 'copy_create',
594                 api_level       => 1,
595                 'package'       => 'OpenILS::Application::Storage',
596                 cdbi            => 'authority::full_rec',
597         );
598
599
600         #-------------------------------------------------------------------------------
601         package metabib::full_rec;
602
603         metabib::full_rec->table( 'metabib.full_rec' );
604         metabib::full_rec->sequence( 'metabib.full_rec_id_seq' );
605         metabib::full_rec->columns( 'FTS' => 'index_vector' );
606
607         OpenILS::Application::Storage->register_method(
608                 api_name        => 'open-ils.storage.direct.metabib.full_rec.batch.create',
609                 method          => 'copy_create',
610                 api_level       => 1,
611                 'package'       => 'OpenILS::Application::Storage',
612                 cdbi            => 'metabib::full_rec',
613         );
614
615
616         #-------------------------------------------------------------------------------
617
618         package permission::perm_list;
619
620         permission::perm_list->sequence( 'permission.perm_list_id_seq' );
621         permission::perm_list->table('permission.perm_list');
622
623         #-------------------------------------------------------------------------------
624
625         package permission::grp_tree;
626
627         permission::grp_tree->sequence( 'permission.grp_tree_id_seq' );
628         permission::grp_tree->table('permission.grp_tree');
629
630         #-------------------------------------------------------------------------------
631
632         package permission::usr_grp_map;
633
634         permission::usr_grp_map->sequence( 'permission.usr_grp_map_id_seq' );
635         permission::usr_grp_map->table('permission.usr_grp_map');
636
637         #-------------------------------------------------------------------------------
638
639         package permission::usr_perm_map;
640
641         permission::usr_perm_map->sequence( 'permission.usr_perm_map_id_seq' );
642         permission::usr_perm_map->table('permission.usr_perm_map');
643
644         #-------------------------------------------------------------------------------
645
646         package permission::grp_perm_map;
647
648         permission::grp_perm_map->sequence( 'permission.grp_perm_map_id_seq' );
649         permission::grp_perm_map->table('permission.grp_perm_map');
650
651         #-------------------------------------------------------------------------------
652
653         package action::hold_request;
654
655         action::hold_request->sequence( 'action.hold_request_id_seq' );
656         action::hold_request->table('action.hold_request');
657
658         #-------------------------------------------------------------------------------
659
660         package action::hold_notification;
661
662         action::hold_notification->sequence( 'action.hold_notification_id_seq' );
663         action::hold_notification->table('action.hold_notification');
664
665         #-------------------------------------------------------------------------------
666
667         package action::hold_copy_map;
668
669         action::hold_copy_map->sequence( 'action.hold_copy_map_id_seq' );
670         action::hold_copy_map->table('action.hold_copy_map');
671
672         #-------------------------------------------------------------------------------
673
674         package action::hold_transit_copy;
675
676         action::hold_transit_copy->sequence( 'action.transit_copy_id_seq' );
677         action::hold_transit_copy->table('action.hold_transit_copy');
678
679         #-------------------------------------------------------------------------------
680
681         package action::transit_copy;
682
683         action::transit_copy->sequence( 'action.transit_copy_id_seq' );
684         action::transit_copy->table('action.transit_copy');
685
686         #-------------------------------------------------------------------------------
687
688         package action::unfulfilled_hold_list;
689
690         action::unfulfilled_hold_list->sequence( 'action.unfulfilled_hold_list_id_seq' );
691         action::unfulfilled_hold_list->table('action.unfulfilled_hold_list');
692
693         #-------------------------------------------------------------------------------
694
695
696 }
697
698 1;