]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/action.pm
adjusting fields for action::circulation
[Evergreen.git] / Open-ILS / src / perlmods / OpenILS / Application / Storage / CDBI / action.pm
1 package OpenILS::Application::Storage::CDBI::action;
2 our $VERSION = 1;
3
4 #-------------------------------------------------------------------------------
5 package action;
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
8
9 package action::survey;
10 use base qw/action/;
11 __PACKAGE__->table('action_survey');
12 __PACKAGE__->columns(Primary => 'id');
13 __PACKAGE__->columns(Essential => qw/name description owner start_date
14                                      end_date usr_summary opac poll required/);
15 #-------------------------------------------------------------------------------
16
17 package action::survey_question;
18 use base qw/action/;
19 __PACKAGE__->table('action_survey_question');
20 __PACKAGE__->columns(Primary => 'id');
21 __PACKAGE__->columns(Essential => qw/survey question/);
22 #-------------------------------------------------------------------------------
23
24
25 package action::survey_answer;
26 use base qw/action/;
27 __PACKAGE__->table('action_survey_answer');
28 __PACKAGE__->columns(Primary => 'id');
29 __PACKAGE__->columns(Essential => qw/question answer/);
30 #-------------------------------------------------------------------------------
31
32 package action::survey_response;
33 use base qw/action/;
34 __PACKAGE__->table('action_survey_response');
35 __PACKAGE__->columns(Primary => 'id');
36 __PACKAGE__->columns(Essential => qw/usr survey question answer answer_date effective_date/);
37 #-------------------------------------------------------------------------------
38
39 package action::circulation;
40 use base qw/action/;
41 __PACKAGE__->table('action_circulation');
42 __PACKAGE__->columns(Primary => 'id');
43 __PACKAGE__->columns(Essential => qw/xact_start usr target_copy circ_lib
44                                      duration duration_rule renewal_remaining
45                                      recuring_fine_rule recuring_fine stop_fines
46                                      max_fine max_fine_rule fine_interval
47                                      stop_fines xact_finish/);
48
49 #-------------------------------------------------------------------------------
50
51 1;
52