Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.git] / Koha / Schema / Result / Z3950server.pm
1 use utf8;
2 package Koha::Schema::Result::Z3950server;
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::Z3950server
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<z3950servers>
19
20 =cut
21
22 __PACKAGE__->table("z3950servers");
23
24 =head1 ACCESSORS
25
26 =head2 id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 host
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 255
37
38 =head2 port
39
40   data_type: 'integer'
41   is_nullable: 1
42
43 =head2 db
44
45   data_type: 'varchar'
46   is_nullable: 1
47   size: 255
48
49 =head2 userid
50
51   data_type: 'varchar'
52   is_nullable: 1
53   size: 255
54
55 =head2 password
56
57   data_type: 'varchar'
58   is_nullable: 1
59   size: 255
60
61 =head2 servername
62
63   data_type: 'longtext'
64   is_nullable: 0
65
66 =head2 checked
67
68   data_type: 'smallint'
69   is_nullable: 1
70
71 =head2 rank
72
73   data_type: 'integer'
74   is_nullable: 1
75
76 =head2 syntax
77
78   data_type: 'varchar'
79   is_nullable: 1
80   size: 80
81
82 =head2 timeout
83
84   data_type: 'integer'
85   default_value: 0
86   is_nullable: 0
87
88 =head2 servertype
89
90   data_type: 'enum'
91   default_value: 'zed'
92   extra: {list => ["zed","sru"]}
93   is_nullable: 0
94
95 =head2 encoding
96
97   data_type: 'mediumtext'
98   is_nullable: 1
99
100 =head2 recordtype
101
102   data_type: 'enum'
103   default_value: 'biblio'
104   extra: {list => ["authority","biblio"]}
105   is_nullable: 0
106
107 =head2 sru_options
108
109   data_type: 'varchar'
110   is_nullable: 1
111   size: 255
112
113 =head2 sru_fields
114
115   data_type: 'longtext'
116   is_nullable: 1
117
118 =head2 add_xslt
119
120   data_type: 'longtext'
121   is_nullable: 1
122
123 =cut
124
125 __PACKAGE__->add_columns(
126   "id",
127   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
128   "host",
129   { data_type => "varchar", is_nullable => 1, size => 255 },
130   "port",
131   { data_type => "integer", is_nullable => 1 },
132   "db",
133   { data_type => "varchar", is_nullable => 1, size => 255 },
134   "userid",
135   { data_type => "varchar", is_nullable => 1, size => 255 },
136   "password",
137   { data_type => "varchar", is_nullable => 1, size => 255 },
138   "servername",
139   { data_type => "longtext", is_nullable => 0 },
140   "checked",
141   { data_type => "smallint", is_nullable => 1 },
142   "rank",
143   { data_type => "integer", is_nullable => 1 },
144   "syntax",
145   { data_type => "varchar", is_nullable => 1, size => 80 },
146   "timeout",
147   { data_type => "integer", default_value => 0, is_nullable => 0 },
148   "servertype",
149   {
150     data_type => "enum",
151     default_value => "zed",
152     extra => { list => ["zed", "sru"] },
153     is_nullable => 0,
154   },
155   "encoding",
156   { data_type => "mediumtext", is_nullable => 1 },
157   "recordtype",
158   {
159     data_type => "enum",
160     default_value => "biblio",
161     extra => { list => ["authority", "biblio"] },
162     is_nullable => 0,
163   },
164   "sru_options",
165   { data_type => "varchar", is_nullable => 1, size => 255 },
166   "sru_fields",
167   { data_type => "longtext", is_nullable => 1 },
168   "add_xslt",
169   { data_type => "longtext", is_nullable => 1 },
170 );
171
172 =head1 PRIMARY KEY
173
174 =over 4
175
176 =item * L</id>
177
178 =back
179
180 =cut
181
182 __PACKAGE__->set_primary_key("id");
183
184
185 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
186 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KK2y1pbgVh1hOVLAXL1e/w
187
188 sub koha_object_class {
189     'Koha::Z3950Server';
190 }
191 sub koha_objects_class {
192     'Koha::Z3950Servers';
193 }
194
195 1;