Bug 32257: Label for patron attributes misaligned
[koha-ffzg.git] / Koha / Schema / Result / MarcMatcher.pm
1 use utf8;
2 package Koha::Schema::Result::MarcMatcher;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::MarcMatcher
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<marc_matchers>
19
20 =cut
21
22 __PACKAGE__->table("marc_matchers");
23
24 =head1 ACCESSORS
25
26 =head2 matcher_id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 code
33
34   data_type: 'varchar'
35   default_value: (empty string)
36   is_nullable: 0
37   size: 10
38
39 =head2 description
40
41   data_type: 'varchar'
42   default_value: (empty string)
43   is_nullable: 0
44   size: 255
45
46 =head2 record_type
47
48   data_type: 'varchar'
49   default_value: 'biblio'
50   is_nullable: 0
51   size: 10
52
53 =head2 threshold
54
55   data_type: 'integer'
56   default_value: 0
57   is_nullable: 0
58
59 =cut
60
61 __PACKAGE__->add_columns(
62   "matcher_id",
63   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
64   "code",
65   { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
66   "description",
67   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
68   "record_type",
69   {
70     data_type => "varchar",
71     default_value => "biblio",
72     is_nullable => 0,
73     size => 10,
74   },
75   "threshold",
76   { data_type => "integer", default_value => 0, is_nullable => 0 },
77 );
78
79 =head1 PRIMARY KEY
80
81 =over 4
82
83 =item * L</matcher_id>
84
85 =back
86
87 =cut
88
89 __PACKAGE__->set_primary_key("matcher_id");
90
91 =head1 RELATIONS
92
93 =head2 matchchecks
94
95 Type: has_many
96
97 Related object: L<Koha::Schema::Result::Matchcheck>
98
99 =cut
100
101 __PACKAGE__->has_many(
102   "matchchecks",
103   "Koha::Schema::Result::Matchcheck",
104   { "foreign.matcher_id" => "self.matcher_id" },
105   { cascade_copy => 0, cascade_delete => 0 },
106 );
107
108 =head2 matcher_matchpoints
109
110 Type: has_many
111
112 Related object: L<Koha::Schema::Result::MatcherMatchpoint>
113
114 =cut
115
116 __PACKAGE__->has_many(
117   "matcher_matchpoints",
118   "Koha::Schema::Result::MatcherMatchpoint",
119   { "foreign.matcher_id" => "self.matcher_id" },
120   { cascade_copy => 0, cascade_delete => 0 },
121 );
122
123 =head2 matchpoints
124
125 Type: has_many
126
127 Related object: L<Koha::Schema::Result::Matchpoint>
128
129 =cut
130
131 __PACKAGE__->has_many(
132   "matchpoints",
133   "Koha::Schema::Result::Matchpoint",
134   { "foreign.matcher_id" => "self.matcher_id" },
135   { cascade_copy => 0, cascade_delete => 0 },
136 );
137
138
139 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
140 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:2K4K9wfjRlJJKDztPgHJDA
141
142
143 # You can replace this text with custom content, and it will be preserved on regeneration
144 1;