1 package Koha::Schema::Result::Biblioitem;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::Biblioitem
18 __PACKAGE__->table("biblioitems");
22 =head2 biblioitemnumber
37 data_type: 'mediumtext'
42 data_type: 'mediumtext'
69 =head2 publicationyear
90 =head2 collectiontitle
92 data_type: 'mediumtext'
100 =head2 collectionvolume
102 data_type: 'mediumtext'
105 =head2 editionstatement
110 =head2 editionresponsibility
117 data_type: 'timestamp'
118 default_value: current_timestamp
135 data_type: 'mediumtext'
158 data_type: 'longblob'
197 =head2 agerestriction
210 data_type: 'longtext'
215 __PACKAGE__->add_columns(
217 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
220 data_type => "integer",
226 { data_type => "mediumtext", is_nullable => 1 },
228 { data_type => "mediumtext", is_nullable => 1 },
230 { data_type => "varchar", is_nullable => 1, size => 10 },
232 { data_type => "varchar", is_nullable => 1, size => 30 },
234 { data_type => "varchar", is_nullable => 1, size => 9 },
236 { data_type => "varchar", is_nullable => 1, size => 13 },
238 { data_type => "text", is_nullable => 1 },
240 { data_type => "varchar", is_nullable => 1, size => 255 },
242 { data_type => "date", is_nullable => 1 },
244 { data_type => "text", is_nullable => 1 },
246 { data_type => "mediumtext", is_nullable => 1 },
248 { data_type => "text", is_nullable => 1 },
250 { data_type => "mediumtext", is_nullable => 1 },
252 { data_type => "text", is_nullable => 1 },
253 "editionresponsibility",
254 { data_type => "text", is_nullable => 1 },
257 data_type => "timestamp",
258 default_value => \"current_timestamp",
262 { data_type => "varchar", is_nullable => 1, size => 255 },
264 { data_type => "varchar", is_nullable => 1, size => 255 },
266 { data_type => "mediumtext", is_nullable => 1 },
268 { data_type => "varchar", is_nullable => 1, size => 255 },
270 { data_type => "varchar", is_nullable => 1, size => 255 },
272 { data_type => "varchar", is_nullable => 1, size => 25 },
274 { data_type => "longblob", is_nullable => 1 },
276 { data_type => "varchar", is_nullable => 1, size => 255 },
278 { data_type => "varchar", is_nullable => 1, size => 10 },
280 { data_type => "varchar", is_nullable => 1, size => 30 },
282 { data_type => "varchar", is_nullable => 1, size => 10 },
284 { data_type => "varchar", is_nullable => 1, size => 10 },
286 { data_type => "varchar", is_nullable => 1, size => 30 },
288 { data_type => "varchar", is_nullable => 1, size => 255 },
290 { data_type => "integer", is_nullable => 1 },
292 { data_type => "longtext", is_nullable => 0 },
294 __PACKAGE__->set_primary_key("biblioitemnumber");
302 Related object: L<Koha::Schema::Result::Biblio>
306 __PACKAGE__->belongs_to(
308 "Koha::Schema::Result::Biblio",
309 { biblionumber => "biblionumber" },
310 { on_delete => "CASCADE", on_update => "CASCADE" },
317 Related object: L<Koha::Schema::Result::Item>
321 __PACKAGE__->has_many(
323 "Koha::Schema::Result::Item",
324 { "foreign.biblioitemnumber" => "self.biblioitemnumber" },
325 { cascade_copy => 0, cascade_delete => 0 },
329 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
330 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:j5xMUqTsOxa/ieu7yPnOaA
333 # You can replace this text with custom content, and it will be preserved on regeneration