Bug 9673: (follow-up) update DBIx::Class schema classes
[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: 30
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 =head2 marc
269
270   data_type: 'longblob'
271   is_nullable: 1
272
273 =cut
274
275 __PACKAGE__->add_columns(
276   "itemnumber",
277   { data_type => "integer", default_value => 0, is_nullable => 0 },
278   "biblionumber",
279   { data_type => "integer", default_value => 0, is_nullable => 0 },
280   "biblioitemnumber",
281   { data_type => "integer", default_value => 0, is_nullable => 0 },
282   "barcode",
283   { data_type => "varchar", is_nullable => 1, size => 20 },
284   "dateaccessioned",
285   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
286   "booksellerid",
287   { data_type => "mediumtext", is_nullable => 1 },
288   "homebranch",
289   { data_type => "varchar", is_nullable => 1, size => 10 },
290   "price",
291   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
292   "replacementprice",
293   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
294   "replacementpricedate",
295   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
296   "datelastborrowed",
297   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
298   "datelastseen",
299   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
300   "stack",
301   { data_type => "tinyint", is_nullable => 1 },
302   "notforloan",
303   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
304   "damaged",
305   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
306   "itemlost",
307   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
308   "itemlost_on",
309   {
310     data_type => "datetime",
311     datetime_undef_if_invalid => 1,
312     is_nullable => 1,
313   },
314   "withdrawn",
315   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
316   "withdrawn_on",
317   {
318     data_type => "datetime",
319     datetime_undef_if_invalid => 1,
320     is_nullable => 1,
321   },
322   "itemcallnumber",
323   { data_type => "varchar", is_nullable => 1, size => 255 },
324   "coded_location_qualifier",
325   { data_type => "varchar", is_nullable => 1, size => 10 },
326   "issues",
327   { data_type => "smallint", is_nullable => 1 },
328   "renewals",
329   { data_type => "smallint", is_nullable => 1 },
330   "reserves",
331   { data_type => "smallint", is_nullable => 1 },
332   "restricted",
333   { data_type => "tinyint", is_nullable => 1 },
334   "itemnotes",
335   { data_type => "mediumtext", is_nullable => 1 },
336   "holdingbranch",
337   { data_type => "varchar", is_nullable => 1, size => 10 },
338   "paidfor",
339   { data_type => "mediumtext", is_nullable => 1 },
340   "timestamp",
341   {
342     data_type => "timestamp",
343     datetime_undef_if_invalid => 1,
344     default_value => \"current_timestamp",
345     is_nullable => 0,
346   },
347   "location",
348   { data_type => "varchar", is_nullable => 1, size => 80 },
349   "permanent_location",
350   { data_type => "varchar", is_nullable => 1, size => 80 },
351   "onloan",
352   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
353   "cn_source",
354   { data_type => "varchar", is_nullable => 1, size => 10 },
355   "cn_sort",
356   { data_type => "varchar", is_nullable => 1, size => 30 },
357   "ccode",
358   { data_type => "varchar", is_nullable => 1, size => 10 },
359   "materials",
360   { data_type => "text", is_nullable => 1 },
361   "uri",
362   { data_type => "varchar", is_nullable => 1, size => 255 },
363   "itype",
364   { data_type => "varchar", is_nullable => 1, size => 10 },
365   "more_subfields_xml",
366   { data_type => "longtext", is_nullable => 1 },
367   "enumchron",
368   { data_type => "text", is_nullable => 1 },
369   "copynumber",
370   { data_type => "varchar", is_nullable => 1, size => 32 },
371   "stocknumber",
372   { data_type => "varchar", is_nullable => 1, size => 32 },
373   "marc",
374   { data_type => "longblob", is_nullable => 1 },
375 );
376
377 =head1 PRIMARY KEY
378
379 =over 4
380
381 =item * L</itemnumber>
382
383 =back
384
385 =cut
386
387 __PACKAGE__->set_primary_key("itemnumber");
388
389
390 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-12-19 06:29:02
391 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ubx5Wo+R5/opc9kdIc7IWQ
392
393
394 # You can replace this text with custom content, and it will be preserved on regeneration
395 1;