1 package Koha::Schema::Result::DefaultBranchCircRule;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::DefaultBranchCircRule
18 __PACKAGE__->table("default_branch_circ_rules");
47 __PACKAGE__->add_columns(
49 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 10 },
51 { data_type => "integer", is_nullable => 1 },
53 { data_type => "tinyint", is_nullable => 1 },
55 { data_type => "varchar", is_nullable => 1, size => 15 },
57 __PACKAGE__->set_primary_key("branchcode");
65 Related object: L<Koha::Schema::Result::Branch>
69 __PACKAGE__->belongs_to(
71 "Koha::Schema::Result::Branch",
72 { branchcode => "branchcode" },
73 { on_delete => "CASCADE", on_update => "CASCADE" },
77 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
78 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:yCrCqkdVhV80/WtxZPK6Kw
81 # You can replace this text with custom content, and it will be preserved on regeneration