]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/container.pm
adding a "public" flag to buckets
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / CDBI / container.pm
1 package OpenILS::Application::Storage::CDBI::container;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package container;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package container::user_bucket;
9 use base qw/container/;
10
11 container::user_bucket->table( 'container_user_bucket' );
12 container::user_bucket->columns( All => qw/id owner name btype public/ );
13
14 #-------------------------------------------------------------------------------
15 package container::user_bucket_item;
16 use base qw/container/;
17
18 container::user_bucket_item->table( 'container_user_bucket_item' );
19 container::user_bucket_item->columns( All => qw/id bucket target_user/ );
20
21 #-------------------------------------------------------------------------------
22 package container::copy_bucket;
23 use base qw/container/;
24
25 container::copy_bucket->table( 'container_copy_bucket' );
26 container::copy_bucket->columns( All => qw/id owner name btype public/ );
27
28 #-------------------------------------------------------------------------------
29 package container::copy_bucket_item;
30 use base qw/container/;
31
32 container::copy_bucket_item->table( 'container_copy_bucket_item' );
33 container::copy_bucket_item->columns( All => qw/id bucket target_copy/ );
34
35 #-------------------------------------------------------------------------------
36 package container::biblio_record_entry_bucket;
37 use base qw/container/;
38
39 container::biblio_record_entry_bucket->table( 'container_biblio_record_entry_bucket' );
40 container::biblio_record_entry_bucket->columns( All => qw/id owner name btype public/ );
41
42 #-------------------------------------------------------------------------------
43 package container::biblio_record_entry_bucket_item;
44 use base qw/container/;
45
46 container::biblio_record_entry_bucket_item->table( 'container_biblio_record_entry_bucket_item' );
47 container::biblio_record_entry_bucket_item->columns( All => qw/id bucket target_biblio_record_entry/ );
48
49 #-------------------------------------------------------------------------------
50 package container::call_number_bucket;
51 use base qw/container/;
52
53 container::call_number_bucket->table( 'container_call_number_bucket' );
54 container::call_number_bucket->columns( All => qw/id owner name btype public/ );
55
56 #-------------------------------------------------------------------------------
57 package container::call_number_bucket_item;
58 use base qw/container/;
59
60 container::call_number_bucket_item->table( 'container_call_number_bucket_item' );
61 container::call_number_bucket_item->columns( All => qw/id bucket target_call_number/ );
62
63
64 1;
65