2 package Koha::Schema::Result::Z3950server;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Z3950server
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<z3950servers>
22 __PACKAGE__->table("z3950servers");
32 unique identifier assigned by Koha
47 port number used to connect to target
55 target's database name
63 username needed to log in to target
71 password needed to log in to target
78 name given to the target by the library
85 whether this target is checked by default (1 for yes, 0 for no)
92 where this target appears in the list of targets
100 marc format provided by this target
108 number of seconds before Koha stops trying to access this server
114 extra: {list => ["zed","sru"]}
117 zed means z39.50 server
121 data_type: 'mediumtext'
124 characters encoding provided by this target
129 default_value: 'biblio'
130 extra: {list => ["authority","biblio"]}
133 server contains bibliographic or authority records
141 options like sru=get, sru_version=1.1; will be passed to the server via ZOOM
145 data_type: 'longtext'
148 contains the mapping between the Z3950 search fields and the specific SRU server indexes
152 data_type: 'longtext'
155 zero or more paths to XSLT files to be processed on the search results
163 additional attributes passed to PQF queries
167 __PACKAGE__->add_columns(
169 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
171 { data_type => "varchar", is_nullable => 1, size => 255 },
173 { data_type => "integer", is_nullable => 1 },
175 { data_type => "varchar", is_nullable => 1, size => 255 },
177 { data_type => "varchar", is_nullable => 1, size => 255 },
179 { data_type => "varchar", is_nullable => 1, size => 255 },
181 { data_type => "longtext", is_nullable => 0 },
183 { data_type => "smallint", is_nullable => 1 },
185 { data_type => "integer", is_nullable => 1 },
187 { data_type => "varchar", is_nullable => 1, size => 80 },
189 { data_type => "integer", default_value => 0, is_nullable => 0 },
193 default_value => "zed",
194 extra => { list => ["zed", "sru"] },
198 { data_type => "mediumtext", is_nullable => 1 },
202 default_value => "biblio",
203 extra => { list => ["authority", "biblio"] },
207 { data_type => "varchar", is_nullable => 1, size => 255 },
209 { data_type => "longtext", is_nullable => 1 },
211 { data_type => "longtext", is_nullable => 1 },
213 { data_type => "varchar", is_nullable => 1, size => 255 },
226 __PACKAGE__->set_primary_key("id");
229 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
230 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:6X1cn33CRBtk/lMZF8QY2Q
232 sub koha_object_class {
235 sub koha_objects_class {
236 'Koha::Z3950Servers';