Lines 43-48
Patron associated with request
Link Here
|
43 |
=head2 biblio_id |
43 |
=head2 biblio_id |
44 |
|
44 |
|
45 |
data_type: 'integer' |
45 |
data_type: 'integer' |
|
|
46 |
is_foreign_key: 1 |
46 |
is_nullable: 1 |
47 |
is_nullable: 1 |
47 |
|
48 |
|
48 |
Potential bib linked to request |
49 |
Potential bib linked to request |
Lines 187-193
__PACKAGE__->add_columns(
Link Here
|
187 |
"borrowernumber", |
188 |
"borrowernumber", |
188 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
189 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
189 |
"biblio_id", |
190 |
"biblio_id", |
190 |
{ data_type => "integer", is_nullable => 1 }, |
191 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
191 |
"due_date", |
192 |
"due_date", |
192 |
{ |
193 |
{ |
193 |
data_type => "datetime", |
194 |
data_type => "datetime", |
Lines 245-250
__PACKAGE__->set_primary_key("illrequest_id");
Link Here
|
245 |
|
246 |
|
246 |
=head1 RELATIONS |
247 |
=head1 RELATIONS |
247 |
|
248 |
|
|
|
249 |
=head2 biblio |
250 |
|
251 |
Type: belongs_to |
252 |
|
253 |
Related object: L<Koha::Schema::Result::Biblio> |
254 |
|
255 |
=cut |
256 |
|
257 |
__PACKAGE__->belongs_to( |
258 |
"biblio", |
259 |
"Koha::Schema::Result::Biblio", |
260 |
{ biblionumber => "biblio_id" }, |
261 |
{ |
262 |
is_deferrable => 1, |
263 |
join_type => "LEFT", |
264 |
on_delete => "SET NULL", |
265 |
on_update => "CASCADE", |
266 |
}, |
267 |
); |
268 |
|
248 |
=head2 borrowernumber |
269 |
=head2 borrowernumber |
249 |
|
270 |
|
250 |
Type: belongs_to |
271 |
Type: belongs_to |
Lines 331-338
__PACKAGE__->belongs_to(
Link Here
|
331 |
); |
352 |
); |
332 |
|
353 |
|
333 |
|
354 |
|
334 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-23 18:44:13 |
355 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-04-26 08:46:17 |
335 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:on9OCRON/U0uR+m9aPIKPg |
356 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:a/x5km4Wh3NDancIsj9NwA |
336 |
|
357 |
|
337 |
__PACKAGE__->has_many( |
358 |
__PACKAGE__->has_many( |
338 |
"comments", |
359 |
"comments", |
339 |
- |
|
|