Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / MatcherMatchpoint.pm
blob42dfdf05670e5006b0eb70f49f5b1bf7652c6e53
1 use utf8;
2 package Koha::Schema::Result::MatcherMatchpoint;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::MatcherMatchpoint
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<matcher_matchpoints>
20 =cut
22 __PACKAGE__->table("matcher_matchpoints");
24 =head1 ACCESSORS
26 =head2 matcher_id
28 data_type: 'integer'
29 is_foreign_key: 1
30 is_nullable: 0
32 =head2 matchpoint_id
34 data_type: 'integer'
35 is_foreign_key: 1
36 is_nullable: 0
38 =cut
40 __PACKAGE__->add_columns(
41 "matcher_id",
42 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
43 "matchpoint_id",
44 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
47 =head1 RELATIONS
49 =head2 matcher
51 Type: belongs_to
53 Related object: L<Koha::Schema::Result::MarcMatcher>
55 =cut
57 __PACKAGE__->belongs_to(
58 "matcher",
59 "Koha::Schema::Result::MarcMatcher",
60 { matcher_id => "matcher_id" },
61 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
64 =head2 matchpoint
66 Type: belongs_to
68 Related object: L<Koha::Schema::Result::Matchpoint>
70 =cut
72 __PACKAGE__->belongs_to(
73 "matchpoint",
74 "Koha::Schema::Result::Matchpoint",
75 { matchpoint_id => "matchpoint_id" },
76 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
80 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
81 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:W2mZNvJSe3CC0M52hqJsJg
84 # You can replace this text with custom content, and it will be preserved on regeneration