]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/asset.pm
39eb01b2adbee47841b97f31c4012006d3fb0561
[working/Evergreen.git] / Open-ILS / src / perlmods / lib / 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 hold_verify opac_visible circulate label_prefix label_suffix/ );
14
15 #-------------------------------------------------------------------------------
16 package asset::copy_location_order;
17 use base qw/asset/;
18
19 __PACKAGE__->table( 'asset_copy_location_order' );
20 __PACKAGE__->columns( Primary => qw/id/ );
21 __PACKAGE__->columns( Essential => qw/location org position/ );
22
23 #-------------------------------------------------------------------------------
24 package asset::call_number_class;
25 use base qw/asset/;
26
27 __PACKAGE__->table( 'asset_call_number_class' );
28 __PACKAGE__->columns( Primary => qw/id/ );
29 __PACKAGE__->columns( Essential => qw/name normalizer field/ );
30
31 #-------------------------------------------------------------------------------
32 package asset::call_number;
33 use base qw/asset/;
34
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/ );
39
40 #-------------------------------------------------------------------------------
41 package asset::call_number_note;
42 use base qw/asset/;
43
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/ );
47
48 #-------------------------------------------------------------------------------
49 package asset::copy;
50 use base qw/asset/;
51
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/ );
60
61 #-------------------------------------------------------------------------------
62 package asset::stat_cat;
63 use base qw/asset/;
64
65 __PACKAGE__->table( 'asset_stat_cat' );
66 __PACKAGE__->columns( Primary => qw/id/ );
67 __PACKAGE__->columns( Essential => qw/owner name opac_visible required/ );
68
69 #-------------------------------------------------------------------------------
70 package asset::stat_cat_entry;
71 use base qw/asset/;
72
73 __PACKAGE__->table( 'asset_stat_cat_entry' );
74 __PACKAGE__->columns( Primary => qw/id/ );
75 __PACKAGE__->columns( Essential => qw/stat_cat owner value/ );
76
77 #-------------------------------------------------------------------------------
78 package asset::stat_cat_entry_copy_map;
79 use base qw/asset/;
80
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/ );
84
85 #-------------------------------------------------------------------------------
86 package asset::copy_note;
87 use base qw/asset/;
88
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/ );
92
93 #-------------------------------------------------------------------------------
94
95
96 1;
97