1 package OpenILS::Application::Storage::CDBI::config;
4 #-------------------------------------------------------------------------------
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
9 package config::non_cataloged_type;
11 __PACKAGE__->table('config_non_cataloged_type');
12 __PACKAGE__->columns(Primary => 'id');
13 __PACKAGE__->columns(Essential => qw/owning_lib name circ_duration in_house/);
14 #-------------------------------------------------------------------------------
16 package config::standing;
18 __PACKAGE__->table('config_standing');
19 __PACKAGE__->columns(Primary => 'id');
20 __PACKAGE__->columns(Essential => qw/value/);
21 #-------------------------------------------------------------------------------
23 package config::bib_source;
25 __PACKAGE__->table('config_bib_source');
26 __PACKAGE__->columns(Primary => 'id');
27 __PACKAGE__->columns(Essential => qw/quality source transcendant can_have_copies/);
28 #-------------------------------------------------------------------------------
30 package config::metabib_field;
32 __PACKAGE__->table('config_metabib_field');
33 __PACKAGE__->columns(Primary => 'id');
34 __PACKAGE__->columns(Essential => qw/field_class name xpath weight format search_field facet_field display_xpath display_field/);
35 #-------------------------------------------------------------------------------
37 package config::metabib_field_virtual_map;
39 __PACKAGE__->table('config_metabib_field_virtual_map');
40 __PACKAGE__->columns(Primary => 'id');
41 __PACKAGE__->columns(Essential => qw/real virtual/);
42 #-------------------------------------------------------------------------------
44 package config::identification_type;
46 __PACKAGE__->table('config_identification_type');
47 __PACKAGE__->columns(Primary => 'id');
48 __PACKAGE__->columns(Essential => qw/name/);
49 #-------------------------------------------------------------------------------
51 package config::rules::circ_duration;
53 __PACKAGE__->table('config_rule_circ_duration');
54 __PACKAGE__->columns(Primary => 'id');
55 __PACKAGE__->columns(Essential => qw/name extended normal shrt max_renewals/);
56 #-------------------------------------------------------------------------------
58 package config::rules::max_fine;
60 __PACKAGE__->table('config_rule_max_fine');
61 __PACKAGE__->columns(Primary => 'id');
62 __PACKAGE__->columns(Essential => qw/name amount is_percent/);
63 #-------------------------------------------------------------------------------
65 package config::rules::recurring_fine;
67 __PACKAGE__->table('config_rule_recurring_fine');
68 __PACKAGE__->columns(Primary => 'id');
69 __PACKAGE__->columns(Essential => qw/name high normal low recurrence_interval grace_period/);
70 #-------------------------------------------------------------------------------
72 package config::rules::age_hold_protect;
74 __PACKAGE__->table('config_rule_age_hold_protect');
75 __PACKAGE__->columns(Primary => 'id');
76 __PACKAGE__->columns(Essential => qw/name age prox/);
77 #-------------------------------------------------------------------------------
79 package config::copy_status;
81 __PACKAGE__->table('config_copy_status');
82 __PACKAGE__->columns(Primary => 'id');
83 __PACKAGE__->columns(Essential => qw/name holdable opac_visible copy_active restrict_copy_delete is_available/);
84 #-------------------------------------------------------------------------------
86 package config::net_access_level;
88 __PACKAGE__->table('config_net_access_level');
89 __PACKAGE__->columns(Primary => 'id');
90 __PACKAGE__->columns(Essential => qw/name/);
91 #-------------------------------------------------------------------------------
93 package config::audience_map;
95 __PACKAGE__->table('config_audience_map');
96 __PACKAGE__->columns(Primary => 'code');
97 __PACKAGE__->columns(Essential => qw/value description/);
98 #-------------------------------------------------------------------------------
100 package config::lit_form_map;
102 __PACKAGE__->table('config_lit_form_map');
103 __PACKAGE__->columns(Primary => 'code');
104 __PACKAGE__->columns(Essential => qw/value description/);
105 #-------------------------------------------------------------------------------
107 package config::item_form_map;
109 __PACKAGE__->table('config_lit_form_map');
110 __PACKAGE__->columns(Primary => 'code');
111 __PACKAGE__->columns(Essential => qw/value/);
112 #-------------------------------------------------------------------------------
114 package config::item_type_map;
116 __PACKAGE__->table('config_lit_form_map');
117 __PACKAGE__->columns(Primary => 'code');
118 __PACKAGE__->columns(Essential => qw/value/);
119 #-------------------------------------------------------------------------------
121 package config::language_map;
123 __PACKAGE__->table('config_language_map');
124 __PACKAGE__->columns(Primary => 'code');
125 __PACKAGE__->columns(Essential => qw/value/);
126 #-------------------------------------------------------------------------------
128 package config::i18n_locale;
130 __PACKAGE__->table('config_i18n_locale');
131 __PACKAGE__->columns(Primary => 'code');
132 __PACKAGE__->columns(Essential => qw/marc_code name description/);
133 #-------------------------------------------------------------------------------
135 package config::i18n_core;
137 __PACKAGE__->table('config_i18n_core');
138 __PACKAGE__->columns(Primary => 'id');
139 __PACKAGE__->columns(Essential => qw/fq_field identity_value translation string/);
140 #-------------------------------------------------------------------------------