asset setup
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / CDBI / asset.pm
index 7a24db8..96dd471 100644 (file)
@@ -10,7 +10,15 @@ use base qw/asset/;
 
 __PACKAGE__->table( 'asset_call_number' );
 __PACKAGE__->columns( Primary => qw/id/ );
-__PACKAGE__->columns( Others => qw/record label/ );
+__PACKAGE__->columns( Others => qw/record label creator create_date editor edit_date record label owning_lib/ );
+
+#-------------------------------------------------------------------------------
+package asset::call_number_note;
+use base qw/asset/;
+
+__PACKAGE__->table( 'asset_call_number' );
+__PACKAGE__->columns( Primary => qw/id/ );
+__PACKAGE__->columns( Others => qw/owning_call_number title creator create_date value/ );
 
 #-------------------------------------------------------------------------------
 package asset::copy;
@@ -18,16 +26,18 @@ use base qw/asset/;
 
 __PACKAGE__->table( 'asset_copy' );
 __PACKAGE__->columns( Primary => qw/id/ );
-__PACKAGE__->columns( Others => qw/call_number barcode/ );
+__PACKAGE__->columns( Others => qw/call_number barcode creator create_date editor edit_date copy_number status home_lib loan_duration fine_level circulate deposit price ref opac_visible genre audience shelving_loc/ );
 
 #-------------------------------------------------------------------------------
-package asset::copy_metadata;
+package asset::copy_note;
 use base qw/asset/;
 
-__PACKAGE__->table( 'asset_copy_metadata' );
+__PACKAGE__->table( 'asset_call_number' );
 __PACKAGE__->columns( Primary => qw/id/ );
-__PACKAGE__->columns( Others => qw/checkout_status circulating_location hold_radius/ );
+__PACKAGE__->columns( Others => qw/owning_copy title creator create_date value/ );
 
 #-------------------------------------------------------------------------------
+
+
 1;