]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm
adding deposit_amount
[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
30                                    edit_date copy_number status home_lib loan_duration
31                                    fine_level circulate deposit price ref opac_visible
32                                    genre audience shelving_loc deposit_amount/ );
33
34 #-------------------------------------------------------------------------------
35 package asset::copy_note;
36 use base qw/asset/;
37
38 __PACKAGE__->table( 'asset_copy_note' );
39 __PACKAGE__->columns( Primary => qw/id/ );
40 __PACKAGE__->columns( Others => qw/owning_copy title creator create_date value/ );
41
42 #-------------------------------------------------------------------------------
43
44
45 1;
46