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'
46 =head2 show_in_pulldown
54 __PACKAGE__->add_columns(
56 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
58 { data_type => "varchar", is_nullable => 1, size => 32 },
60 { data_type => "mediumtext", is_nullable => 1 },
62 { data_type => "varchar", is_nullable => 1, size => 16 },
64 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
66 __PACKAGE__->set_primary_key("categorycode");
70 =head2 branchrelations
74 Related object: L<Koha::Schema::Result::Branchrelation>
78 __PACKAGE__->has_many(
80 "Koha::Schema::Result::Branchrelation",
81 { "foreign.categorycode" => "self.categorycode" },
82 { cascade_copy => 0, cascade_delete => 0 },
86 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-06-18 13:13:57
87 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VkvImio07fpqmHCntPn5+w
90 # You can replace this text with custom content, and it will be preserved on regeneration