1 package Koha::Schema::Result::Branchcategory;
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::Branchcategory
18 __PACKAGE__->table("branchcategories");
25 default_value: (empty string)
35 =head2 codedescription
37 data_type: 'mediumtext'
48 __PACKAGE__->add_columns(
50 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
52 { data_type => "varchar", is_nullable => 1, size => 32 },
54 { data_type => "mediumtext", is_nullable => 1 },
56 { data_type => "varchar", is_nullable => 1, size => 16 },
58 __PACKAGE__->set_primary_key("categorycode");
62 =head2 branchrelations
66 Related object: L<Koha::Schema::Result::Branchrelation>
70 __PACKAGE__->has_many(
72 "Koha::Schema::Result::Branchrelation",
73 { "foreign.categorycode" => "self.categorycode" },
74 { cascade_copy => 0, cascade_delete => 0 },
78 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
79 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:i3um3oAfQ9EV/pJHuUiWnA
82 # You can replace this text with custom content, and it will be preserved on regeneration