Bug 15084 [QA Followup] - Update Schema files
[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 itemnotes_nonpublic
176
177   data_type: 'mediumtext'
178   is_nullable: 1
179
180 =head2 holdingbranch
181
182   data_type: 'varchar'
183   is_nullable: 1
184   size: 10
185
186 =head2 paidfor
187
188   data_type: 'mediumtext'
189   is_nullable: 1
190
191 =head2 timestamp
192
193   data_type: 'timestamp'
194   datetime_undef_if_invalid: 1
195   default_value: current_timestamp
196   is_nullable: 0
197
198 =head2 location
199
200   data_type: 'varchar'
201   is_nullable: 1
202   size: 80
203
204 =head2 permanent_location
205
206   data_type: 'varchar'
207   is_nullable: 1
208   size: 80
209
210 =head2 onloan
211
212   data_type: 'date'
213   datetime_undef_if_invalid: 1
214   is_nullable: 1
215
216 =head2 cn_source
217
218   data_type: 'varchar'
219   is_nullable: 1
220   size: 10
221
222 =head2 cn_sort
223
224   data_type: 'varchar'
225   is_nullable: 1
226   size: 255
227
228 =head2 ccode
229
230   data_type: 'varchar'
231   is_nullable: 1
232   size: 10
233
234 =head2 materials
235
236   data_type: 'text'
237   is_nullable: 1
238
239 =head2 uri
240
241   data_type: 'varchar'
242   is_nullable: 1
243   size: 255
244
245 =head2 itype
246
247   data_type: 'varchar'
248   is_nullable: 1
249   size: 10
250
251 =head2 more_subfields_xml
252
253   data_type: 'longtext'
254   is_nullable: 1
255
256 =head2 enumchron
257
258   data_type: 'text'
259   is_nullable: 1
260
261 =head2 copynumber
262
263   data_type: 'varchar'
264   is_nullable: 1
265   size: 32
266
267 =head2 stocknumber
268
269   data_type: 'varchar'
270   is_nullable: 1
271   size: 32
272
273 =head2 new
274
275   accessor: undef
276   data_type: 'varchar'
277   is_nullable: 1
278   size: 32
279
280 =cut
281
282 __PACKAGE__->add_columns(
283   "itemnumber",
284   { data_type => "integer", default_value => 0, is_nullable => 0 },
285   "biblionumber",
286   { data_type => "integer", default_value => 0, is_nullable => 0 },
287   "biblioitemnumber",
288   { data_type => "integer", default_value => 0, is_nullable => 0 },
289   "barcode",
290   { data_type => "varchar", is_nullable => 1, size => 20 },
291   "dateaccessioned",
292   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
293   "booksellerid",
294   { data_type => "mediumtext", is_nullable => 1 },
295   "homebranch",
296   { data_type => "varchar", is_nullable => 1, size => 10 },
297   "price",
298   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
299   "replacementprice",
300   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
301   "replacementpricedate",
302   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
303   "datelastborrowed",
304   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
305   "datelastseen",
306   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
307   "stack",
308   { data_type => "tinyint", is_nullable => 1 },
309   "notforloan",
310   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
311   "damaged",
312   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
313   "itemlost",
314   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
315   "itemlost_on",
316   {
317     data_type => "datetime",
318     datetime_undef_if_invalid => 1,
319     is_nullable => 1,
320   },
321   "withdrawn",
322   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
323   "withdrawn_on",
324   {
325     data_type => "datetime",
326     datetime_undef_if_invalid => 1,
327     is_nullable => 1,
328   },
329   "itemcallnumber",
330   { data_type => "varchar", is_nullable => 1, size => 255 },
331   "coded_location_qualifier",
332   { data_type => "varchar", is_nullable => 1, size => 10 },
333   "issues",
334   { data_type => "smallint", is_nullable => 1 },
335   "renewals",
336   { data_type => "smallint", is_nullable => 1 },
337   "reserves",
338   { data_type => "smallint", is_nullable => 1 },
339   "restricted",
340   { data_type => "tinyint", is_nullable => 1 },
341   "itemnotes",
342   { data_type => "mediumtext", is_nullable => 1 },
343   "itemnotes_nonpublic",
344   { data_type => "mediumtext", is_nullable => 1 },
345   "holdingbranch",
346   { data_type => "varchar", is_nullable => 1, size => 10 },
347   "paidfor",
348   { data_type => "mediumtext", is_nullable => 1 },
349   "timestamp",
350   {
351     data_type => "timestamp",
352     datetime_undef_if_invalid => 1,
353     default_value => \"current_timestamp",
354     is_nullable => 0,
355   },
356   "location",
357   { data_type => "varchar", is_nullable => 1, size => 80 },
358   "permanent_location",
359   { data_type => "varchar", is_nullable => 1, size => 80 },
360   "onloan",
361   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
362   "cn_source",
363   { data_type => "varchar", is_nullable => 1, size => 10 },
364   "cn_sort",
365   { data_type => "varchar", is_nullable => 1, size => 255 },
366   "ccode",
367   { data_type => "varchar", is_nullable => 1, size => 10 },
368   "materials",
369   { data_type => "text", is_nullable => 1 },
370   "uri",
371   { data_type => "varchar", is_nullable => 1, size => 255 },
372   "itype",
373   { data_type => "varchar", is_nullable => 1, size => 10 },
374   "more_subfields_xml",
375   { data_type => "longtext", is_nullable => 1 },
376   "enumchron",
377   { data_type => "text", is_nullable => 1 },
378   "copynumber",
379   { data_type => "varchar", is_nullable => 1, size => 32 },
380   "stocknumber",
381   { data_type => "varchar", is_nullable => 1, size => 32 },
382   "new",
383   { accessor => undef, data_type => "varchar", is_nullable => 1, size => 32 },
384 );
385
386 =head1 PRIMARY KEY
387
388 =over 4
389
390 =item * L</itemnumber>
391
392 =back
393
394 =cut
395
396 __PACKAGE__->set_primary_key("itemnumber");
397
398
399 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-03-04 19:32:39
400 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:uu6dMCUUlDOkveF9SYkKew
401
402
403 # You can replace this text with custom content, and it will be preserved on regeneration
404 1;