]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm
96dd471d3140de43c7c065a822f336cf5783ef7b
[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::call_number;
9 use base qw/asset/;
10
11 __PACKAGE__->table( 'asset_call_number' );
12 __PACKAGE__->columns( Primary => qw/id/ );
13 __PACKAGE__->columns( Others => qw/record label creator create_date editor edit_date record label owning_lib/ );
14
15 #-------------------------------------------------------------------------------
16 package asset::call_number_note;
17 use base qw/asset/;
18
19 __PACKAGE__->table( 'asset_call_number' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Others => qw/owning_call_number title creator create_date value/ );
22
23 #-------------------------------------------------------------------------------
24 package asset::copy;
25 use base qw/asset/;
26
27 __PACKAGE__->table( 'asset_copy' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Others => qw/call_number barcode creator create_date editor edit_date copy_number status home_lib loan_duration fine_level circulate deposit price ref opac_visible genre audience shelving_loc/ );
30
31 #-------------------------------------------------------------------------------
32 package asset::copy_note;
33 use base qw/asset/;
34
35 __PACKAGE__->table( 'asset_call_number' );
36 __PACKAGE__->columns( Primary => qw/id/ );
37 __PACKAGE__->columns( Others => qw/owning_copy title creator create_date value/ );
38
39 #-------------------------------------------------------------------------------
40
41
42 1;
43