Bug 20434: Update UNIMARC framework - auth (SAUTTIT)
[koha.git] / Koha / Schema / Result / Deleteditem.pm
blob33f1935a4b3c07c3d0b9fded22ade62ac170f800
1 use utf8;
2 package Koha::Schema::Result::Deleteditem;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Deleteditem
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<deleteditems>
20 =cut
22 __PACKAGE__->table("deleteditems");
24 =head1 ACCESSORS
26 =head2 itemnumber
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 biblioitemnumber
40 data_type: 'integer'
41 default_value: 0
42 is_nullable: 0
44 =head2 barcode
46 data_type: 'varchar'
47 is_nullable: 1
48 size: 20
50 =head2 dateaccessioned
52 data_type: 'date'
53 datetime_undef_if_invalid: 1
54 is_nullable: 1
56 =head2 booksellerid
58 data_type: 'longtext'
59 is_nullable: 1
61 =head2 homebranch
63 data_type: 'varchar'
64 is_nullable: 1
65 size: 10
67 =head2 price
69 data_type: 'decimal'
70 is_nullable: 1
71 size: [8,2]
73 =head2 replacementprice
75 data_type: 'decimal'
76 is_nullable: 1
77 size: [8,2]
79 =head2 replacementpricedate
81 data_type: 'date'
82 datetime_undef_if_invalid: 1
83 is_nullable: 1
85 =head2 datelastborrowed
87 data_type: 'date'
88 datetime_undef_if_invalid: 1
89 is_nullable: 1
91 =head2 datelastseen
93 data_type: 'date'
94 datetime_undef_if_invalid: 1
95 is_nullable: 1
97 =head2 stack
99 data_type: 'tinyint'
100 is_nullable: 1
102 =head2 notforloan
104 data_type: 'tinyint'
105 default_value: 0
106 is_nullable: 0
108 =head2 damaged
110 data_type: 'tinyint'
111 default_value: 0
112 is_nullable: 0
114 =head2 damaged_on
116 data_type: 'datetime'
117 datetime_undef_if_invalid: 1
118 is_nullable: 1
120 =head2 itemlost
122 data_type: 'tinyint'
123 default_value: 0
124 is_nullable: 0
126 =head2 itemlost_on
128 data_type: 'datetime'
129 datetime_undef_if_invalid: 1
130 is_nullable: 1
132 =head2 withdrawn
134 data_type: 'tinyint'
135 default_value: 0
136 is_nullable: 0
138 =head2 withdrawn_on
140 data_type: 'datetime'
141 datetime_undef_if_invalid: 1
142 is_nullable: 1
144 =head2 itemcallnumber
146 data_type: 'varchar'
147 is_nullable: 1
148 size: 255
150 =head2 coded_location_qualifier
152 data_type: 'varchar'
153 is_nullable: 1
154 size: 10
156 =head2 issues
158 data_type: 'smallint'
159 is_nullable: 1
161 =head2 renewals
163 data_type: 'smallint'
164 is_nullable: 1
166 =head2 reserves
168 data_type: 'smallint'
169 is_nullable: 1
171 =head2 restricted
173 data_type: 'tinyint'
174 is_nullable: 1
176 =head2 itemnotes
178 data_type: 'longtext'
179 is_nullable: 1
181 =head2 itemnotes_nonpublic
183 data_type: 'longtext'
184 is_nullable: 1
186 =head2 holdingbranch
188 data_type: 'varchar'
189 is_nullable: 1
190 size: 10
192 =head2 paidfor
194 data_type: 'longtext'
195 is_nullable: 1
197 =head2 timestamp
199 data_type: 'timestamp'
200 datetime_undef_if_invalid: 1
201 default_value: current_timestamp
202 is_nullable: 0
204 =head2 location
206 data_type: 'varchar'
207 is_nullable: 1
208 size: 80
210 =head2 permanent_location
212 data_type: 'varchar'
213 is_nullable: 1
214 size: 80
216 =head2 onloan
218 data_type: 'date'
219 datetime_undef_if_invalid: 1
220 is_nullable: 1
222 =head2 cn_source
224 data_type: 'varchar'
225 is_nullable: 1
226 size: 10
228 =head2 cn_sort
230 data_type: 'varchar'
231 is_nullable: 1
232 size: 255
234 =head2 ccode
236 data_type: 'varchar'
237 is_nullable: 1
238 size: 80
240 =head2 materials
242 data_type: 'mediumtext'
243 is_nullable: 1
245 =head2 uri
247 data_type: 'varchar'
248 is_nullable: 1
249 size: 255
251 =head2 itype
253 data_type: 'varchar'
254 is_nullable: 1
255 size: 10
257 =head2 more_subfields_xml
259 data_type: 'longtext'
260 is_nullable: 1
262 =head2 enumchron
264 data_type: 'mediumtext'
265 is_nullable: 1
267 =head2 copynumber
269 data_type: 'varchar'
270 is_nullable: 1
271 size: 32
273 =head2 stocknumber
275 data_type: 'varchar'
276 is_nullable: 1
277 size: 32
279 =head2 new_status
281 data_type: 'varchar'
282 is_nullable: 1
283 size: 32
285 =cut
287 __PACKAGE__->add_columns(
288 "itemnumber",
289 { data_type => "integer", default_value => 0, is_nullable => 0 },
290 "biblionumber",
291 { data_type => "integer", default_value => 0, is_nullable => 0 },
292 "biblioitemnumber",
293 { data_type => "integer", default_value => 0, is_nullable => 0 },
294 "barcode",
295 { data_type => "varchar", is_nullable => 1, size => 20 },
296 "dateaccessioned",
297 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
298 "booksellerid",
299 { data_type => "longtext", is_nullable => 1 },
300 "homebranch",
301 { data_type => "varchar", is_nullable => 1, size => 10 },
302 "price",
303 { data_type => "decimal", is_nullable => 1, size => [8, 2] },
304 "replacementprice",
305 { data_type => "decimal", is_nullable => 1, size => [8, 2] },
306 "replacementpricedate",
307 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
308 "datelastborrowed",
309 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
310 "datelastseen",
311 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
312 "stack",
313 { data_type => "tinyint", is_nullable => 1 },
314 "notforloan",
315 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
316 "damaged",
317 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
318 "damaged_on",
320 data_type => "datetime",
321 datetime_undef_if_invalid => 1,
322 is_nullable => 1,
324 "itemlost",
325 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
326 "itemlost_on",
328 data_type => "datetime",
329 datetime_undef_if_invalid => 1,
330 is_nullable => 1,
332 "withdrawn",
333 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
334 "withdrawn_on",
336 data_type => "datetime",
337 datetime_undef_if_invalid => 1,
338 is_nullable => 1,
340 "itemcallnumber",
341 { data_type => "varchar", is_nullable => 1, size => 255 },
342 "coded_location_qualifier",
343 { data_type => "varchar", is_nullable => 1, size => 10 },
344 "issues",
345 { data_type => "smallint", is_nullable => 1 },
346 "renewals",
347 { data_type => "smallint", is_nullable => 1 },
348 "reserves",
349 { data_type => "smallint", is_nullable => 1 },
350 "restricted",
351 { data_type => "tinyint", is_nullable => 1 },
352 "itemnotes",
353 { data_type => "longtext", is_nullable => 1 },
354 "itemnotes_nonpublic",
355 { data_type => "longtext", is_nullable => 1 },
356 "holdingbranch",
357 { data_type => "varchar", is_nullable => 1, size => 10 },
358 "paidfor",
359 { data_type => "longtext", is_nullable => 1 },
360 "timestamp",
362 data_type => "timestamp",
363 datetime_undef_if_invalid => 1,
364 default_value => \"current_timestamp",
365 is_nullable => 0,
367 "location",
368 { data_type => "varchar", is_nullable => 1, size => 80 },
369 "permanent_location",
370 { data_type => "varchar", is_nullable => 1, size => 80 },
371 "onloan",
372 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
373 "cn_source",
374 { data_type => "varchar", is_nullable => 1, size => 10 },
375 "cn_sort",
376 { data_type => "varchar", is_nullable => 1, size => 255 },
377 "ccode",
378 { data_type => "varchar", is_nullable => 1, size => 80 },
379 "materials",
380 { data_type => "mediumtext", is_nullable => 1 },
381 "uri",
382 { data_type => "varchar", is_nullable => 1, size => 255 },
383 "itype",
384 { data_type => "varchar", is_nullable => 1, size => 10 },
385 "more_subfields_xml",
386 { data_type => "longtext", is_nullable => 1 },
387 "enumchron",
388 { data_type => "mediumtext", is_nullable => 1 },
389 "copynumber",
390 { data_type => "varchar", is_nullable => 1, size => 32 },
391 "stocknumber",
392 { data_type => "varchar", is_nullable => 1, size => 32 },
393 "new_status",
394 { data_type => "varchar", is_nullable => 1, size => 32 },
397 =head1 PRIMARY KEY
399 =over 4
401 =item * L</itemnumber>
403 =back
405 =cut
407 __PACKAGE__->set_primary_key("itemnumber");
410 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-09-26 16:15:09
411 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:L7G0HG5gvgyhfpKb7LcUFw
414 # You can replace this text with custom content, and it will be preserved on regeneration