1 package Koha::Schema::Result::OldReserve;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::OldReserve
18 __PACKAGE__->table("old_reserves");
56 =head2 notificationdate
66 =head2 cancellationdate
73 data_type: 'mediumtext'
89 data_type: 'timestamp'
90 default_value: current_timestamp
104 =head2 expirationdate
109 =head2 lowestpriority
122 data_type: 'datetime'
132 __PACKAGE__->add_columns(
134 { data_type => "integer", is_nullable => 0 },
136 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
138 { data_type => "date", is_nullable => 1 },
140 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
142 { data_type => "varchar", is_nullable => 1, size => 1 },
144 { data_type => "varchar", is_nullable => 1, size => 10 },
146 { data_type => "date", is_nullable => 1 },
148 { data_type => "date", is_nullable => 1 },
150 { data_type => "date", is_nullable => 1 },
152 { data_type => "mediumtext", is_nullable => 1 },
154 { data_type => "smallint", is_nullable => 1 },
156 { data_type => "varchar", is_nullable => 1, size => 1 },
159 data_type => "timestamp",
160 default_value => \"current_timestamp",
164 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
166 { data_type => "date", is_nullable => 1 },
168 { data_type => "date", is_nullable => 1 },
170 { data_type => "tinyint", is_nullable => 0 },
172 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
174 { data_type => "datetime", is_nullable => 1 },
176 { data_type => "date", is_nullable => 1 },
178 __PACKAGE__->set_primary_key("reserve_id");
182 =head2 borrowernumber
186 Related object: L<Koha::Schema::Result::Borrower>
190 __PACKAGE__->belongs_to(
192 "Koha::Schema::Result::Borrower",
193 { borrowernumber => "borrowernumber" },
194 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
201 Related object: L<Koha::Schema::Result::Biblio>
205 __PACKAGE__->belongs_to(
207 "Koha::Schema::Result::Biblio",
208 { biblionumber => "biblionumber" },
209 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
216 Related object: L<Koha::Schema::Result::Item>
220 __PACKAGE__->belongs_to(
222 "Koha::Schema::Result::Item",
223 { itemnumber => "itemnumber" },
224 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
228 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-06-18 13:13:57
229 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ni1RNxdeOoypM+GwYu1vAQ
232 # You can replace this text with custom content, and it will be preserved on regeneration