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 checkin_alert deleted/ );
15 #-------------------------------------------------------------------------------
16 package asset::copy_location_group;
19 __PACKAGE__->table( 'asset_copy_location_group' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Essential => qw/name owner pos top opac_visible/ );
23 #-------------------------------------------------------------------------------
24 package asset::copy_location_order;
27 __PACKAGE__->table( 'asset_copy_location_order' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Essential => qw/location org position/ );
31 #-------------------------------------------------------------------------------
32 package asset::call_number_suffix;
35 __PACKAGE__->table( 'asset_call_number_suffix' );
36 __PACKAGE__->columns( Primary => qw/id/ );
37 __PACKAGE__->columns( Essential => qw/owning_lib label label_sortkey/ );
39 #-------------------------------------------------------------------------------
40 package asset::call_number_prefix;
43 __PACKAGE__->table( 'asset_call_number_prefix' );
44 __PACKAGE__->columns( Primary => qw/id/ );
45 __PACKAGE__->columns( Essential => qw/owning_lib label label_sortkey/ );
47 #-------------------------------------------------------------------------------
48 package asset::call_number_class;
51 __PACKAGE__->table( 'asset_call_number_class' );
52 __PACKAGE__->columns( Primary => qw/id/ );
53 __PACKAGE__->columns( Essential => qw/name normalizer field/ );
55 #-------------------------------------------------------------------------------
56 package asset::call_number;
59 __PACKAGE__->table( 'asset_call_number' );
60 __PACKAGE__->columns( Primary => qw/id/ );
61 __PACKAGE__->columns( Essential => qw/record label creator create_date editor prefix suffix
62 edit_date record label owning_lib deleted label_class label_sortkey/ );
64 #-------------------------------------------------------------------------------
65 package asset::call_number_note;
68 __PACKAGE__->table( 'asset_call_number_note' );
69 __PACKAGE__->columns( Primary => qw/id/ );
70 __PACKAGE__->columns( Essential => qw/call_number title creator create_date value pub/ );
72 #-------------------------------------------------------------------------------
76 __PACKAGE__->table( 'asset_copy' );
77 __PACKAGE__->columns( Primary => qw/id/ );
78 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
79 edit_date copy_number status loan_duration circ_lib dummy_isbn
80 fine_level circulate deposit price ref opac_visible
81 circ_as_type circ_modifier deposit_amount location mint_condition
82 holdable dummy_title dummy_author deleted alert_message
83 age_protect floating cost status_changed_time active_date/ );
85 #-------------------------------------------------------------------------------
86 package asset::copy_part_map;
89 __PACKAGE__->table( 'asset_copy_part_map' );
90 __PACKAGE__->columns( Primary => qw/id/ );
91 __PACKAGE__->columns( Essential => qw/target_copy part/);
93 #-------------------------------------------------------------------------------
94 package asset::stat_cat;
97 __PACKAGE__->table( 'asset_stat_cat' );
98 __PACKAGE__->columns( Primary => qw/id/ );
99 __PACKAGE__->columns( Essential => qw/owner name opac_visible sip_field sip_format required checkout_archive/ );
101 #-------------------------------------------------------------------------------
102 package asset::stat_cat_entry;
105 __PACKAGE__->table( 'asset_stat_cat_entry' );
106 __PACKAGE__->columns( Primary => qw/id/ );
107 __PACKAGE__->columns( Essential => qw/stat_cat owner value/ );
109 #-------------------------------------------------------------------------------
110 package asset::stat_cat_entry_copy_map;
113 __PACKAGE__->table( 'asset_stat_cat_entry_copy_map' );
114 __PACKAGE__->columns( Primary => qw/id/ );
115 __PACKAGE__->columns( Essential => qw/stat_cat stat_cat_entry owning_copy/ );
117 #-------------------------------------------------------------------------------
118 package asset::copy_note;
121 __PACKAGE__->table( 'asset_copy_note' );
122 __PACKAGE__->columns( Primary => qw/id/ );
123 __PACKAGE__->columns( Essential => qw/owning_copy title creator create_date value pub/ );
125 #-------------------------------------------------------------------------------