Bug 25501: Supress warnings on installing translation
[koha.git] / Koha / Schema / Result / BranchesOverdrive.pm
blob6a430415b99ff603ad3096e4f4f5c325e86d5721
1 use utf8;
2 package Koha::Schema::Result::BranchesOverdrive;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::BranchesOverdrive
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<branches_overdrive>
20 =cut
22 __PACKAGE__->table("branches_overdrive");
24 =head1 ACCESSORS
26 =head2 branchcode
28 data_type: 'varchar'
29 is_foreign_key: 1
30 is_nullable: 0
31 size: 10
33 =head2 authname
35 data_type: 'varchar'
36 is_nullable: 0
37 size: 255
39 =cut
41 __PACKAGE__->add_columns(
42 "branchcode",
43 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
44 "authname",
45 { data_type => "varchar", is_nullable => 0, size => 255 },
48 =head1 PRIMARY KEY
50 =over 4
52 =item * L</branchcode>
54 =back
56 =cut
58 __PACKAGE__->set_primary_key("branchcode");
60 =head1 RELATIONS
62 =head2 branchcode
64 Type: belongs_to
66 Related object: L<Koha::Schema::Result::Branch>
68 =cut
70 __PACKAGE__->belongs_to(
71 "branchcode",
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';