2 package Koha::Schema::Result::ClassSortRule;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::ClassSortRule
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<class_sort_rules>
22 __PACKAGE__->table("class_sort_rules");
26 =head2 class_sort_rule
29 default_value: (empty string)
35 data_type: 'mediumtext'
41 default_value: (empty string)
47 __PACKAGE__->add_columns(
49 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
51 { data_type => "mediumtext", is_nullable => 1 },
53 { data_type => "varchar", default_value => "", is_nullable => 0, size => 30 },
60 =item * L</class_sort_rule>
66 __PACKAGE__->set_primary_key("class_sort_rule");
74 Related object: L<Koha::Schema::Result::ClassSource>
78 __PACKAGE__->has_many(
80 "Koha::Schema::Result::ClassSource",
81 { "foreign.class_sort_rule" => "self.class_sort_rule" },
82 { cascade_copy => 0, cascade_delete => 0 },
86 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
87 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:xvTm4GLMb6N4qHQEv8EhSw
90 # You can replace this text with custom content, and it will be preserved on regeneration