Bug 11268: (follow-up) update DBIC schema classes
[koha.git] / Koha / Schema / Result / Deletedbiblioitem.pm
1 use utf8;
2 package Koha::Schema::Result::Deletedbiblioitem;
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::Deletedbiblioitem
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<deletedbiblioitems>
19
20 =cut
21
22 __PACKAGE__->table("deletedbiblioitems");
23
24 =head1 ACCESSORS
25
26 =head2 biblioitemnumber
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 volume
39
40   data_type: 'mediumtext'
41   is_nullable: 1
42
43 =head2 number
44
45   data_type: 'mediumtext'
46   is_nullable: 1
47
48 =head2 itemtype
49
50   data_type: 'varchar'
51   is_nullable: 1
52   size: 10
53
54 =head2 isbn
55
56   data_type: 'varchar'
57   is_nullable: 1
58   size: 30
59
60 =head2 issn
61
62   data_type: 'varchar'
63   is_nullable: 1
64   size: 9
65
66 =head2 ean
67
68   data_type: 'varchar'
69   is_nullable: 1
70   size: 13
71
72 =head2 publicationyear
73
74   data_type: 'text'
75   is_nullable: 1
76
77 =head2 publishercode
78
79   data_type: 'varchar'
80   is_nullable: 1
81   size: 255
82
83 =head2 volumedate
84
85   data_type: 'date'
86   datetime_undef_if_invalid: 1
87   is_nullable: 1
88
89 =head2 volumedesc
90
91   data_type: 'text'
92   is_nullable: 1
93
94 =head2 collectiontitle
95
96   data_type: 'mediumtext'
97   is_nullable: 1
98
99 =head2 collectionissn
100
101   data_type: 'text'
102   is_nullable: 1
103
104 =head2 collectionvolume
105
106   data_type: 'mediumtext'
107   is_nullable: 1
108
109 =head2 editionstatement
110
111   data_type: 'text'
112   is_nullable: 1
113
114 =head2 editionresponsibility
115
116   data_type: 'text'
117   is_nullable: 1
118
119 =head2 timestamp
120
121   data_type: 'timestamp'
122   datetime_undef_if_invalid: 1
123   default_value: current_timestamp
124   is_nullable: 0
125
126 =head2 illus
127
128   data_type: 'varchar'
129   is_nullable: 1
130   size: 255
131
132 =head2 pages
133
134   data_type: 'varchar'
135   is_nullable: 1
136   size: 255
137
138 =head2 notes
139
140   data_type: 'mediumtext'
141   is_nullable: 1
142
143 =head2 size
144
145   data_type: 'varchar'
146   is_nullable: 1
147   size: 255
148
149 =head2 place
150
151   data_type: 'varchar'
152   is_nullable: 1
153   size: 255
154
155 =head2 lccn
156
157   data_type: 'varchar'
158   is_nullable: 1
159   size: 25
160
161 =head2 marc
162
163   data_type: 'longblob'
164   is_nullable: 1
165
166 =head2 url
167
168   data_type: 'text'
169   is_nullable: 1
170
171 =head2 cn_source
172
173   data_type: 'varchar'
174   is_nullable: 1
175   size: 10
176
177 =head2 cn_class
178
179   data_type: 'varchar'
180   is_nullable: 1
181   size: 30
182
183 =head2 cn_item
184
185   data_type: 'varchar'
186   is_nullable: 1
187   size: 10
188
189 =head2 cn_suffix
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 agerestriction
202
203   data_type: 'varchar'
204   is_nullable: 1
205   size: 255
206
207 =head2 totalissues
208
209   data_type: 'integer'
210   is_nullable: 1
211
212 =head2 marcxml
213
214   data_type: 'longtext'
215   is_nullable: 0
216
217 =cut
218
219 __PACKAGE__->add_columns(
220   "biblioitemnumber",
221   { data_type => "integer", default_value => 0, is_nullable => 0 },
222   "biblionumber",
223   { data_type => "integer", default_value => 0, is_nullable => 0 },
224   "volume",
225   { data_type => "mediumtext", is_nullable => 1 },
226   "number",
227   { data_type => "mediumtext", is_nullable => 1 },
228   "itemtype",
229   { data_type => "varchar", is_nullable => 1, size => 10 },
230   "isbn",
231   { data_type => "varchar", is_nullable => 1, size => 30 },
232   "issn",
233   { data_type => "varchar", is_nullable => 1, size => 9 },
234   "ean",
235   { data_type => "varchar", is_nullable => 1, size => 13 },
236   "publicationyear",
237   { data_type => "text", is_nullable => 1 },
238   "publishercode",
239   { data_type => "varchar", is_nullable => 1, size => 255 },
240   "volumedate",
241   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
242   "volumedesc",
243   { data_type => "text", is_nullable => 1 },
244   "collectiontitle",
245   { data_type => "mediumtext", is_nullable => 1 },
246   "collectionissn",
247   { data_type => "text", is_nullable => 1 },
248   "collectionvolume",
249   { data_type => "mediumtext", is_nullable => 1 },
250   "editionstatement",
251   { data_type => "text", is_nullable => 1 },
252   "editionresponsibility",
253   { data_type => "text", is_nullable => 1 },
254   "timestamp",
255   {
256     data_type => "timestamp",
257     datetime_undef_if_invalid => 1,
258     default_value => \"current_timestamp",
259     is_nullable => 0,
260   },
261   "illus",
262   { data_type => "varchar", is_nullable => 1, size => 255 },
263   "pages",
264   { data_type => "varchar", is_nullable => 1, size => 255 },
265   "notes",
266   { data_type => "mediumtext", is_nullable => 1 },
267   "size",
268   { data_type => "varchar", is_nullable => 1, size => 255 },
269   "place",
270   { data_type => "varchar", is_nullable => 1, size => 255 },
271   "lccn",
272   { data_type => "varchar", is_nullable => 1, size => 25 },
273   "marc",
274   { data_type => "longblob", is_nullable => 1 },
275   "url",
276   { data_type => "text", is_nullable => 1 },
277   "cn_source",
278   { data_type => "varchar", is_nullable => 1, size => 10 },
279   "cn_class",
280   { data_type => "varchar", is_nullable => 1, size => 30 },
281   "cn_item",
282   { data_type => "varchar", is_nullable => 1, size => 10 },
283   "cn_suffix",
284   { data_type => "varchar", is_nullable => 1, size => 10 },
285   "cn_sort",
286   { data_type => "varchar", is_nullable => 1, size => 30 },
287   "agerestriction",
288   { data_type => "varchar", is_nullable => 1, size => 255 },
289   "totalissues",
290   { data_type => "integer", is_nullable => 1 },
291   "marcxml",
292   { data_type => "longtext", is_nullable => 0 },
293 );
294
295 =head1 PRIMARY KEY
296
297 =over 4
298
299 =item * L</biblioitemnumber>
300
301 =back
302
303 =cut
304
305 __PACKAGE__->set_primary_key("biblioitemnumber");
306
307
308 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-01-31 15:58:35
309 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:mAqmzd+umMxQ/+Q5IxRoEw
310
311
312 # You can replace this text with custom content, and it will be preserved on regeneration
313 1;