Bug 14279: Remove CGI::scrolling_list from issues_avg_stats.pl
[koha.git] / Koha / Schema / Result / AuthorisedValuesBranch.pm
blob35bb493fa9db202a2a7181175fa327516a6712f8
1 use utf8;
2 package Koha::Schema::Result::AuthorisedValuesBranch;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::AuthorisedValuesBranch
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<authorised_values_branches>
20 =cut
22 __PACKAGE__->table("authorised_values_branches");
24 =head1 ACCESSORS
26 =head2 av_id
28 data_type: 'integer'
29 is_foreign_key: 1
30 is_nullable: 1
32 =head2 branchcode
34 data_type: 'varchar'
35 is_foreign_key: 1
36 is_nullable: 1
37 size: 10
39 =cut
41 __PACKAGE__->add_columns(
42 "av_id",
43 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
44 "branchcode",
45 { data_type => "varchar", is_foreign_key => 1, is_nullable => 1, size => 10 },
48 =head1 RELATIONS
50 =head2 av
52 Type: belongs_to
54 Related object: L<Koha::Schema::Result::AuthorisedValue>
56 =cut
58 __PACKAGE__->belongs_to(
59 "av",
60 "Koha::Schema::Result::AuthorisedValue",
61 { id => "av_id" },
63 is_deferrable => 1,
64 join_type => "LEFT",
65 on_delete => "CASCADE",
66 on_update => "RESTRICT",
70 =head2 branchcode
72 Type: belongs_to
74 Related object: L<Koha::Schema::Result::Branch>
76 =cut
78 __PACKAGE__->belongs_to(
79 "branchcode",
80 "Koha::Schema::Result::Branch",
81 { branchcode => "branchcode" },
83 is_deferrable => 1,
84 join_type => "LEFT",
85 on_delete => "CASCADE",
86 on_update => "RESTRICT",
91 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-07-11 09:26:55
92 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FlVw5Eu4bXF2ygD0QkwwCg
95 # You can replace this text with custom content, and it will be preserved on regeneration