2 package Koha::Schema::Result::BranchBorrowerCircRule;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BranchBorrowerCircRule
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<branch_borrower_circ_rules>
22 __PACKAGE__->table("branch_borrower_circ_rules");
45 =head2 maxonsiteissueqty
52 __PACKAGE__->add_columns(
54 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
56 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
58 { data_type => "integer", is_nullable => 1 },
60 { data_type => "integer", is_nullable => 1 },
67 =item * L</categorycode>
69 =item * L</branchcode>
75 __PACKAGE__->set_primary_key("categorycode", "branchcode");
83 Related object: L<Koha::Schema::Result::Branch>
87 __PACKAGE__->belongs_to(
89 "Koha::Schema::Result::Branch",
90 { branchcode => "branchcode" },
91 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
98 Related object: L<Koha::Schema::Result::Category>
102 __PACKAGE__->belongs_to(
104 "Koha::Schema::Result::Category",
105 { categorycode => "categorycode" },
106 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
110 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-05 14:29:17
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3PTe8JIjkpfp2+I/2wCVmg
114 # You can replace this text with custom content, and it will be preserved on regeneration