1 package OpenILS::Application::Storage::CDBI::action;
4 #-------------------------------------------------------------------------------
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
9 package action::in_house_use;
11 __PACKAGE__->table('action_in_house_use');
12 __PACKAGE__->columns(Primary => 'id');
13 __PACKAGE__->columns(Essential => qw/item staff org_unit use_time/);
14 #-------------------------------------------------------------------------------
16 package action::non_cat_in_house_use;
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 #-------------------------------------------------------------------------------
23 package action::non_cataloged_circulation;
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 #-------------------------------------------------------------------------------
30 package action::survey;
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 #-------------------------------------------------------------------------------
38 package action::survey_question;
40 __PACKAGE__->table('action_survey_question');
41 __PACKAGE__->columns(Primary => 'id');
42 __PACKAGE__->columns(Essential => qw/survey question/);
43 #-------------------------------------------------------------------------------
46 package action::survey_answer;
48 __PACKAGE__->table('action_survey_answer');
49 __PACKAGE__->columns(Primary => 'id');
50 __PACKAGE__->columns(Essential => qw/question answer/);
51 #-------------------------------------------------------------------------------
53 package action::survey_response;
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 #-------------------------------------------------------------------------------
61 package action::circulation;
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 grace_period
67 recurring_fine_rule recurring_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 create_time copy_location/);
74 #-------------------------------------------------------------------------------
76 package action::open_circulation;
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 grace_period
82 recurring_fine_rule recurring_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
89 #-------------------------------------------------------------------------------
91 package action::hold_request;
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 cancel_cause
97 hold_type holdable_formats target cancel_time shelf_time
98 phone_notify email_notify sms_notify sms_carrier selection_depth cancel_note
99 pickup_lib current_copy request_lib frozen thaw_date mint_condition
100 fulfillment_staff fulfillment_lib selection_ou cut_in_line
101 shelf_expire_time current_shelf_lib behind_desk/);
103 #-------------------------------------------------------------------------------
105 package action::hold_notification;
107 __PACKAGE__->table('action_hold_notification');
108 __PACKAGE__->columns(Primary => 'id');
109 __PACKAGE__->columns(Essential => qw/hold method notify_time note notify_staff/);
111 #-------------------------------------------------------------------------------
113 package action::hold_copy_map;
115 __PACKAGE__->table('action_hold_copy_map');
116 __PACKAGE__->columns(Primary => 'id');
117 __PACKAGE__->columns(Essential => qw/hold target_copy proximity/);
119 #-------------------------------------------------------------------------------
121 package action::hold_transit_copy;
123 __PACKAGE__->table('action_hold_transit_copy');
124 __PACKAGE__->columns(Primary => 'id');
125 __PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
126 source_send_time dest_recv_time prev_hop prev_dest
127 cancel_time copy_status hold/);
129 #-------------------------------------------------------------------------------
131 package action::reservation_transit_copy;
133 __PACKAGE__->table('action_reservation_transit_copy');
134 __PACKAGE__->columns(Primary => 'id');
135 __PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
136 source_send_time dest_recv_time prev_hop prev_dest
137 cancel_time copy_status reservation/);
139 #-------------------------------------------------------------------------------
141 package action::transit_copy;
143 __PACKAGE__->table('action_transit_copy');
144 __PACKAGE__->columns(Primary => 'id');
145 __PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
146 source_send_time dest_recv_time prev_hop prev_dest
147 cancel_time copy_status/);
149 #-------------------------------------------------------------------------------
151 package action::unfulfilled_hold_list;
153 __PACKAGE__->table('action_unfulfilled_hold_list');
154 __PACKAGE__->columns(Primary => 'id');
155 __PACKAGE__->columns(Essential => qw/hold current_copy circ_lib fail_time /);
157 #-------------------------------------------------------------------------------