Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / Z3950server.pm
blob65ecc2ec1acb64e18b471964e86457fc5c133570
1 use utf8;
2 package Koha::Schema::Result::Z3950server;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Z3950server
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<z3950servers>
20 =cut
22 __PACKAGE__->table("z3950servers");
24 =head1 ACCESSORS
26 =head2 id
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 host
34 data_type: 'varchar'
35 is_nullable: 1
36 size: 255
38 =head2 port
40 data_type: 'integer'
41 is_nullable: 1
43 =head2 db
45 data_type: 'varchar'
46 is_nullable: 1
47 size: 255
49 =head2 userid
51 data_type: 'varchar'
52 is_nullable: 1
53 size: 255
55 =head2 password
57 data_type: 'varchar'
58 is_nullable: 1
59 size: 255
61 =head2 servername
63 data_type: 'longtext'
64 is_nullable: 0
66 =head2 checked
68 data_type: 'smallint'
69 is_nullable: 1
71 =head2 rank
73 data_type: 'integer'
74 is_nullable: 1
76 =head2 syntax
78 data_type: 'varchar'
79 is_nullable: 1
80 size: 80
82 =head2 timeout
84 data_type: 'integer'
85 default_value: 0
86 is_nullable: 0
88 =head2 servertype
90 data_type: 'enum'
91 default_value: 'zed'
92 extra: {list => ["zed","sru"]}
93 is_nullable: 0
95 =head2 encoding
97 data_type: 'mediumtext'
98 is_nullable: 1
100 =head2 recordtype
102 data_type: 'enum'
103 default_value: 'biblio'
104 extra: {list => ["authority","biblio"]}
105 is_nullable: 0
107 =head2 sru_options
109 data_type: 'varchar'
110 is_nullable: 1
111 size: 255
113 =head2 sru_fields
115 data_type: 'longtext'
116 is_nullable: 1
118 =head2 add_xslt
120 data_type: 'longtext'
121 is_nullable: 1
123 =head2 attributes
125 data_type: 'varchar'
126 is_nullable: 1
127 size: 255
129 =cut
131 __PACKAGE__->add_columns(
132 "id",
133 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
134 "host",
135 { data_type => "varchar", is_nullable => 1, size => 255 },
136 "port",
137 { data_type => "integer", is_nullable => 1 },
138 "db",
139 { data_type => "varchar", is_nullable => 1, size => 255 },
140 "userid",
141 { data_type => "varchar", is_nullable => 1, size => 255 },
142 "password",
143 { data_type => "varchar", is_nullable => 1, size => 255 },
144 "servername",
145 { data_type => "longtext", is_nullable => 0 },
146 "checked",
147 { data_type => "smallint", is_nullable => 1 },
148 "rank",
149 { data_type => "integer", is_nullable => 1 },
150 "syntax",
151 { data_type => "varchar", is_nullable => 1, size => 80 },
152 "timeout",
153 { data_type => "integer", default_value => 0, is_nullable => 0 },
154 "servertype",
156 data_type => "enum",
157 default_value => "zed",
158 extra => { list => ["zed", "sru"] },
159 is_nullable => 0,
161 "encoding",
162 { data_type => "mediumtext", is_nullable => 1 },
163 "recordtype",
165 data_type => "enum",
166 default_value => "biblio",
167 extra => { list => ["authority", "biblio"] },
168 is_nullable => 0,
170 "sru_options",
171 { data_type => "varchar", is_nullable => 1, size => 255 },
172 "sru_fields",
173 { data_type => "longtext", is_nullable => 1 },
174 "add_xslt",
175 { data_type => "longtext", is_nullable => 1 },
176 "attributes",
177 { data_type => "varchar", is_nullable => 1, size => 255 },
180 =head1 PRIMARY KEY
182 =over 4
184 =item * L</id>
186 =back
188 =cut
190 __PACKAGE__->set_primary_key("id");
193 # Created by DBIx::Class::Schema::Loader v0.07047 @ 2018-02-20 01:04:22
194 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YUp6TnDwq7/oLaSmSdVE3A
196 sub koha_object_class {
197 'Koha::Z3950Server';
199 sub koha_objects_class {
200 'Koha::Z3950Servers';