Bug 29234: Further clean Z3950 Tests
[srvgit] / Koha / Schema / Result / Deletedbiblioitem.pm
1 use utf8;
2 package Koha::Schema::Result::Deletedbiblioitem;
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::Deletedbiblioitem
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<deletedbiblioitems>
19
20 =cut
21
22 __PACKAGE__->table("deletedbiblioitems");
23
24 =head1 ACCESSORS
25
26 =head2 biblioitemnumber
27
28   data_type: 'integer'
29   default_value: 0
30   is_nullable: 0
31
32 primary key, unique identifier assigned by Koha
33
34 =head2 biblionumber
35
36   data_type: 'integer'
37   default_value: 0
38   is_nullable: 0
39
40 foreign key linking this table to the biblio table
41
42 =head2 volume
43
44   data_type: 'longtext'
45   is_nullable: 1
46
47 =head2 number
48
49   data_type: 'longtext'
50   is_nullable: 1
51
52 =head2 itemtype
53
54   data_type: 'varchar'
55   is_nullable: 1
56   size: 10
57
58 biblio level item type (MARC21 942$c)
59
60 =head2 isbn
61
62   data_type: 'longtext'
63   is_nullable: 1
64
65 ISBN (MARC21 020$a)
66
67 =head2 issn
68
69   data_type: 'longtext'
70   is_nullable: 1
71
72 ISSN (MARC21 022$a)
73
74 =head2 ean
75
76   data_type: 'longtext'
77   is_nullable: 1
78
79 =head2 publicationyear
80
81   data_type: 'mediumtext'
82   is_nullable: 1
83
84 =head2 publishercode
85
86   data_type: 'varchar'
87   is_nullable: 1
88   size: 255
89
90 publisher (MARC21 260$b)
91
92 =head2 volumedate
93
94   data_type: 'date'
95   datetime_undef_if_invalid: 1
96   is_nullable: 1
97
98 =head2 volumedesc
99
100   data_type: 'mediumtext'
101   is_nullable: 1
102
103 volume information (MARC21 362$a)
104
105 =head2 collectiontitle
106
107   data_type: 'longtext'
108   is_nullable: 1
109
110 =head2 collectionissn
111
112   data_type: 'mediumtext'
113   is_nullable: 1
114
115 =head2 collectionvolume
116
117   data_type: 'longtext'
118   is_nullable: 1
119
120 =head2 editionstatement
121
122   data_type: 'mediumtext'
123   is_nullable: 1
124
125 =head2 editionresponsibility
126
127   data_type: 'mediumtext'
128   is_nullable: 1
129
130 =head2 timestamp
131
132   data_type: 'timestamp'
133   datetime_undef_if_invalid: 1
134   default_value: current_timestamp
135   is_nullable: 0
136
137 =head2 illus
138
139   data_type: 'varchar'
140   is_nullable: 1
141   size: 255
142
143 illustrations (MARC21 300$b)
144
145 =head2 pages
146
147   data_type: 'varchar'
148   is_nullable: 1
149   size: 255
150
151 number of pages (MARC21 300$c)
152
153 =head2 notes
154
155   data_type: 'longtext'
156   is_nullable: 1
157
158 =head2 size
159
160   data_type: 'varchar'
161   is_nullable: 1
162   size: 255
163
164 material size (MARC21 300$c)
165
166 =head2 place
167
168   data_type: 'varchar'
169   is_nullable: 1
170   size: 255
171
172 publication place (MARC21 260$a)
173
174 =head2 lccn
175
176   data_type: 'varchar'
177   is_nullable: 1
178   size: 25
179
180 library of congress control number (MARC21 010$a)
181
182 =head2 url
183
184   data_type: 'mediumtext'
185   is_nullable: 1
186
187 url (MARC21 856$u)
188
189 =head2 cn_source
190
191   data_type: 'varchar'
192   is_nullable: 1
193   size: 10
194
195 classification source (MARC21 942$2)
196
197 =head2 cn_class
198
199   data_type: 'varchar'
200   is_nullable: 1
201   size: 30
202
203 =head2 cn_item
204
205   data_type: 'varchar'
206   is_nullable: 1
207   size: 10
208
209 =head2 cn_suffix
210
211   data_type: 'varchar'
212   is_nullable: 1
213   size: 10
214
215 =head2 cn_sort
216
217   data_type: 'varchar'
218   is_nullable: 1
219   size: 255
220
221 normalized version of the call number used for sorting
222
223 =head2 agerestriction
224
225   data_type: 'varchar'
226   is_nullable: 1
227   size: 255
228
229 target audience/age restriction from the bib record (MARC21 521$a)
230
231 =head2 totalissues
232
233   data_type: 'integer'
234   is_nullable: 1
235
236 =cut
237
238 __PACKAGE__->add_columns(
239   "biblioitemnumber",
240   { data_type => "integer", default_value => 0, is_nullable => 0 },
241   "biblionumber",
242   { data_type => "integer", default_value => 0, is_nullable => 0 },
243   "volume",
244   { data_type => "longtext", is_nullable => 1 },
245   "number",
246   { data_type => "longtext", is_nullable => 1 },
247   "itemtype",
248   { data_type => "varchar", is_nullable => 1, size => 10 },
249   "isbn",
250   { data_type => "longtext", is_nullable => 1 },
251   "issn",
252   { data_type => "longtext", is_nullable => 1 },
253   "ean",
254   { data_type => "longtext", is_nullable => 1 },
255   "publicationyear",
256   { data_type => "mediumtext", is_nullable => 1 },
257   "publishercode",
258   { data_type => "varchar", is_nullable => 1, size => 255 },
259   "volumedate",
260   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
261   "volumedesc",
262   { data_type => "mediumtext", is_nullable => 1 },
263   "collectiontitle",
264   { data_type => "longtext", is_nullable => 1 },
265   "collectionissn",
266   { data_type => "mediumtext", is_nullable => 1 },
267   "collectionvolume",
268   { data_type => "longtext", is_nullable => 1 },
269   "editionstatement",
270   { data_type => "mediumtext", is_nullable => 1 },
271   "editionresponsibility",
272   { data_type => "mediumtext", is_nullable => 1 },
273   "timestamp",
274   {
275     data_type => "timestamp",
276     datetime_undef_if_invalid => 1,
277     default_value => \"current_timestamp",
278     is_nullable => 0,
279   },
280   "illus",
281   { data_type => "varchar", is_nullable => 1, size => 255 },
282   "pages",
283   { data_type => "varchar", is_nullable => 1, size => 255 },
284   "notes",
285   { data_type => "longtext", is_nullable => 1 },
286   "size",
287   { data_type => "varchar", is_nullable => 1, size => 255 },
288   "place",
289   { data_type => "varchar", is_nullable => 1, size => 255 },
290   "lccn",
291   { data_type => "varchar", is_nullable => 1, size => 25 },
292   "url",
293   { data_type => "mediumtext", is_nullable => 1 },
294   "cn_source",
295   { data_type => "varchar", is_nullable => 1, size => 10 },
296   "cn_class",
297   { data_type => "varchar", is_nullable => 1, size => 30 },
298   "cn_item",
299   { data_type => "varchar", is_nullable => 1, size => 10 },
300   "cn_suffix",
301   { data_type => "varchar", is_nullable => 1, size => 10 },
302   "cn_sort",
303   { data_type => "varchar", is_nullable => 1, size => 255 },
304   "agerestriction",
305   { data_type => "varchar", is_nullable => 1, size => 255 },
306   "totalissues",
307   { data_type => "integer", is_nullable => 1 },
308 );
309
310 =head1 PRIMARY KEY
311
312 =over 4
313
314 =item * L</biblioitemnumber>
315
316 =back
317
318 =cut
319
320 __PACKAGE__->set_primary_key("biblioitemnumber");
321
322
323 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
324 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rGXNjpclQJ3+na+MYa4YFA
325
326 sub koha_objects_class {
327     'Koha::Old::Biblioitems';
328 }
329 sub koha_object_class {
330     'Koha::Old::Biblioitem';
331 }
332
333 1;