Bug 2969: Update DBIx
[koha.git] / Koha / Schema / Result / Deleteditem.pm
1 use utf8;
2 package Koha::Schema::Result::Deleteditem;
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::Deleteditem
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<deleteditems>
19
20 =cut
21
22 __PACKAGE__->table("deleteditems");
23
24 =head1 ACCESSORS
25
26 =head2 itemnumber
27
28   data_type: 'integer'
29   default_value: 0
30   is_nullable: 0
31
32 =head2 biblionumber
33
34   data_type: 'integer'
35   default_value: 0
36   is_nullable: 0
37
38 =head2 biblioitemnumber
39
40   data_type: 'integer'
41   default_value: 0
42   is_nullable: 0
43
44 =head2 barcode
45
46   data_type: 'varchar'
47   is_nullable: 1
48   size: 20
49
50 =head2 dateaccessioned
51
52   data_type: 'date'
53   datetime_undef_if_invalid: 1
54   is_nullable: 1
55
56 =head2 booksellerid
57
58   data_type: 'mediumtext'
59   is_nullable: 1
60
61 =head2 homebranch
62
63   data_type: 'varchar'
64   is_nullable: 1
65   size: 10
66
67 =head2 price
68
69   data_type: 'decimal'
70   is_nullable: 1
71   size: [8,2]
72
73 =head2 replacementprice
74
75   data_type: 'decimal'
76   is_nullable: 1
77   size: [8,2]
78
79 =head2 replacementpricedate
80
81   data_type: 'date'
82   datetime_undef_if_invalid: 1
83   is_nullable: 1
84
85 =head2 datelastborrowed
86
87   data_type: 'date'
88   datetime_undef_if_invalid: 1
89   is_nullable: 1
90
91 =head2 datelastseen
92
93   data_type: 'date'
94   datetime_undef_if_invalid: 1
95   is_nullable: 1
96
97 =head2 stack
98
99   data_type: 'tinyint'
100   is_nullable: 1
101
102 =head2 notforloan
103
104   data_type: 'tinyint'
105   default_value: 0
106   is_nullable: 0
107
108 =head2 damaged
109
110   data_type: 'tinyint'
111   default_value: 0
112   is_nullable: 0
113
114 =head2 itemlost
115
116   data_type: 'tinyint'
117   default_value: 0
118   is_nullable: 0
119
120 =head2 itemlost_on
121
122   data_type: 'datetime'
123   datetime_undef_if_invalid: 1
124   is_nullable: 1
125
126 =head2 withdrawn
127
128   data_type: 'tinyint'
129   default_value: 0
130   is_nullable: 0
131
132 =head2 withdrawn_on
133
134   data_type: 'datetime'
135   datetime_undef_if_invalid: 1
136   is_nullable: 1
137
138 =head2 itemcallnumber
139
140   data_type: 'varchar'
141   is_nullable: 1
142   size: 255
143
144 =head2 coded_location_qualifier
145
146   data_type: 'varchar'
147   is_nullable: 1
148   size: 10
149
150 =head2 issues
151
152   data_type: 'smallint'
153   is_nullable: 1
154
155 =head2 renewals
156
157   data_type: 'smallint'
158   is_nullable: 1
159
160 =head2 reserves
161
162   data_type: 'smallint'
163   is_nullable: 1
164
165 =head2 restricted
166
167   data_type: 'tinyint'
168   is_nullable: 1
169
170 =head2 itemnotes
171
172   data_type: 'mediumtext'
173   is_nullable: 1
174
175 =head2 holdingbranch
176
177   data_type: 'varchar'
178   is_nullable: 1
179   size: 10
180
181 =head2 paidfor
182
183   data_type: 'mediumtext'
184   is_nullable: 1
185
186 =head2 timestamp
187
188   data_type: 'timestamp'
189   datetime_undef_if_invalid: 1
190   default_value: current_timestamp
191   is_nullable: 0
192
193 =head2 location
194
195   data_type: 'varchar'
196   is_nullable: 1
197   size: 80
198
199 =head2 permanent_location
200
201   data_type: 'varchar'
202   is_nullable: 1
203   size: 80
204
205 =head2 onloan
206
207   data_type: 'date'
208   datetime_undef_if_invalid: 1
209   is_nullable: 1
210
211 =head2 cn_source
212
213   data_type: 'varchar'
214   is_nullable: 1
215   size: 10
216
217 =head2 cn_sort
218
219   data_type: 'varchar'
220   is_nullable: 1
221   size: 255
222
223 =head2 ccode
224
225   data_type: 'varchar'
226   is_nullable: 1
227   size: 10
228
229 =head2 materials
230
231   data_type: 'text'
232   is_nullable: 1
233
234 =head2 uri
235
236   data_type: 'varchar'
237   is_nullable: 1
238   size: 255
239
240 =head2 itype
241
242   data_type: 'varchar'
243   is_nullable: 1
244   size: 10
245
246 =head2 more_subfields_xml
247
248   data_type: 'longtext'
249   is_nullable: 1
250
251 =head2 enumchron
252
253   data_type: 'text'
254   is_nullable: 1
255
256 =head2 copynumber
257
258   data_type: 'varchar'
259   is_nullable: 1
260   size: 32
261
262 =head2 stocknumber
263
264   data_type: 'varchar'
265   is_nullable: 1
266   size: 32
267
268 =cut
269
270 __PACKAGE__->add_columns(
271   "itemnumber",
272   { data_type => "integer", default_value => 0, is_nullable => 0 },
273   "biblionumber",
274   { data_type => "integer", default_value => 0, is_nullable => 0 },
275   "biblioitemnumber",
276   { data_type => "integer", default_value => 0, is_nullable => 0 },
277   "barcode",
278   { data_type => "varchar", is_nullable => 1, size => 20 },
279   "dateaccessioned",
280   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
281   "booksellerid",
282   { data_type => "mediumtext", is_nullable => 1 },
283   "homebranch",
284   { data_type => "varchar", is_nullable => 1, size => 10 },
285   "price",
286   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
287   "replacementprice",
288   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
289   "replacementpricedate",
290   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
291   "datelastborrowed",
292   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
293   "datelastseen",
294   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
295   "stack",
296   { data_type => "tinyint", is_nullable => 1 },
297   "notforloan",
298   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
299   "damaged",
300   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
301   "itemlost",
302   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
303   "itemlost_on",
304   {
305     data_type => "datetime",
306     datetime_undef_if_invalid => 1,
307     is_nullable => 1,
308   },
309   "withdrawn",
310   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
311   "withdrawn_on",
312   {
313     data_type => "datetime",
314     datetime_undef_if_invalid => 1,
315     is_nullable => 1,
316   },
317   "itemcallnumber",
318   { data_type => "varchar", is_nullable => 1, size => 255 },
319   "coded_location_qualifier",
320   { data_type => "varchar", is_nullable => 1, size => 10 },
321   "issues",
322   { data_type => "smallint", is_nullable => 1 },
323   "renewals",
324   { data_type => "smallint", is_nullable => 1 },
325   "reserves",
326   { data_type => "smallint", is_nullable => 1 },
327   "restricted",
328   { data_type => "tinyint", is_nullable => 1 },
329   "itemnotes",
330   { data_type => "mediumtext", is_nullable => 1 },
331   "holdingbranch",
332   { data_type => "varchar", is_nullable => 1, size => 10 },
333   "paidfor",
334   { data_type => "mediumtext", is_nullable => 1 },
335   "timestamp",
336   {
337     data_type => "timestamp",
338     datetime_undef_if_invalid => 1,
339     default_value => \"current_timestamp",
340     is_nullable => 0,
341   },
342   "location",
343   { data_type => "varchar", is_nullable => 1, size => 80 },
344   "permanent_location",
345   { data_type => "varchar", is_nullable => 1, size => 80 },
346   "onloan",
347   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
348   "cn_source",
349   { data_type => "varchar", is_nullable => 1, size => 10 },
350   "cn_sort",
351   { data_type => "varchar", is_nullable => 1, size => 255 },
352   "ccode",
353   { data_type => "varchar", is_nullable => 1, size => 10 },
354   "materials",
355   { data_type => "text", is_nullable => 1 },
356   "uri",
357   { data_type => "varchar", is_nullable => 1, size => 255 },
358   "itype",
359   { data_type => "varchar", is_nullable => 1, size => 10 },
360   "more_subfields_xml",
361   { data_type => "longtext", is_nullable => 1 },
362   "enumchron",
363   { data_type => "text", is_nullable => 1 },
364   "copynumber",
365   { data_type => "varchar", is_nullable => 1, size => 32 },
366   "stocknumber",
367   { data_type => "varchar", is_nullable => 1, size => 32 },
368 );
369
370 =head1 PRIMARY KEY
371
372 =over 4
373
374 =item * L</itemnumber>
375
376 =back
377
378 =cut
379
380 __PACKAGE__->set_primary_key("itemnumber");
381
382
383 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2014-10-24 09:58:16
384 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:Ru5DyaIlWJcMNAgpZRjOLg
385
386
387 # You can replace this text with custom content, and it will be preserved on regeneration
388 1;