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'
127 __PACKAGE__->add_columns(
129 { data_type => "integer", is_nullable => 0 },
131 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
133 { data_type => "date", is_nullable => 1 },
135 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
137 { data_type => "varchar", is_nullable => 1, size => 1 },
139 { data_type => "varchar", is_nullable => 1, size => 10 },
141 { data_type => "date", is_nullable => 1 },
143 { data_type => "date", is_nullable => 1 },
145 { data_type => "date", is_nullable => 1 },
147 { data_type => "mediumtext", is_nullable => 1 },
149 { data_type => "smallint", is_nullable => 1 },
151 { data_type => "varchar", is_nullable => 1, size => 1 },
154 data_type => "timestamp",
155 default_value => \"current_timestamp",
159 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
161 { data_type => "date", is_nullable => 1 },
163 { data_type => "date", is_nullable => 1 },
165 { data_type => "tinyint", is_nullable => 0 },
167 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
169 { data_type => "datetime", is_nullable => 1 },
171 __PACKAGE__->set_primary_key("reserve_id");
175 =head2 borrowernumber
179 Related object: L<Koha::Schema::Result::Borrower>
183 __PACKAGE__->belongs_to(
185 "Koha::Schema::Result::Borrower",
186 { borrowernumber => "borrowernumber" },
187 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
194 Related object: L<Koha::Schema::Result::Biblio>
198 __PACKAGE__->belongs_to(
200 "Koha::Schema::Result::Biblio",
201 { biblionumber => "biblionumber" },
202 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
209 Related object: L<Koha::Schema::Result::Item>
213 __PACKAGE__->belongs_to(
215 "Koha::Schema::Result::Item",
216 { itemnumber => "itemnumber" },
217 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
221 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
222 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1b1FcIuOJ5ZRU2apc6swkQ
225 # You can replace this text with custom content, and it will be preserved on regeneration