2 package Koha::Schema::Result::DefaultBranchItemRule;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::DefaultBranchItemRule
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<default_branch_item_rules>
22 __PACKAGE__->table("default_branch_item_rules");
46 __PACKAGE__->add_columns(
48 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
50 { data_type => "tinyint", is_nullable => 1 },
52 { data_type => "varchar", is_nullable => 1, size => 15 },
65 __PACKAGE__->set_primary_key("itemtype");
73 Related object: L<Koha::Schema::Result::Itemtype>
77 __PACKAGE__->belongs_to(
79 "Koha::Schema::Result::Itemtype",
80 { itemtype => "itemtype" },
81 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
85 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
86 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Mm4EAx13qTr5S02B9dt01g
89 # You can replace this text with custom content, and it will be preserved on regeneration