]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm
30109dbf27034888418eaf3c61e04e35b28f9152
[working/Evergreen.git] / Open-ILS / src / perlmods / lib / OpenILS / Application / Storage / CDBI / asset.pm
1 package OpenILS::Application::Storage::CDBI::asset;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package asset;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package asset::copy_location;
9 use base qw/asset/;
10
11 __PACKAGE__->table( 'asset_copy_location' );
12 __PACKAGE__->columns( Primary => qw/id/ );
13 __PACKAGE__->columns( Essential => qw/name owning_lib holdable hold_verify opac_visible circulate label_prefix label_suffix checkin_alert/ );
14
15 #-------------------------------------------------------------------------------
16 package asset::copy_location_order;
17 use base qw/asset/;
18
19 __PACKAGE__->table( 'asset_copy_location_order' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Essential => qw/location org position/ );
22
23 #-------------------------------------------------------------------------------
24 package asset::call_number_suffix;
25 use base qw/asset/;
26
27 __PACKAGE__->table( 'asset_call_number_suffix' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Essential => qw/owning_lib label label_sortkey/ );
30
31 #-------------------------------------------------------------------------------
32 package asset::call_number_prefix;
33 use base qw/asset/;
34
35 __PACKAGE__->table( 'asset_call_number_prefix' );
36 __PACKAGE__->columns( Primary => qw/id/ );
37 __PACKAGE__->columns( Essential => qw/owning_lib label label_sortkey/ );
38
39 #-------------------------------------------------------------------------------
40 package asset::call_number_class;
41 use base qw/asset/;
42
43 __PACKAGE__->table( 'asset_call_number_class' );
44 __PACKAGE__->columns( Primary => qw/id/ );
45 __PACKAGE__->columns( Essential => qw/name normalizer field/ );
46
47 #-------------------------------------------------------------------------------
48 package asset::call_number;
49 use base qw/asset/;
50
51 __PACKAGE__->table( 'asset_call_number' );
52 __PACKAGE__->columns( Primary => qw/id/ );
53 __PACKAGE__->columns( Essential => qw/record label creator create_date editor prefix suffix
54                    edit_date record label owning_lib deleted label_class label_sortkey/ );
55
56 #-------------------------------------------------------------------------------
57 package asset::call_number_note;
58 use base qw/asset/;
59
60 __PACKAGE__->table( 'asset_call_number_note' );
61 __PACKAGE__->columns( Primary => qw/id/ );
62 __PACKAGE__->columns( Essential => qw/call_number title creator create_date value pub/ );
63
64 #-------------------------------------------------------------------------------
65 package asset::copy;
66 use base qw/asset/;
67
68 __PACKAGE__->table( 'asset_copy' );
69 __PACKAGE__->columns( Primary => qw/id/ );
70 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
71                    edit_date copy_number status loan_duration circ_lib dummy_isbn
72                    fine_level circulate deposit price ref opac_visible
73                    circ_as_type circ_modifier deposit_amount location mint_condition
74                    holdable dummy_title dummy_author deleted alert_message
75                    age_protect floating cost status_changed_time active_date/ );
76
77 #-------------------------------------------------------------------------------
78 package asset::copy_part_map;
79 use base qw/asset/;
80
81 __PACKAGE__->table( 'asset_copy_part_map' );
82 __PACKAGE__->columns( Primary => qw/id/ );
83 __PACKAGE__->columns( Essential => qw/target_copy part/);
84
85 #-------------------------------------------------------------------------------
86 package asset::stat_cat;
87 use base qw/asset/;
88
89 __PACKAGE__->table( 'asset_stat_cat' );
90 __PACKAGE__->columns( Primary => qw/id/ );
91 __PACKAGE__->columns( Essential => qw/owner name opac_visible sip_field sip_format required checkout_archive/ );
92
93 #-------------------------------------------------------------------------------
94 package asset::stat_cat_entry;
95 use base qw/asset/;
96
97 __PACKAGE__->table( 'asset_stat_cat_entry' );
98 __PACKAGE__->columns( Primary => qw/id/ );
99 __PACKAGE__->columns( Essential => qw/stat_cat owner value/ );
100
101 #-------------------------------------------------------------------------------
102 package asset::stat_cat_entry_copy_map;
103 use base qw/asset/;
104
105 __PACKAGE__->table( 'asset_stat_cat_entry_copy_map' );
106 __PACKAGE__->columns( Primary => qw/id/ );
107 __PACKAGE__->columns( Essential => qw/stat_cat stat_cat_entry owning_copy/ );
108
109 #-------------------------------------------------------------------------------
110 package asset::copy_note;
111 use base qw/asset/;
112
113 __PACKAGE__->table( 'asset_copy_note' );
114 __PACKAGE__->columns( Primary => qw/id/ );
115 __PACKAGE__->columns( Essential => qw/owning_copy title creator create_date value pub/ );
116
117 #-------------------------------------------------------------------------------
118
119
120 1;
121