1 package OpenILS::Application::Storage::CDBI::asset;
4 #-------------------------------------------------------------------------------
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package asset::copy_location;
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/ );
15 #-------------------------------------------------------------------------------
16 package asset::copy_location_order;
19 __PACKAGE__->table( 'asset_copy_location_order' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Essential => qw/location org position/ );
23 #-------------------------------------------------------------------------------
24 package asset::call_number_class;
27 __PACKAGE__->table( 'asset_call_number_class' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Essential => qw/name normalizer field/ );
31 #-------------------------------------------------------------------------------
32 package asset::call_number;
35 __PACKAGE__->table( 'asset_call_number' );
36 __PACKAGE__->columns( Primary => qw/id/ );
37 __PACKAGE__->columns( Essential => qw/record label creator create_date editor
38 edit_date record label owning_lib deleted label_class label_sortkey/ );
40 #-------------------------------------------------------------------------------
41 package asset::call_number_note;
44 __PACKAGE__->table( 'asset_call_number_note' );
45 __PACKAGE__->columns( Primary => qw/id/ );
46 __PACKAGE__->columns( Essential => qw/call_number title creator create_date value pub/ );
48 #-------------------------------------------------------------------------------
52 __PACKAGE__->table( 'asset_copy' );
53 __PACKAGE__->columns( Primary => qw/id/ );
54 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
55 edit_date copy_number status loan_duration circ_lib dummy_isbn
56 fine_level circulate deposit price ref opac_visible
57 circ_as_type circ_modifier deposit_amount location mint_condition
58 holdable dummy_title dummy_author deleted alert_message
59 age_protect floating cost status_changed_time/ );
61 #-------------------------------------------------------------------------------
62 package asset::stat_cat;
65 __PACKAGE__->table( 'asset_stat_cat' );
66 __PACKAGE__->columns( Primary => qw/id/ );
67 __PACKAGE__->columns( Essential => qw/owner name opac_visible required/ );
69 #-------------------------------------------------------------------------------
70 package asset::stat_cat_entry;
73 __PACKAGE__->table( 'asset_stat_cat_entry' );
74 __PACKAGE__->columns( Primary => qw/id/ );
75 __PACKAGE__->columns( Essential => qw/stat_cat owner value/ );
77 #-------------------------------------------------------------------------------
78 package asset::stat_cat_entry_copy_map;
81 __PACKAGE__->table( 'asset_stat_cat_entry_copy_map' );
82 __PACKAGE__->columns( Primary => qw/id/ );
83 __PACKAGE__->columns( Essential => qw/stat_cat stat_cat_entry owning_copy/ );
85 #-------------------------------------------------------------------------------
86 package asset::copy_note;
89 __PACKAGE__->table( 'asset_copy_note' );
90 __PACKAGE__->columns( Primary => qw/id/ );
91 __PACKAGE__->columns( Essential => qw/owning_copy title creator create_date value pub/ );
93 #-------------------------------------------------------------------------------