2 package Koha
::Schema
::Result
::OldReserve
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::OldReserve
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<old_reserves>
22 __PACKAGE__
->table("old_reserves");
40 datetime_undef_if_invalid: 1
55 =head2 notificationdate
58 datetime_undef_if_invalid: 1
64 datetime_undef_if_invalid: 1
67 =head2 cancellationdate
70 datetime_undef_if_invalid: 1
91 data_type: 'timestamp'
92 datetime_undef_if_invalid: 1
93 default_value: current_timestamp
105 datetime_undef_if_invalid: 1
108 =head2 expirationdate
111 datetime_undef_if_invalid: 1
114 =head2 lowestPriority
116 accessor: 'lowest_priority'
129 data_type: 'datetime'
130 datetime_undef_if_invalid: 1
140 =head2 item_level_hold
148 __PACKAGE__
->add_columns(
150 { data_type
=> "integer", is_nullable
=> 0 },
152 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
154 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
156 { data_type
=> "integer", is_foreign_key
=> 1, is_nullable
=> 1 },
158 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
160 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
162 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
164 { data_type
=> "date", datetime_undef_if_invalid
=> 1, is_nullable
=> 1 },
166 { data_type
=> "longtext", is_nullable
=> 1 },
168 { data_type
=> "smallint", is_nullable
=> 0 },
170 { data_type
=> "varchar", is_nullable
=> 1, size
=> 1 },
173 data_type
=> "timestamp",
174 datetime_undef_if_invalid
=> 1,
175 default_value
=> \"current_timestamp
",
179 { data_type => "integer
", is_foreign_key => 1, is_nullable => 1 },
181 { data_type => "date
", datetime_undef_if_invalid => 1, is_nullable => 1 },
183 { data_type => "date
", datetime_undef_if_invalid => 1, is_nullable => 1 },
186 accessor => "lowest_priority
",
187 data_type => "tinyint
",
192 { data_type => "tinyint
", default_value => 0, is_nullable => 0 },
195 data_type => "datetime
",
196 datetime_undef_if_invalid => 1,
200 { data_type => "varchar
", is_foreign_key => 1, is_nullable => 1, size => 10 },
202 { data_type => "tinyint
", default_value => 0, is_nullable => 0 },
209 =item * L</reserve_id>
215 __PACKAGE__->set_primary_key("reserve_id
");
223 Related object: L<Koha::Schema::Result::Biblio>
227 __PACKAGE__->belongs_to(
229 "Koha
::Schema
::Result
::Biblio
",
230 { biblionumber => "biblionumber
" },
234 on_delete => "SET NULL
",
235 on_update => "SET NULL
",
239 =head2 borrowernumber
243 Related object: L<Koha::Schema::Result::Borrower>
247 __PACKAGE__->belongs_to(
249 "Koha
::Schema
::Result
::Borrower
",
250 { borrowernumber => "borrowernumber
" },
254 on_delete => "SET NULL
",
255 on_update => "SET NULL
",
263 Related object: L<Koha::Schema::Result::Item>
267 __PACKAGE__->belongs_to(
269 "Koha
::Schema
::Result
::Item
",
270 { itemnumber => "itemnumber
" },
274 on_delete => "SET NULL
",
275 on_update => "SET NULL
",
283 Related object: L<Koha::Schema::Result::Itemtype>
287 __PACKAGE__->belongs_to(
289 "Koha
::Schema
::Result
::Itemtype
",
290 { itemtype => "itemtype
" },
294 on_delete => "SET NULL
",
295 on_update => "SET NULL
",
300 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2020-03-18 08:36:19
301 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:RDZP4TEaFZUexg9jVg6DbA
303 sub koha_object_class {
306 sub koha_objects_class {