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