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