|
Lines 40-45
ILL request number
Link Here
|
| 40 |
|
40 |
|
| 41 |
Patron associated with request |
41 |
Patron associated with request |
| 42 |
|
42 |
|
|
|
43 |
=head2 managedby |
| 44 |
|
| 45 |
data_type: 'integer' |
| 46 |
is_foreign_key: 1 |
| 47 |
is_nullable: 1 |
| 48 |
|
| 49 |
Staff member manager of request |
| 50 |
|
| 43 |
=head2 biblio_id |
51 |
=head2 biblio_id |
| 44 |
|
52 |
|
| 45 |
data_type: 'integer' |
53 |
data_type: 'integer' |
|
Lines 202-207
__PACKAGE__->add_columns(
Link Here
|
| 202 |
}, |
210 |
}, |
| 203 |
"borrowernumber", |
211 |
"borrowernumber", |
| 204 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
212 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
|
213 |
"managedby", |
| 214 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 205 |
"biblio_id", |
215 |
"biblio_id", |
| 206 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
216 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 207 |
"deleted_biblio_id", |
217 |
"deleted_biblio_id", |
|
Lines 370-375
__PACKAGE__->has_many(
Link Here
|
| 370 |
{ cascade_copy => 0, cascade_delete => 0 }, |
380 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 371 |
); |
381 |
); |
| 372 |
|
382 |
|
|
|
383 |
=head2 managedby |
| 384 |
|
| 385 |
Type: belongs_to |
| 386 |
|
| 387 |
Related object: L<Koha::Schema::Result::Borrower> |
| 388 |
|
| 389 |
=cut |
| 390 |
|
| 391 |
__PACKAGE__->belongs_to( |
| 392 |
"managedby", |
| 393 |
"Koha::Schema::Result::Borrower", |
| 394 |
{ borrowernumber => "managedby" }, |
| 395 |
{ |
| 396 |
is_deferrable => 1, |
| 397 |
join_type => "LEFT", |
| 398 |
on_delete => "SET NULL", |
| 399 |
on_update => "CASCADE", |
| 400 |
}, |
| 401 |
); |
| 402 |
|
| 373 |
=head2 status_alias |
403 |
=head2 status_alias |
| 374 |
|
404 |
|
| 375 |
Type: belongs_to |
405 |
Type: belongs_to |
|
Lines 391-398
__PACKAGE__->belongs_to(
Link Here
|
| 391 |
); |
421 |
); |
| 392 |
|
422 |
|
| 393 |
|
423 |
|
| 394 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-03-07 16:59:58 |
424 |
# Created by DBIx::Class::Schema::Loader v0.07051 @ 2025-10-14 15:51:05 |
| 395 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+LJD6O0ZLhsml2/43CSgBg |
425 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qHLdWJzaN0G3l/MauUId8g |
| 396 |
|
426 |
|
| 397 |
__PACKAGE__->has_many( |
427 |
__PACKAGE__->has_many( |
| 398 |
"comments", |
428 |
"comments", |
| 399 |
- |
|
|