]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/config.pm
big changes in little china
[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::bib_source;
10 use base qw/config/;
11 __PACKAGE__->table('config_bib_source');
12 __PACKAGE__->columns(Primary => 'id');
13 __PACKAGE__->columns(Essential => qw/quality source/);
14 #-------------------------------------------------------------------------------
15
16 package config::metabib_field;
17 use base qw/config/;
18 __PACKAGE__->table('config_metabib_field');
19 __PACKAGE__->columns(Primary => 'id');
20 __PACKAGE__->columns(Essential => qw/field_class name xpath/);
21 #-------------------------------------------------------------------------------
22
23 package config::identification_type;
24 use base qw/config/;
25 __PACKAGE__->table('config_identifaction_type');
26 __PACKAGE__->columns(Primary => 'id');
27 __PACKAGE__->columns(Essential => qw/name/);
28 #-------------------------------------------------------------------------------
29
30 package config::rules::circ_duration;
31 use base qw/config/;
32 __PACKAGE__->table('config_rule_circ_duration');
33 __PACKAGE__->columns(Primary => 'id');
34 __PACKAGE__->columns(Essential => qw/name extended normal short max_renewals/);
35 #-------------------------------------------------------------------------------
36
37 package config::rules::max_fine;
38 use base qw/config/;
39 __PACKAGE__->table('config_rule_max_fine');
40 __PACKAGE__->columns(Primary => 'id');
41 __PACKAGE__->columns(Essential => qw/name amount/);
42 #-------------------------------------------------------------------------------
43
44 package config::rules::recuring_fine;
45 use base qw/config/;
46 __PACKAGE__->table('config_rule_recuring_fine');
47 __PACKAGE__->columns(Primary => 'id');
48 __PACKAGE__->columns(Essential => qw/name high normal low/);
49 #-------------------------------------------------------------------------------
50
51 package config::rules::age_hold_protect;
52 use base qw/config/;
53 __PACKAGE__->table('config_rule_age_hold_protect');
54 __PACKAGE__->columns(Primary => 'id');
55 __PACKAGE__->columns(Essential => qw/name age radius/);
56 #-------------------------------------------------------------------------------
57
58
59 1;
60