updates to support corner cases in circ
[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_item;
10 use base qw/config/;
11 __PACKAGE__->table('config_non_cataloged_item');
12 __PACKAGE__->columns(Primary => 'id');
13 __PACKAGE__->columns(Essential => qw/owning_lib name/);
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/);
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/);
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/);
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
87 1;
88