2 package Koha::Schema::Result::BranchesOverdrive;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BranchesOverdrive
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<branches_overdrive>
22 __PACKAGE__->table("branches_overdrive");
41 __PACKAGE__->add_columns(
43 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
45 { data_type => "varchar", is_nullable => 0, size => 255 },
52 =item * L</branchcode>
58 __PACKAGE__->set_primary_key("branchcode");
66 Related object: L<Koha::Schema::Result::Branch>
70 __PACKAGE__->belongs_to(
72 "Koha::Schema::Result::Branch",
73 { branchcode => "branchcode" },
74 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
78 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-09 10:38:33
79 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fEZWWtF4MRDwupI/27laDw
81 sub koha_object_class {
82 'Koha::Library::OverDriveInfo';
84 sub koha_objects_class {
85 'Koha::Library::OverDriveInfos';