2 package Koha::Schema::Result::SearchMarcToField;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::SearchMarcToField
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<search_marc_to_field>
22 __PACKAGE__->table("search_marc_to_field");
26 =head2 search_marc_map_id
32 =head2 search_field_id
40 __PACKAGE__->add_columns(
42 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
44 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
51 =item * L</search_marc_map_id>
53 =item * L</search_field_id>
59 __PACKAGE__->set_primary_key("search_marc_map_id", "search_field_id");
67 Related object: L<Koha::Schema::Result::SearchField>
71 __PACKAGE__->belongs_to(
73 "Koha::Schema::Result::SearchField",
74 { id => "search_field_id" },
75 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
78 =head2 search_marc_map
82 Related object: L<Koha::Schema::Result::SearchMarcMap>
86 __PACKAGE__->belongs_to(
88 "Koha::Schema::Result::SearchMarcMap",
89 { id => "search_marc_map_id" },
90 { is_deferrable => 1, on_delete => "RESTRICT", on_update => "RESTRICT" },
94 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2015-06-10 14:32:07
95 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ZNdjnjdGpK+5P478RkCWnA
98 # You can replace this text with custom code or comments, and it will be preserved on regeneration