1 package OpenILS::Application::Storage::CDBI::asset;
4 #-------------------------------------------------------------------------------
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package asset::call_number;
11 __PACKAGE__->table( 'asset_call_number' );
12 __PACKAGE__->columns( Primary => qw/id/ );
13 __PACKAGE__->columns( Essential => qw/record label creator create_date editor edit_date record label owning_lib/ );
15 #-------------------------------------------------------------------------------
16 package asset::call_number_note;
19 __PACKAGE__->table( 'asset_call_number_note' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Essential => qw/owning_call_number title creator create_date value/ );
23 #-------------------------------------------------------------------------------
27 __PACKAGE__->table( 'asset_copy' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
30 edit_date copy_number available loan_duration circ_lib
31 fine_level circulate deposit price ref opac_visible
32 circ_as_type circ_modifier deposit_amount/ );
34 #-------------------------------------------------------------------------------
35 package asset::stat_cat;
38 __PACKAGE__->table( 'asset_stat_cat' );
39 __PACKAGE__->columns( Primary => qw/id/ );
40 __PACKAGE__->columns( Essential => qw/owner name opac_visible/ );
42 #-------------------------------------------------------------------------------
43 package asset::stat_cat_entry;
46 __PACKAGE__->table( 'asset_stat_cat_entry' );
47 __PACKAGE__->columns( Primary => qw/id/ );
48 __PACKAGE__->columns( Essential => qw/owner value/ );
50 #-------------------------------------------------------------------------------
51 package asset::stat_cat_entry_copy_map;
54 __PACKAGE__->table( 'asset_stat_cat_entry_copy_map' );
55 __PACKAGE__->columns( Primary => qw/id/ );
56 __PACKAGE__->columns( Essential => qw/stat_cat stat_cat_entry owning_copy/ );
58 #-------------------------------------------------------------------------------
59 package asset::copy_note;
62 __PACKAGE__->table( 'asset_copy_note' );
63 __PACKAGE__->columns( Primary => qw/id/ );
64 __PACKAGE__->columns( Essential => qw/owning_copy title creator create_date value/ );
66 #-------------------------------------------------------------------------------