|
Lines 409-414
__PACKAGE__->has_many(
Link Here
|
| 409 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 |
409 |
# Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-10-01 07:08:47 |
| 410 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:otCex8qzJmZyc+JXpKNdpQ |
410 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:otCex8qzJmZyc+JXpKNdpQ |
| 411 |
|
411 |
|
|
|
412 |
__PACKAGE__->has_many( |
| 413 |
"biblioitem", |
| 414 |
"Koha::Schema::Result::Biblioitem", |
| 415 |
{ "foreign.biblionumber" => "self.biblionumber" }, |
| 416 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 417 |
); |
| 412 |
|
418 |
|
| 413 |
__PACKAGE__->has_one( |
419 |
__PACKAGE__->has_one( |
| 414 |
"metadata", |
420 |
"metadata", |
|
Lines 424-429
__PACKAGE__->has_many(
Link Here
|
| 424 |
{ cascade_copy => 0, cascade_delete => 0 }, |
430 |
{ cascade_copy => 0, cascade_delete => 0 }, |
| 425 |
); |
431 |
); |
| 426 |
|
432 |
|
|
|
433 |
=head2 koha_object_class |
| 434 |
|
| 435 |
Returns related Koha::Object class name |
| 436 |
|
| 437 |
=cut |
| 438 |
|
| 439 |
sub koha_object_class { |
| 440 |
'Koha::Biblio'; |
| 441 |
} |
| 442 |
|
| 443 |
=head2 koha_objects_class |
| 444 |
|
| 445 |
Returns related Koha::Objects class name |
| 446 |
|
| 447 |
=cut |
| 448 |
|
| 449 |
sub koha_objects_class { |
| 450 |
'Koha::Biblios'; |
| 451 |
} |
| 452 |
|
| 427 |
__PACKAGE__->add_columns( |
453 |
__PACKAGE__->add_columns( |
| 428 |
"+serial" => { is_boolean => 1 } |
454 |
"+serial" => { is_boolean => 1 } |
| 429 |
); |
455 |
); |