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 maxonsiteissueqty
48 =head2 hold_fulfillment_policy
52 extra: {list => ["any","homebranch","holdingbranch"]}
63 __PACKAGE__->add_columns(
65 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
67 { data_type => "integer", is_nullable => 1 },
69 { data_type => "integer", is_nullable => 1 },
71 { data_type => "tinyint", is_nullable => 1 },
72 "hold_fulfillment_policy",
75 default_value => "any",
76 extra => { list => ["any", "homebranch", "holdingbranch"] },
80 { data_type => "varchar", is_nullable => 1, size => 15 },
87 =item * L</branchcode>
93 __PACKAGE__->set_primary_key("branchcode");
101 Related object: L<Koha::Schema::Result::Branch>
105 __PACKAGE__->belongs_to(
107 "Koha::Schema::Result::Branch",
108 { branchcode => "branchcode" },
109 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
113 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-29 10:32:00
114 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:wnrxD1/tp8X01YHmys02lg
117 # You can replace this text with custom content, and it will be preserved on regeneration