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