LP#1779920 - Autorenew Feature
[working/Evergreen.git] / Open-ILS / src / perlmods / lib / OpenILS / Application / Storage / CDBI / config.pm
1 package OpenILS::Application::Storage::CDBI::config;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package config;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8
9 package config::non_cataloged_type;
10 use base qw/config/;
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 #-------------------------------------------------------------------------------
15
16 package config::standing;
17 use base qw/config/;
18 __PACKAGE__->table('config_standing');
19 __PACKAGE__->columns(Primary => 'id');
20 __PACKAGE__->columns(Essential => qw/value/);
21 #-------------------------------------------------------------------------------
22
23 package config::bib_source;
24 use base qw/config/;
25 __PACKAGE__->table('config_bib_source');
26 __PACKAGE__->columns(Primary => 'id');
27 __PACKAGE__->columns(Essential => qw/quality source transcendant can_have_copies/);
28 #-------------------------------------------------------------------------------
29
30 package config::metabib_field;
31 use base qw/config/;
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 #-------------------------------------------------------------------------------
36
37 package config::metabib_field_virtual_map;
38 use base qw/config/;
39 __PACKAGE__->table('config_metabib_field_virtual_map');
40 __PACKAGE__->columns(Primary => 'id');
41 __PACKAGE__->columns(Essential => qw/real virtual/);
42 #-------------------------------------------------------------------------------
43
44 package config::identification_type;
45 use base qw/config/;
46 __PACKAGE__->table('config_identification_type');
47 __PACKAGE__->columns(Primary => 'id');
48 __PACKAGE__->columns(Essential => qw/name/);
49 #-------------------------------------------------------------------------------
50
51 package config::rules::circ_duration;
52 use base qw/config/;
53 __PACKAGE__->table('config_rule_circ_duration');
54 __PACKAGE__->columns(Primary => 'id');
55 __PACKAGE__->columns(Essential => qw/name extended normal shrt max_renewals max_auto_renewals/);
56 #-------------------------------------------------------------------------------
57
58 package config::rules::max_fine;
59 use base qw/config/;
60 __PACKAGE__->table('config_rule_max_fine');
61 __PACKAGE__->columns(Primary => 'id');
62 __PACKAGE__->columns(Essential => qw/name amount is_percent/);
63 #-------------------------------------------------------------------------------
64
65 package config::rules::recurring_fine;
66 use base qw/config/;
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 #-------------------------------------------------------------------------------
71
72 package config::rules::age_hold_protect;
73 use base qw/config/;
74 __PACKAGE__->table('config_rule_age_hold_protect');
75 __PACKAGE__->columns(Primary => 'id');
76 __PACKAGE__->columns(Essential => qw/name age prox/);
77 #-------------------------------------------------------------------------------
78
79 package config::copy_status;
80 use base qw/config/;
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 #-------------------------------------------------------------------------------
85
86 package config::net_access_level;
87 use base qw/config/;
88 __PACKAGE__->table('config_net_access_level');
89 __PACKAGE__->columns(Primary => 'id');
90 __PACKAGE__->columns(Essential => qw/name/);
91 #-------------------------------------------------------------------------------
92
93 package config::audience_map;
94 use base qw/config/;
95 __PACKAGE__->table('config_audience_map');
96 __PACKAGE__->columns(Primary => 'code');
97 __PACKAGE__->columns(Essential => qw/value description/);
98 #-------------------------------------------------------------------------------
99
100 package config::lit_form_map;
101 use base qw/config/;
102 __PACKAGE__->table('config_lit_form_map');
103 __PACKAGE__->columns(Primary => 'code');
104 __PACKAGE__->columns(Essential => qw/value description/);
105 #-------------------------------------------------------------------------------
106
107 package config::item_form_map;
108 use base qw/config/;
109 __PACKAGE__->table('config_lit_form_map');
110 __PACKAGE__->columns(Primary => 'code');
111 __PACKAGE__->columns(Essential => qw/value/);
112 #-------------------------------------------------------------------------------
113
114 package config::item_type_map;
115 use base qw/config/;
116 __PACKAGE__->table('config_lit_form_map');
117 __PACKAGE__->columns(Primary => 'code');
118 __PACKAGE__->columns(Essential => qw/value/);
119 #-------------------------------------------------------------------------------
120
121 package config::language_map;
122 use base qw/config/;
123 __PACKAGE__->table('config_language_map');
124 __PACKAGE__->columns(Primary => 'code');
125 __PACKAGE__->columns(Essential => qw/value/);
126 #-------------------------------------------------------------------------------
127
128 package config::i18n_locale;
129 use base qw/config/;
130 __PACKAGE__->table('config_i18n_locale');
131 __PACKAGE__->columns(Primary => 'code');
132 __PACKAGE__->columns(Essential => qw/marc_code name description/);
133 #-------------------------------------------------------------------------------
134
135 package config::i18n_core;
136 use base qw/config/;
137 __PACKAGE__->table('config_i18n_core');
138 __PACKAGE__->columns(Primary => 'id');
139 __PACKAGE__->columns(Essential => qw/fq_field identity_value translation string/);
140 #-------------------------------------------------------------------------------
141
142
143 1;
144