Bug 13069 - (follow-up) Enable sort by title to ignore articles
[koha.git] / Koha / Schema / Result / MarcSubfieldStructure.pm
1 use utf8;
2 package Koha::Schema::Result::MarcSubfieldStructure;
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::MarcSubfieldStructure
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<marc_subfield_structure>
19
20 =cut
21
22 __PACKAGE__->table("marc_subfield_structure");
23
24 =head1 ACCESSORS
25
26 =head2 tagfield
27
28   data_type: 'varchar'
29   default_value: (empty string)
30   is_nullable: 0
31   size: 3
32
33 =head2 tagsubfield
34
35   data_type: 'varchar'
36   default_value: (empty string)
37   is_nullable: 0
38   size: 1
39
40 =head2 liblibrarian
41
42   data_type: 'varchar'
43   default_value: (empty string)
44   is_nullable: 0
45   size: 255
46
47 =head2 libopac
48
49   data_type: 'varchar'
50   default_value: (empty string)
51   is_nullable: 0
52   size: 255
53
54 =head2 repeatable
55
56   data_type: 'tinyint'
57   default_value: 0
58   is_nullable: 0
59
60 =head2 mandatory
61
62   data_type: 'tinyint'
63   default_value: 0
64   is_nullable: 0
65
66 =head2 kohafield
67
68   data_type: 'varchar'
69   is_nullable: 1
70   size: 40
71
72 =head2 tab
73
74   data_type: 'tinyint'
75   is_nullable: 1
76
77 =head2 authorised_value
78
79   data_type: 'varchar'
80   is_nullable: 1
81   size: 20
82
83 =head2 authtypecode
84
85   data_type: 'varchar'
86   is_nullable: 1
87   size: 20
88
89 =head2 value_builder
90
91   data_type: 'varchar'
92   is_nullable: 1
93   size: 80
94
95 =head2 isurl
96
97   data_type: 'tinyint'
98   is_nullable: 1
99
100 =head2 hidden
101
102   data_type: 'tinyint'
103   is_nullable: 1
104
105 =head2 frameworkcode
106
107   data_type: 'varchar'
108   default_value: (empty string)
109   is_nullable: 0
110   size: 4
111
112 =head2 seealso
113
114   data_type: 'varchar'
115   is_nullable: 1
116   size: 1100
117
118 =head2 link
119
120   data_type: 'varchar'
121   is_nullable: 1
122   size: 80
123
124 =head2 defaultvalue
125
126   data_type: 'text'
127   is_nullable: 1
128
129 =head2 maxlength
130
131   data_type: 'integer'
132   default_value: 9999
133   is_nullable: 0
134
135 =cut
136
137 __PACKAGE__->add_columns(
138   "tagfield",
139   { data_type => "varchar", default_value => "", is_nullable => 0, size => 3 },
140   "tagsubfield",
141   { data_type => "varchar", default_value => "", is_nullable => 0, size => 1 },
142   "liblibrarian",
143   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
144   "libopac",
145   { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
146   "repeatable",
147   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
148   "mandatory",
149   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
150   "kohafield",
151   { data_type => "varchar", is_nullable => 1, size => 40 },
152   "tab",
153   { data_type => "tinyint", is_nullable => 1 },
154   "authorised_value",
155   { data_type => "varchar", is_nullable => 1, size => 20 },
156   "authtypecode",
157   { data_type => "varchar", is_nullable => 1, size => 20 },
158   "value_builder",
159   { data_type => "varchar", is_nullable => 1, size => 80 },
160   "isurl",
161   { data_type => "tinyint", is_nullable => 1 },
162   "hidden",
163   { data_type => "tinyint", is_nullable => 1 },
164   "frameworkcode",
165   { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
166   "seealso",
167   { data_type => "varchar", is_nullable => 1, size => 1100 },
168   "link",
169   { data_type => "varchar", is_nullable => 1, size => 80 },
170   "defaultvalue",
171   { data_type => "text", is_nullable => 1 },
172   "maxlength",
173   { data_type => "integer", default_value => 9999, is_nullable => 0 },
174 );
175
176 =head1 PRIMARY KEY
177
178 =over 4
179
180 =item * L</frameworkcode>
181
182 =item * L</tagfield>
183
184 =item * L</tagsubfield>
185
186 =back
187
188 =cut
189
190 __PACKAGE__->set_primary_key("frameworkcode", "tagfield", "tagsubfield");
191
192
193 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
194 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4JgqkPKFNSQ90hTeeb30ow
195
196
197 # You can replace this text with custom content, and it will be preserved on regeneration
198 1;