2 package Koha::Schema::Result::DefaultBranchCircRule;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::DefaultBranchCircRule
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<default_branch_circ_rules>
22 __PACKAGE__->table("default_branch_circ_rules");
38 =head2 hold_fulfillment_policy
42 extra: {list => ["any","homebranch","holdingbranch"]}
53 __PACKAGE__->add_columns(
55 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
57 { data_type => "tinyint", is_nullable => 1 },
58 "hold_fulfillment_policy",
61 default_value => "any",
62 extra => { list => ["any", "homebranch", "holdingbranch"] },
66 { data_type => "varchar", is_nullable => 1, size => 15 },
73 =item * L</branchcode>
79 __PACKAGE__->set_primary_key("branchcode");
87 Related object: L<Koha::Schema::Result::Branch>
91 __PACKAGE__->belongs_to(
93 "Koha::Schema::Result::Branch",
94 { branchcode => "branchcode" },
95 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
99 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-03-05 20:42:53
100 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SYfKl5LgCoDZVhPooF55SA
103 # You can replace this text with custom content, and it will be preserved on regeneration