Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / Deletedbiblioitem.pm
blobe2849ecd9909953a2936d7df21a1b805f064addb
1 use utf8;
2 package Koha::Schema::Result::Deletedbiblioitem;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Deletedbiblioitem
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<deletedbiblioitems>
20 =cut
22 __PACKAGE__->table("deletedbiblioitems");
24 =head1 ACCESSORS
26 =head2 biblioitemnumber
28 data_type: 'integer'
29 default_value: 0
30 is_nullable: 0
32 =head2 biblionumber
34 data_type: 'integer'
35 default_value: 0
36 is_nullable: 0
38 =head2 volume
40 data_type: 'longtext'
41 is_nullable: 1
43 =head2 number
45 data_type: 'longtext'
46 is_nullable: 1
48 =head2 itemtype
50 data_type: 'varchar'
51 is_nullable: 1
52 size: 10
54 =head2 isbn
56 data_type: 'longtext'
57 is_nullable: 1
59 =head2 issn
61 data_type: 'longtext'
62 is_nullable: 1
64 =head2 ean
66 data_type: 'longtext'
67 is_nullable: 1
69 =head2 publicationyear
71 data_type: 'mediumtext'
72 is_nullable: 1
74 =head2 publishercode
76 data_type: 'varchar'
77 is_nullable: 1
78 size: 255
80 =head2 volumedate
82 data_type: 'date'
83 datetime_undef_if_invalid: 1
84 is_nullable: 1
86 =head2 volumedesc
88 data_type: 'mediumtext'
89 is_nullable: 1
91 =head2 collectiontitle
93 data_type: 'longtext'
94 is_nullable: 1
96 =head2 collectionissn
98 data_type: 'mediumtext'
99 is_nullable: 1
101 =head2 collectionvolume
103 data_type: 'longtext'
104 is_nullable: 1
106 =head2 editionstatement
108 data_type: 'mediumtext'
109 is_nullable: 1
111 =head2 editionresponsibility
113 data_type: 'mediumtext'
114 is_nullable: 1
116 =head2 timestamp
118 data_type: 'timestamp'
119 datetime_undef_if_invalid: 1
120 default_value: current_timestamp
121 is_nullable: 0
123 =head2 illus
125 data_type: 'varchar'
126 is_nullable: 1
127 size: 255
129 =head2 pages
131 data_type: 'varchar'
132 is_nullable: 1
133 size: 255
135 =head2 notes
137 data_type: 'longtext'
138 is_nullable: 1
140 =head2 size
142 data_type: 'varchar'
143 is_nullable: 1
144 size: 255
146 =head2 place
148 data_type: 'varchar'
149 is_nullable: 1
150 size: 255
152 =head2 lccn
154 data_type: 'varchar'
155 is_nullable: 1
156 size: 25
158 =head2 url
160 data_type: 'mediumtext'
161 is_nullable: 1
163 =head2 cn_source
165 data_type: 'varchar'
166 is_nullable: 1
167 size: 10
169 =head2 cn_class
171 data_type: 'varchar'
172 is_nullable: 1
173 size: 30
175 =head2 cn_item
177 data_type: 'varchar'
178 is_nullable: 1
179 size: 10
181 =head2 cn_suffix
183 data_type: 'varchar'
184 is_nullable: 1
185 size: 10
187 =head2 cn_sort
189 data_type: 'varchar'
190 is_nullable: 1
191 size: 255
193 =head2 agerestriction
195 data_type: 'varchar'
196 is_nullable: 1
197 size: 255
199 =head2 totalissues
201 data_type: 'integer'
202 is_nullable: 1
204 =cut
206 __PACKAGE__->add_columns(
207 "biblioitemnumber",
208 { data_type => "integer", default_value => 0, is_nullable => 0 },
209 "biblionumber",
210 { data_type => "integer", default_value => 0, is_nullable => 0 },
211 "volume",
212 { data_type => "longtext", is_nullable => 1 },
213 "number",
214 { data_type => "longtext", is_nullable => 1 },
215 "itemtype",
216 { data_type => "varchar", is_nullable => 1, size => 10 },
217 "isbn",
218 { data_type => "longtext", is_nullable => 1 },
219 "issn",
220 { data_type => "longtext", is_nullable => 1 },
221 "ean",
222 { data_type => "longtext", is_nullable => 1 },
223 "publicationyear",
224 { data_type => "mediumtext", is_nullable => 1 },
225 "publishercode",
226 { data_type => "varchar", is_nullable => 1, size => 255 },
227 "volumedate",
228 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
229 "volumedesc",
230 { data_type => "mediumtext", is_nullable => 1 },
231 "collectiontitle",
232 { data_type => "longtext", is_nullable => 1 },
233 "collectionissn",
234 { data_type => "mediumtext", is_nullable => 1 },
235 "collectionvolume",
236 { data_type => "longtext", is_nullable => 1 },
237 "editionstatement",
238 { data_type => "mediumtext", is_nullable => 1 },
239 "editionresponsibility",
240 { data_type => "mediumtext", is_nullable => 1 },
241 "timestamp",
243 data_type => "timestamp",
244 datetime_undef_if_invalid => 1,
245 default_value => \"current_timestamp",
246 is_nullable => 0,
248 "illus",
249 { data_type => "varchar", is_nullable => 1, size => 255 },
250 "pages",
251 { data_type => "varchar", is_nullable => 1, size => 255 },
252 "notes",
253 { data_type => "longtext", is_nullable => 1 },
254 "size",
255 { data_type => "varchar", is_nullable => 1, size => 255 },
256 "place",
257 { data_type => "varchar", is_nullable => 1, size => 255 },
258 "lccn",
259 { data_type => "varchar", is_nullable => 1, size => 25 },
260 "url",
261 { data_type => "mediumtext", is_nullable => 1 },
262 "cn_source",
263 { data_type => "varchar", is_nullable => 1, size => 10 },
264 "cn_class",
265 { data_type => "varchar", is_nullable => 1, size => 30 },
266 "cn_item",
267 { data_type => "varchar", is_nullable => 1, size => 10 },
268 "cn_suffix",
269 { data_type => "varchar", is_nullable => 1, size => 10 },
270 "cn_sort",
271 { data_type => "varchar", is_nullable => 1, size => 255 },
272 "agerestriction",
273 { data_type => "varchar", is_nullable => 1, size => 255 },
274 "totalissues",
275 { data_type => "integer", is_nullable => 1 },
278 =head1 PRIMARY KEY
280 =over 4
282 =item * L</biblioitemnumber>
284 =back
286 =cut
288 __PACKAGE__->set_primary_key("biblioitemnumber");
291 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:53
292 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:QLYBa1Ea8Jau2Wy6U+wyQw
294 sub koha_objects_class {
295 'Koha::Old::Biblioitems';
297 sub koha_object_class {
298 'Koha::Old::Biblioitem';