|
Lines 334-339
__PACKAGE__->belongs_to(
Link Here
|
| 334 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-23 18:44:13 |
334 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-06-23 18:44:13 |
| 335 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:on9OCRON/U0uR+m9aPIKPg |
335 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:on9OCRON/U0uR+m9aPIKPg |
| 336 |
|
336 |
|
|
|
337 |
__PACKAGE__->has_many( |
| 338 |
"comments", |
| 339 |
"Koha::Schema::Result::Illcomment", |
| 340 |
{ "foreign.illrequest_id" => "self.illrequest_id" }, |
| 341 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 342 |
); |
| 343 |
|
| 344 |
__PACKAGE__->has_many( |
| 345 |
"ill_extended_attributes", |
| 346 |
"Koha::Schema::Result::Illrequestattribute", |
| 347 |
{ "foreign.illrequest_id" => "self.illrequest_id" }, |
| 348 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 349 |
); |
| 350 |
|
| 351 |
__PACKAGE__->belongs_to( |
| 352 |
"library", |
| 353 |
"Koha::Schema::Result::Branch", |
| 354 |
{ branchcode => "branchcode" }, |
| 355 |
{ is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" }, |
| 356 |
); |
| 357 |
|
| 358 |
__PACKAGE__->belongs_to( |
| 359 |
"patron", |
| 360 |
"Koha::Schema::Result::Borrower", |
| 361 |
{ borrowernumber => "borrowernumber" }, |
| 362 |
{ |
| 363 |
is_deferrable => 1, |
| 364 |
join_type => "LEFT", |
| 365 |
on_delete => "CASCADE", |
| 366 |
on_update => "CASCADE", |
| 367 |
}, |
| 368 |
); |
| 337 |
|
369 |
|
| 338 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
|
|
| 339 |
1; |
370 |
1; |
| 340 |
- |
|
|