Bug 11275: (follow-up) update DBIC schema class 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 withdrawn
121
122   data_type: 'tinyint'
123   default_value: 0
124   is_nullable: 0
125
126 =head2 itemcallnumber
127
128   data_type: 'varchar'
129   is_nullable: 1
130   size: 255
131
132 =head2 coded_location_qualifier
133
134   data_type: 'varchar'
135   is_nullable: 1
136   size: 10
137
138 =head2 issues
139
140   data_type: 'smallint'
141   is_nullable: 1
142
143 =head2 renewals
144
145   data_type: 'smallint'
146   is_nullable: 1
147
148 =head2 reserves
149
150   data_type: 'smallint'
151   is_nullable: 1
152
153 =head2 restricted
154
155   data_type: 'tinyint'
156   is_nullable: 1
157
158 =head2 itemnotes
159
160   data_type: 'mediumtext'
161   is_nullable: 1
162
163 =head2 holdingbranch
164
165   data_type: 'varchar'
166   is_nullable: 1
167   size: 10
168
169 =head2 paidfor
170
171   data_type: 'mediumtext'
172   is_nullable: 1
173
174 =head2 timestamp
175
176   data_type: 'timestamp'
177   datetime_undef_if_invalid: 1
178   default_value: current_timestamp
179   is_nullable: 0
180
181 =head2 location
182
183   data_type: 'varchar'
184   is_nullable: 1
185   size: 80
186
187 =head2 permanent_location
188
189   data_type: 'varchar'
190   is_nullable: 1
191   size: 80
192
193 =head2 onloan
194
195   data_type: 'date'
196   datetime_undef_if_invalid: 1
197   is_nullable: 1
198
199 =head2 cn_source
200
201   data_type: 'varchar'
202   is_nullable: 1
203   size: 10
204
205 =head2 cn_sort
206
207   data_type: 'varchar'
208   is_nullable: 1
209   size: 30
210
211 =head2 ccode
212
213   data_type: 'varchar'
214   is_nullable: 1
215   size: 10
216
217 =head2 materials
218
219   data_type: 'text'
220   is_nullable: 1
221
222 =head2 uri
223
224   data_type: 'varchar'
225   is_nullable: 1
226   size: 255
227
228 =head2 itype
229
230   data_type: 'varchar'
231   is_nullable: 1
232   size: 10
233
234 =head2 more_subfields_xml
235
236   data_type: 'longtext'
237   is_nullable: 1
238
239 =head2 enumchron
240
241   data_type: 'text'
242   is_nullable: 1
243
244 =head2 copynumber
245
246   data_type: 'varchar'
247   is_nullable: 1
248   size: 32
249
250 =head2 stocknumber
251
252   data_type: 'varchar'
253   is_nullable: 1
254   size: 32
255
256 =head2 marc
257
258   data_type: 'longblob'
259   is_nullable: 1
260
261 =cut
262
263 __PACKAGE__->add_columns(
264   "itemnumber",
265   { data_type => "integer", default_value => 0, is_nullable => 0 },
266   "biblionumber",
267   { data_type => "integer", default_value => 0, is_nullable => 0 },
268   "biblioitemnumber",
269   { data_type => "integer", default_value => 0, is_nullable => 0 },
270   "barcode",
271   { data_type => "varchar", is_nullable => 1, size => 20 },
272   "dateaccessioned",
273   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
274   "booksellerid",
275   { data_type => "mediumtext", is_nullable => 1 },
276   "homebranch",
277   { data_type => "varchar", is_nullable => 1, size => 10 },
278   "price",
279   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
280   "replacementprice",
281   { data_type => "decimal", is_nullable => 1, size => [8, 2] },
282   "replacementpricedate",
283   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
284   "datelastborrowed",
285   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
286   "datelastseen",
287   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
288   "stack",
289   { data_type => "tinyint", is_nullable => 1 },
290   "notforloan",
291   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
292   "damaged",
293   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
294   "itemlost",
295   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
296   "withdrawn",
297   { data_type => "tinyint", default_value => 0, is_nullable => 0 },
298   "itemcallnumber",
299   { data_type => "varchar", is_nullable => 1, size => 255 },
300   "coded_location_qualifier",
301   { data_type => "varchar", is_nullable => 1, size => 10 },
302   "issues",
303   { data_type => "smallint", is_nullable => 1 },
304   "renewals",
305   { data_type => "smallint", is_nullable => 1 },
306   "reserves",
307   { data_type => "smallint", is_nullable => 1 },
308   "restricted",
309   { data_type => "tinyint", is_nullable => 1 },
310   "itemnotes",
311   { data_type => "mediumtext", is_nullable => 1 },
312   "holdingbranch",
313   { data_type => "varchar", is_nullable => 1, size => 10 },
314   "paidfor",
315   { data_type => "mediumtext", is_nullable => 1 },
316   "timestamp",
317   {
318     data_type => "timestamp",
319     datetime_undef_if_invalid => 1,
320     default_value => \"current_timestamp",
321     is_nullable => 0,
322   },
323   "location",
324   { data_type => "varchar", is_nullable => 1, size => 80 },
325   "permanent_location",
326   { data_type => "varchar", is_nullable => 1, size => 80 },
327   "onloan",
328   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
329   "cn_source",
330   { data_type => "varchar", is_nullable => 1, size => 10 },
331   "cn_sort",
332   { data_type => "varchar", is_nullable => 1, size => 30 },
333   "ccode",
334   { data_type => "varchar", is_nullable => 1, size => 10 },
335   "materials",
336   { data_type => "text", is_nullable => 1 },
337   "uri",
338   { data_type => "varchar", is_nullable => 1, size => 255 },
339   "itype",
340   { data_type => "varchar", is_nullable => 1, size => 10 },
341   "more_subfields_xml",
342   { data_type => "longtext", is_nullable => 1 },
343   "enumchron",
344   { data_type => "text", is_nullable => 1 },
345   "copynumber",
346   { data_type => "varchar", is_nullable => 1, size => 32 },
347   "stocknumber",
348   { data_type => "varchar", is_nullable => 1, size => 32 },
349   "marc",
350   { data_type => "longblob", is_nullable => 1 },
351 );
352
353 =head1 PRIMARY KEY
354
355 =over 4
356
357 =item * L</itemnumber>
358
359 =back
360
361 =cut
362
363 __PACKAGE__->set_primary_key("itemnumber");
364
365
366 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-11-27 17:52:57
367 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VssrrcYczPsiDBrtbsipIw
368
369
370 # You can replace this text with custom content, and it will be preserved on regeneration
371 1;