2 package Koha::Schema::Result::DefaultBorrowerCircRule;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::DefaultBorrowerCircRule
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<default_borrower_circ_rules>
22 __PACKAGE__->table("default_borrower_circ_rules");
38 =head2 maxonsiteissueqty
45 __PACKAGE__->add_columns(
47 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
49 { data_type => "integer", is_nullable => 1 },
51 { data_type => "integer", is_nullable => 1 },
58 =item * L</categorycode>
64 __PACKAGE__->set_primary_key("categorycode");
72 Related object: L<Koha::Schema::Result::Category>
76 __PACKAGE__->belongs_to(
78 "Koha::Schema::Result::Category",
79 { categorycode => "categorycode" },
80 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
84 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-10-05 14:29:17
85 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:PIjw7tbrnnAgXDlxiX9cpA
88 # You can replace this text with custom content, and it will be preserved on regeneration