add opac_visible flag to config.copy_status; make Reserves status "available" in...
[Evergreen.git] / Open-ILS / src / perlmods / 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/);
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/);
35 #-------------------------------------------------------------------------------
36
37 package config::identification_type;
38 use base qw/config/;
39 __PACKAGE__->table('config_identifaction_type');
40 __PACKAGE__->columns(Primary => 'id');
41 __PACKAGE__->columns(Essential => qw/name/);
42 #-------------------------------------------------------------------------------
43
44 package config::rules::circ_duration;
45 use base qw/config/;
46 __PACKAGE__->table('config_rule_circ_duration');
47 __PACKAGE__->columns(Primary => 'id');
48 __PACKAGE__->columns(Essential => qw/name extended normal shrt max_renewals/);
49 #-------------------------------------------------------------------------------
50
51 package config::rules::max_fine;
52 use base qw/config/;
53 __PACKAGE__->table('config_rule_max_fine');
54 __PACKAGE__->columns(Primary => 'id');
55 __PACKAGE__->columns(Essential => qw/name amount/);
56 #-------------------------------------------------------------------------------
57
58 package config::rules::recuring_fine;
59 use base qw/config/;
60 __PACKAGE__->table('config_rule_recuring_fine');
61 __PACKAGE__->columns(Primary => 'id');
62 __PACKAGE__->columns(Essential => qw/name high normal low recurance_interval/);
63 #-------------------------------------------------------------------------------
64
65 package config::rules::age_hold_protect;
66 use base qw/config/;
67 __PACKAGE__->table('config_rule_age_hold_protect');
68 __PACKAGE__->columns(Primary => 'id');
69 __PACKAGE__->columns(Essential => qw/name age prox/);
70 #-------------------------------------------------------------------------------
71
72 package config::copy_status;
73 use base qw/config/;
74 __PACKAGE__->table('config_copy_status');
75 __PACKAGE__->columns(Primary => 'id');
76 __PACKAGE__->columns(Essential => qw/name holdable opac_visible/);
77 #-------------------------------------------------------------------------------
78
79 package config::net_access_level;
80 use base qw/config/;
81 __PACKAGE__->table('config_net_access_level');
82 __PACKAGE__->columns(Primary => 'id');
83 __PACKAGE__->columns(Essential => qw/name/);
84 #-------------------------------------------------------------------------------
85
86 package config::audience_map;
87 use base qw/config/;
88 __PACKAGE__->table('config_audience_map');
89 __PACKAGE__->columns(Primary => 'code');
90 __PACKAGE__->columns(Essential => qw/value description/);
91 #-------------------------------------------------------------------------------
92
93 package config::lit_form_map;
94 use base qw/config/;
95 __PACKAGE__->table('config_lit_form_map');
96 __PACKAGE__->columns(Primary => 'code');
97 __PACKAGE__->columns(Essential => qw/value description/);
98 #-------------------------------------------------------------------------------
99
100 package config::item_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/);
105 #-------------------------------------------------------------------------------
106
107 package config::item_type_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::language_map;
115 use base qw/config/;
116 __PACKAGE__->table('config_language_map');
117 __PACKAGE__->columns(Primary => 'code');
118 __PACKAGE__->columns(Essential => qw/value/);
119 #-------------------------------------------------------------------------------
120
121
122 1;
123