]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/CDBI/serial.pm
Merge branch 'master' of git://git.evergreen-ils.org/Evergreen into ttopac
[working/Evergreen.git] / Open-ILS / src / perlmods / lib / OpenILS / Application / Storage / CDBI / serial.pm
1 package OpenILS::Application::Storage::CDBI::serial;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package serial;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8 package serial::subscription;
9 use base qw/serial/;
10
11 __PACKAGE__->table( 'serial_subscription' );
12 __PACKAGE__->columns( Primary => qw/id/ );
13 __PACKAGE__->columns( Essential => qw/record_entry start_date end_date
14                                    expected_date_offset owning_lib/ );
15
16 #-------------------------------------------------------------------------------
17 package serial::issuance;
18 use base qw/serial/;
19
20 __PACKAGE__->table( 'serial_issuance' );
21 __PACKAGE__->columns( Primary => qw/id/ );
22 __PACKAGE__->columns( Essential => qw/creator editor create_date edit_date
23                                       subscription label date_published
24                                       caption_and_pattern holding_code
25                                       holding_type holding_link_id/ );
26
27 #-------------------------------------------------------------------------------
28 package serial::item;
29 use base qw/serial/;
30
31 __PACKAGE__->table( 'serial_item' );
32 __PACKAGE__->columns( Primary => qw/id/ );
33 __PACKAGE__->columns( Essential => qw/creator editor create_date edit_date
34                                       issuance stream unit uri date_expected
35                                       date_received/ );
36
37 #-------------------------------------------------------------------------------
38 package serial::unit;
39 use base qw/serial/;
40
41 __PACKAGE__->table( 'serial_unit' );
42 __PACKAGE__->columns( Primary => qw/id/ );
43 __PACKAGE__->columns( Essential => qw/call_number barcode creator create_date editor
44                                    edit_date copy_number status loan_duration circ_lib
45                                    fine_level circulate deposit price ref opac_visible dummy_isbn
46                                    circ_as_type circ_modifier deposit_amount location mint_condition
47                                    holdable dummy_title dummy_author deleted alert_message
48                                    age_protect floating summary_contents detailed_contents active_date/ );
49
50 #-------------------------------------------------------------------------------
51 package serial::record_entry;
52 use base qw/serial/;
53
54 __PACKAGE__->table( 'serial_record_entry' );
55 __PACKAGE__->columns( Primary => qw/id/ );
56 __PACKAGE__->columns( Essential => qw/active record create_date creator
57                         deleted edit_date editor id last_xact_id marc source
58                         owning_lib/ );
59
60
61 1;
62