somehow forgot to add the billing_type field
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / CDBI / metabib.pm
1 package OpenILS::Application::Storage::CDBI::metabib;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package metabib;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package metabib::metarecord;
9 use base qw/metabib/;
10
11 metabib::metarecord->table( 'metabib_metarecord' );
12 metabib::metarecord->columns( Primary => qw/id/ );
13 metabib::metarecord->columns( Essential => qw/fingerprint master_record mods/ );
14
15 #-------------------------------------------------------------------------------
16 package metabib::title_field_entry;
17 use base qw/metabib/;
18
19 metabib::title_field_entry->table( 'metabib_title_field_entry' );
20 metabib::title_field_entry->columns( Primary => qw/id/ );
21 metabib::title_field_entry->columns( Essential => qw/field value source/ );
22
23
24 #-------------------------------------------------------------------------------
25 package metabib::author_field_entry;
26 use base qw/metabib/;
27
28 metabib::author_field_entry->table( 'metabib_author_field_entry' );
29 metabib::author_field_entry->columns( Primary => qw/id/ );
30 metabib::author_field_entry->columns( Essential => qw/field value source/ );
31
32
33 #-------------------------------------------------------------------------------
34 package metabib::subject_field_entry;
35 use base qw/metabib/;
36
37 metabib::subject_field_entry->table( 'metabib_subject_field_entry' );
38 metabib::subject_field_entry->columns( Primary => qw/id/ );
39 metabib::subject_field_entry->columns( Essential => qw/field value source/ );
40
41
42 #-------------------------------------------------------------------------------
43 package metabib::keyword_field_entry;
44 use base qw/metabib/;
45
46 metabib::keyword_field_entry->table( 'metabib_keyword_field_entry' );
47 metabib::keyword_field_entry->columns( Primary => qw/id/ );
48 metabib::keyword_field_entry->columns( Essential => qw/field value source/ );
49
50 #-------------------------------------------------------------------------------
51 package metabib::series_field_entry;
52 use base qw/metabib/;
53
54 metabib::series_field_entry->table( 'metabib_series_field_entry' );
55 metabib::series_field_entry->columns( Primary => qw/id/ );
56 metabib::series_field_entry->columns( Essential => qw/field value source/ );
57
58 #-------------------------------------------------------------------------------
59 package metabib::metarecord_source_map;
60 use base qw/metabib/;
61
62 metabib::metarecord_source_map->table( 'metabib_metarecord_source_map' );
63 metabib::metarecord_source_map->columns( Primary => qw/id/ );
64 metabib::metarecord_source_map->columns( Essential => qw/metarecord source/ );
65
66 #-------------------------------------------------------------------------------
67 package metabib::full_rec;
68 use base qw/metabib/;
69
70 metabib::full_rec->table( 'metabib_full_rec' );
71 metabib::full_rec->columns( Primary => qw/id/ );
72 metabib::full_rec->columns( Essential => qw/record tag ind1 ind2 subfield value/ );
73
74 #-------------------------------------------------------------------------------
75 package metabib::record_descriptor;
76 use base qw/metabib/;
77 #use OpenILS::Application::Storage::CDBI::asset;
78
79 metabib::record_descriptor->table( 'metabib_rec_descriptor' );
80 metabib::record_descriptor->columns( Primary => qw/id/ );
81 metabib::record_descriptor->columns( Essential => qw/record item_type item_form bib_level
82                                          control_type char_encoding enc_level
83                                          cat_form pub_status item_lang audience/ );
84
85 #-------------------------------------------------------------------------------
86
87 1;
88