1 package OpenILS::Application::Storage::CDBI::action;
4 #-------------------------------------------------------------------------------
6 use base qw/OpenILS::Application::Storage::CDBI/;
7 #-------------------------------------------------------------------------------
9 package action::survey;
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 #-------------------------------------------------------------------------------
17 package action::survey_question;
19 __PACKAGE__->table('action_survey_question');
20 __PACKAGE__->columns(Primary => 'id');
21 __PACKAGE__->columns(Essential => qw/survey question/);
22 #-------------------------------------------------------------------------------
25 package action::survey_answer;
27 __PACKAGE__->table('action_survey_answer');
28 __PACKAGE__->columns(Primary => 'id');
29 __PACKAGE__->columns(Essential => qw/question answer/);
30 #-------------------------------------------------------------------------------
32 package action::survey_response;
34 __PACKAGE__->table('action_survey_response');
35 __PACKAGE__->columns(Primary => 'id');
36 __PACKAGE__->columns(Essential => qw/response_group_id usr survey question
37 answer answer_date effective_date/);
38 #-------------------------------------------------------------------------------
40 package action::circulation;
42 __PACKAGE__->table('action_circulation');
43 __PACKAGE__->columns(Primary => 'id');
44 __PACKAGE__->columns(Essential => qw/xact_start usr target_copy circ_lib
45 duration duration_rule renewal_remaining
46 recuring_fine_rule recuring_fine stop_fines
47 max_fine max_fine_rule fine_interval
48 stop_fines xact_finish due_date opac_renewal
49 checkin_staff circ_staff circ_lib checkin_lib
50 stop_fines_time checkin_time desk_renewal
53 #-------------------------------------------------------------------------------
55 package action::open_circulation;
57 __PACKAGE__->table('action_open_circulation');
58 __PACKAGE__->columns(Primary => 'id');
59 __PACKAGE__->columns(Essential => qw/xact_start usr target_copy circ_lib
60 duration duration_rule renewal_remaining
61 recuring_fine_rule recuring_fine stop_fines
62 max_fine max_fine_rule fine_interval
63 stop_fines xact_finish due_date opac_renewal
64 checkin_staff circ_staff circ_lib checkin_lib
65 stop_fines_time checkin_time desk_renewal
68 #-------------------------------------------------------------------------------
70 package action::hold_request;
72 __PACKAGE__->table('action_hold_request');
73 __PACKAGE__->columns(Primary => 'id');
74 __PACKAGE__->columns(Essential => qw/request_time capture_time fulfillment_time
75 prev_check_time expire_time requestor usr
76 hold_type holdable_formats target
77 phone_notify email_notify selection_depth
78 pickup_lib current_copy request_lib
79 fulfillment_staff fulfillment_lib/);
81 #-------------------------------------------------------------------------------
83 package action::hold_notification;
85 __PACKAGE__->table('action_hold_notification');
86 __PACKAGE__->columns(Primary => 'id');
87 __PACKAGE__->columns(Essential => qw/hold method notify_time note/);
89 #-------------------------------------------------------------------------------
91 package action::hold_copy_map;
93 __PACKAGE__->table('action_hold_copy_map');
94 __PACKAGE__->columns(Primary => 'id');
95 __PACKAGE__->columns(Essential => qw/hold target_copy/);
97 #-------------------------------------------------------------------------------
99 package action::hold_transit_copy;
101 __PACKAGE__->table('action_hold_transit_copy');
102 __PACKAGE__->columns(Primary => 'id');
103 __PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
104 source_send_time dest_recv_time prev_hop
107 #-------------------------------------------------------------------------------
109 package action::transit_copy;
111 __PACKAGE__->table('action_transit_copy');
112 __PACKAGE__->columns(Primary => 'id');
113 __PACKAGE__->columns(Essential => qw/source dest persistant_transfer target_copy
114 source_send_time dest_recv_time prev_hop
117 #-------------------------------------------------------------------------------
119 package action::unfulfilled_hold_list;
121 __PACKAGE__->table('action_unfulfilled_hold_list');
122 __PACKAGE__->columns(Primary => 'id');
123 __PACKAGE__->columns(Essential => qw/hold current_copy circ_lib fail_time /);
125 #-------------------------------------------------------------------------------