]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm
cd57a8d93b7e92186d1649a83ea46f90a9e471f5
[Evergreen.git] / Open-ILS / src / perlmods / 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/ );
14
15 #-------------------------------------------------------------------------------
16 package asset::call_number;
17 use base qw/asset/;
18
19 __PACKAGE__->table( 'asset_call_number' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Essential => qw/record label creator create_date editor
22                                    edit_date record label owning_lib deleted/ );
23
24 #-------------------------------------------------------------------------------
25 package asset::call_number_note;
26 use base qw/asset/;
27
28 __PACKAGE__->table( 'asset_call_number_note' );
29 __PACKAGE__->columns( Primary => qw/id/ );
30 __PACKAGE__->columns( Essential => qw/call_number title creator create_date value pub/ );
31
32 #-------------------------------------------------------------------------------
33 package asset::copy;
34 use base qw/asset/;
35
36 __PACKAGE__->table( 'asset_copy' );
37 __PACKAGE__->columns( Primary => qw/id/ );
38 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
39                                    edit_date copy_number status loan_duration circ_lib
40                                    fine_level circulate deposit price ref opac_visible
41                                    circ_as_type circ_modifier deposit_amount location
42                                    holdable dummy_title dummy_author deleted alert_message
43                                    age_protect/ );
44
45 #-------------------------------------------------------------------------------
46 package asset::stat_cat;
47 use base qw/asset/;
48
49 __PACKAGE__->table( 'asset_stat_cat' );
50 __PACKAGE__->columns( Primary => qw/id/ );
51 __PACKAGE__->columns( Essential => qw/owner name opac_visible/ );
52
53 #-------------------------------------------------------------------------------
54 package asset::stat_cat_entry;
55 use base qw/asset/;
56
57 __PACKAGE__->table( 'asset_stat_cat_entry' );
58 __PACKAGE__->columns( Primary => qw/id/ );
59 __PACKAGE__->columns( Essential => qw/stat_cat owner value/ );
60
61 #-------------------------------------------------------------------------------
62 package asset::stat_cat_entry_copy_map;
63 use base qw/asset/;
64
65 __PACKAGE__->table( 'asset_stat_cat_entry_copy_map' );
66 __PACKAGE__->columns( Primary => qw/id/ );
67 __PACKAGE__->columns( Essential => qw/stat_cat stat_cat_entry owning_copy/ );
68
69 #-------------------------------------------------------------------------------
70 package asset::copy_note;
71 use base qw/asset/;
72
73 __PACKAGE__->table( 'asset_copy_note' );
74 __PACKAGE__->columns( Primary => qw/id/ );
75 __PACKAGE__->columns( Essential => qw/owning_copy title creator create_date value pub/ );
76
77 #-------------------------------------------------------------------------------
78
79
80 1;
81