Bug 8798: DBIx::Class base classes for all Koha tables
[koha.git] / Koha / Schema / Result / Z3950server.pm
1 package Koha::Schema::Result::Z3950server;
2
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6 use strict;
7 use warnings;
8
9 use base 'DBIx::Class::Core';
10
11
12 =head1 NAME
13
14 Koha::Schema::Result::Z3950server
15
16 =cut
17
18 __PACKAGE__->table("z3950servers");
19
20 =head1 ACCESSORS
21
22 =head2 host
23
24   data_type: 'varchar'
25   is_nullable: 1
26   size: 255
27
28 =head2 port
29
30   data_type: 'integer'
31   is_nullable: 1
32
33 =head2 db
34
35   data_type: 'varchar'
36   is_nullable: 1
37   size: 255
38
39 =head2 userid
40
41   data_type: 'varchar'
42   is_nullable: 1
43   size: 255
44
45 =head2 password
46
47   data_type: 'varchar'
48   is_nullable: 1
49   size: 255
50
51 =head2 name
52
53   data_type: 'mediumtext'
54   is_nullable: 1
55
56 =head2 id
57
58   data_type: 'integer'
59   is_auto_increment: 1
60   is_nullable: 0
61
62 =head2 checked
63
64   data_type: 'smallint'
65   is_nullable: 1
66
67 =head2 rank
68
69   data_type: 'integer'
70   is_nullable: 1
71
72 =head2 syntax
73
74   data_type: 'varchar'
75   is_nullable: 1
76   size: 80
77
78 =head2 timeout
79
80   data_type: 'integer'
81   default_value: 0
82   is_nullable: 0
83
84 =head2 icon
85
86   data_type: 'text'
87   is_nullable: 1
88
89 =head2 position
90
91   data_type: 'enum'
92   default_value: 'primary'
93   extra: {list => ["primary","secondary",""]}
94   is_nullable: 0
95
96 =head2 type
97
98   data_type: 'enum'
99   default_value: 'zed'
100   extra: {list => ["zed","opensearch"]}
101   is_nullable: 0
102
103 =head2 encoding
104
105   data_type: 'text'
106   is_nullable: 1
107
108 =head2 description
109
110   data_type: 'text'
111   is_nullable: 0
112
113 =cut
114
115 __PACKAGE__->add_columns(
116   "host",
117   { data_type => "varchar", is_nullable => 1, size => 255 },
118   "port",
119   { data_type => "integer", is_nullable => 1 },
120   "db",
121   { data_type => "varchar", is_nullable => 1, size => 255 },
122   "userid",
123   { data_type => "varchar", is_nullable => 1, size => 255 },
124   "password",
125   { data_type => "varchar", is_nullable => 1, size => 255 },
126   "name",
127   { data_type => "mediumtext", is_nullable => 1 },
128   "id",
129   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
130   "checked",
131   { data_type => "smallint", is_nullable => 1 },
132   "rank",
133   { data_type => "integer", is_nullable => 1 },
134   "syntax",
135   { data_type => "varchar", is_nullable => 1, size => 80 },
136   "timeout",
137   { data_type => "integer", default_value => 0, is_nullable => 0 },
138   "icon",
139   { data_type => "text", is_nullable => 1 },
140   "position",
141   {
142     data_type => "enum",
143     default_value => "primary",
144     extra => { list => ["primary", "secondary", ""] },
145     is_nullable => 0,
146   },
147   "type",
148   {
149     data_type => "enum",
150     default_value => "zed",
151     extra => { list => ["zed", "opensearch"] },
152     is_nullable => 0,
153   },
154   "encoding",
155   { data_type => "text", is_nullable => 1 },
156   "description",
157   { data_type => "text", is_nullable => 0 },
158 );
159 __PACKAGE__->set_primary_key("id");
160
161
162 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
163 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:3D8BWcZZVQlK8zrPw4GTtQ
164
165
166 # You can replace this text with custom content, and it will be preserved on regeneration
167 1;