]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/asset.pm
field name adjustments
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / CDBI / asset.pm
1 package OpenILS::Application::Storage::CDBI::asset;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package asset;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package asset::copy_location;
9 use base qw/asset/;
10
11 __PACKAGE__->table( 'asset_copy_location' );
12 __PACKAGE__->columns( Primary => qw/id/ );
13 __PACKAGE__->columns( Essential => qw/name owning_lib holdable opac_visible circulate/ );
14
15 #-------------------------------------------------------------------------------
16 package asset::call_number;
17 use base qw/asset/;
18
19 __PACKAGE__->table( 'asset_call_number' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Essential => qw/record label creator create_date editor edit_date record label owning_lib/ );
22
23 #-------------------------------------------------------------------------------
24 package asset::call_number_note;
25 use base qw/asset/;
26
27 __PACKAGE__->table( 'asset_call_number_note' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Essential => qw/call_number title creator create_date value/ );
30
31 #-------------------------------------------------------------------------------
32 package asset::copy;
33 use base qw/asset/;
34
35 __PACKAGE__->table( 'asset_copy' );
36 __PACKAGE__->columns( Primary => qw/id/ );
37 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
38                                    edit_date copy_number status loan_duration circ_lib
39                                    fine_level circulate deposit price ref opac_visible
40                                    circ_as_type circ_modifier deposit_amount location/ );
41
42 #-------------------------------------------------------------------------------
43 package asset::stat_cat;
44 use base qw/asset/;
45
46 __PACKAGE__->table( 'asset_stat_cat' );
47 __PACKAGE__->columns( Primary => qw/id/ );
48 __PACKAGE__->columns( Essential => qw/owner name opac_visible/ );
49
50 #-------------------------------------------------------------------------------
51 package asset::stat_cat_entry;
52 use base qw/asset/;
53
54 __PACKAGE__->table( 'asset_stat_cat_entry' );
55 __PACKAGE__->columns( Primary => qw/id/ );
56 __PACKAGE__->columns( Essential => qw/stat_cat owner value/ );
57
58 #-------------------------------------------------------------------------------
59 package asset::stat_cat_entry_copy_map;
60 use base qw/asset/;
61
62 __PACKAGE__->table( 'asset_stat_cat_entry_copy_map' );
63 __PACKAGE__->columns( Primary => qw/id/ );
64 __PACKAGE__->columns( Essential => qw/stat_cat stat_cat_entry owning_copy/ );
65
66 #-------------------------------------------------------------------------------
67 package asset::copy_note;
68 use base qw/asset/;
69
70 __PACKAGE__->table( 'asset_copy_note' );
71 __PACKAGE__->columns( Primary => qw/id/ );
72 __PACKAGE__->columns( Essential => qw/owning_copy title creator create_date value/ );
73
74 #-------------------------------------------------------------------------------
75
76
77 1;
78