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_suffix;
27 __PACKAGE__->table( 'asset_call_number_suffix' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Essential => qw/owning_lib label label_sortkey/ );
31 #-------------------------------------------------------------------------------
32 package asset::call_number_prefix;
35 __PACKAGE__->table( 'asset_call_number_prefix' );
36 __PACKAGE__->columns( Primary => qw/id/ );
37 __PACKAGE__->columns( Essential => qw/owning_lib label label_sortkey/ );
39 #-------------------------------------------------------------------------------
40 package asset::call_number_class;
43 __PACKAGE__->table( 'asset_call_number_class' );
44 __PACKAGE__->columns( Primary => qw/id/ );
45 __PACKAGE__->columns( Essential => qw/name normalizer field/ );
47 #-------------------------------------------------------------------------------
48 package asset::call_number;
51 __PACKAGE__->table( 'asset_call_number' );
52 __PACKAGE__->columns( Primary => qw/id/ );
53 __PACKAGE__->columns( Essential => qw/record label creator create_date editor prefix suffix
54 edit_date record label owning_lib deleted label_class label_sortkey/ );
56 #-------------------------------------------------------------------------------
57 package asset::call_number_note;
60 __PACKAGE__->table( 'asset_call_number_note' );
61 __PACKAGE__->columns( Primary => qw/id/ );
62 __PACKAGE__->columns( Essential => qw/call_number title creator create_date value pub/ );
64 #-------------------------------------------------------------------------------
68 __PACKAGE__->table( 'asset_copy' );
69 __PACKAGE__->columns( Primary => qw/id/ );
70 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
71 edit_date copy_number status loan_duration circ_lib dummy_isbn
72 fine_level circulate deposit price ref opac_visible
73 circ_as_type circ_modifier deposit_amount location mint_condition
74 holdable dummy_title dummy_author deleted alert_message
75 age_protect floating cost status_changed_time/ );
77 #-------------------------------------------------------------------------------
78 package asset::copy_part_map;
81 __PACKAGE__->table( 'asset_copy_part_map' );
82 __PACKAGE__->columns( Primary => qw/id/ );
83 __PACKAGE__->columns( Essential => qw/target_copy part/);
85 #-------------------------------------------------------------------------------
86 package asset::stat_cat;
89 __PACKAGE__->table( 'asset_stat_cat' );
90 __PACKAGE__->columns( Primary => qw/id/ );
91 __PACKAGE__->columns( Essential => qw/owner name opac_visible required/ );
93 #-------------------------------------------------------------------------------
94 package asset::stat_cat_entry;
97 __PACKAGE__->table( 'asset_stat_cat_entry' );
98 __PACKAGE__->columns( Primary => qw/id/ );
99 __PACKAGE__->columns( Essential => qw/stat_cat owner value/ );
101 #-------------------------------------------------------------------------------
102 package asset::stat_cat_entry_copy_map;
105 __PACKAGE__->table( 'asset_stat_cat_entry_copy_map' );
106 __PACKAGE__->columns( Primary => qw/id/ );
107 __PACKAGE__->columns( Essential => qw/stat_cat stat_cat_entry owning_copy/ );
109 #-------------------------------------------------------------------------------
110 package asset::copy_note;
113 __PACKAGE__->table( 'asset_copy_note' );
114 __PACKAGE__->columns( Primary => qw/id/ );
115 __PACKAGE__->columns( Essential => qw/owning_copy title creator create_date value pub/ );
117 #-------------------------------------------------------------------------------