]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/action.pm
c8d6bec80d65f56fd4407d0661c7fbc43cc0fcdd
[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::in_house_use;
10 use base qw/action/;
11 __PACKAGE__->table('action_in_house_use');
12 __PACKAGE__->columns(Primary => 'id');
13 __PACKAGE__->columns(Essential => qw/item staff org_unit use_time/);
14 #-------------------------------------------------------------------------------
15
16 package action::non_cat_in_house_use;
17 use base qw/action/;
18 __PACKAGE__->table('action_non_cat_in_house_use');
19 __PACKAGE__->columns(Primary => 'id');
20 __PACKAGE__->columns(Essential => qw/item_type staff org_unit use_time/);
21 #-------------------------------------------------------------------------------
22
23 package action::non_cataloged_circulation;
24 use base qw/action/;
25 __PACKAGE__->table('action_non_cataloged_circulation');
26 __PACKAGE__->columns(Primary => 'id');
27 __PACKAGE__->columns(Essential => qw/patron staff circ_lib item_type circ_time/);
28 #-------------------------------------------------------------------------------
29
30 package action::survey;
31 use base qw/action/;
32 __PACKAGE__->table('action_survey');
33 __PACKAGE__->columns(Primary => 'id');
34 __PACKAGE__->columns(Essential => qw/name description owner start_date
35                                      end_date usr_summary opac poll required/);
36 #-------------------------------------------------------------------------------
37
38 package action::survey_question;
39 use base qw/action/;
40 __PACKAGE__->table('action_survey_question');
41 __PACKAGE__->columns(Primary => 'id');
42 __PACKAGE__->columns(Essential => qw/survey question/);
43 #-------------------------------------------------------------------------------
44
45
46 package action::survey_answer;
47 use base qw/action/;
48 __PACKAGE__->table('action_survey_answer');
49 __PACKAGE__->columns(Primary => 'id');
50 __PACKAGE__->columns(Essential => qw/question answer/);
51 #-------------------------------------------------------------------------------
52
53 package action::survey_response;
54 use base qw/action/;
55 __PACKAGE__->table('action_survey_response');
56 __PACKAGE__->columns(Primary => 'id');
57 __PACKAGE__->columns(Essential => qw/response_group_id usr survey question
58                                      answer answer_date effective_date/);
59 #-------------------------------------------------------------------------------
60
61 package action::circulation;
62 use base qw/action/;
63 __PACKAGE__->table('action_circulation');
64 __PACKAGE__->columns(Primary => 'id');
65 __PACKAGE__->columns(Essential => qw/xact_start usr target_copy circ_lib
66                                      duration duration_rule renewal_remaining
67                                      recuring_fine_rule recuring_fine stop_fines
68                                      max_fine max_fine_rule fine_interval
69                                      stop_fines xact_finish due_date opac_renewal
70                                      checkin_staff circ_staff circ_lib checkin_lib
71                                      stop_fines_time checkin_time desk_renewal
72                                      phone_renewal/);
73
74 #-------------------------------------------------------------------------------
75
76 package action::open_circulation;
77 use base qw/action/;
78 __PACKAGE__->table('action_open_circulation');
79 __PACKAGE__->columns(Primary => 'id');
80 __PACKAGE__->columns(Essential => qw/xact_start usr target_copy circ_lib
81                                      duration duration_rule renewal_remaining
82                                      recuring_fine_rule recuring_fine stop_fines
83                                      max_fine max_fine_rule fine_interval
84                                      stop_fines xact_finish due_date opac_renewal
85                                      checkin_staff circ_staff circ_lib checkin_lib
86                                      stop_fines_time checkin_time desk_renewal
87                                      phone_renewal/);
88
89 #-------------------------------------------------------------------------------
90
91 package action::hold_request;
92 use base qw/action/;
93 __PACKAGE__->table('action_hold_request');
94 __PACKAGE__->columns(Primary => 'id');
95 __PACKAGE__->columns(Essential => qw/request_time capture_time fulfillment_time
96                                      prev_check_time expire_time requestor usr
97                                      hold_type holdable_formats target cancel_time
98                                      phone_notify email_notify selection_depth
99                                      pickup_lib current_copy request_lib frozen thaw_date
100                                      fulfillment_staff fulfillment_lib selection_ou/);
101
102 #-------------------------------------------------------------------------------
103
104 package action::hold_notification;
105 use base qw/action/;
106 __PACKAGE__->table('action_hold_notification');
107 __PACKAGE__->columns(Primary => 'id');
108 __PACKAGE__->columns(Essential => qw/hold method notify_time note notify_staff/);
109
110 #-------------------------------------------------------------------------------
111
112 package action::hold_copy_map;
113 use base qw/action/;
114 __PACKAGE__->table('action_hold_copy_map');
115 __PACKAGE__->columns(Primary => 'id');
116 __PACKAGE__->columns(Essential => qw/hold target_copy/);
117
118 #-------------------------------------------------------------------------------
119
120 package action::hold_transit_copy;
121 use base qw/action/;
122 __PACKAGE__->table('action_hold_transit_copy');
123 __PACKAGE__->columns(Primary => 'id');
124 __PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
125                                      source_send_time dest_recv_time prev_hop
126                                      copy_status hold/);
127
128 #-------------------------------------------------------------------------------
129
130 package action::transit_copy;
131 use base qw/action/;
132 __PACKAGE__->table('action_transit_copy');
133 __PACKAGE__->columns(Primary => 'id');
134 __PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
135                                      source_send_time dest_recv_time prev_hop
136                                      copy_status/);
137
138 #-------------------------------------------------------------------------------
139
140 package action::unfulfilled_hold_list;
141 use base qw/action/;
142 __PACKAGE__->table('action_unfulfilled_hold_list');
143 __PACKAGE__->columns(Primary => 'id');
144 __PACKAGE__->columns(Essential => qw/hold current_copy circ_lib fail_time /);
145
146 #-------------------------------------------------------------------------------
147
148 1;
149