2 package Koha::Schema::Result::Deletedbiblioitem;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Deletedbiblioitem
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<deletedbiblioitems>
22 __PACKAGE__->table("deletedbiblioitems");
26 =head2 biblioitemnumber
32 primary key, unique identifier assigned by Koha
40 foreign key linking this table to the biblio table
58 biblio level item type (MARC21 942$c)
79 =head2 publicationyear
81 data_type: 'mediumtext'
90 publisher (MARC21 260$b)
95 datetime_undef_if_invalid: 1
100 data_type: 'mediumtext'
103 volume information (MARC21 362$a)
105 =head2 collectiontitle
107 data_type: 'longtext'
110 =head2 collectionissn
112 data_type: 'mediumtext'
115 =head2 collectionvolume
117 data_type: 'longtext'
120 =head2 editionstatement
122 data_type: 'mediumtext'
125 =head2 editionresponsibility
127 data_type: 'mediumtext'
132 data_type: 'timestamp'
133 datetime_undef_if_invalid: 1
134 default_value: current_timestamp
143 illustrations (MARC21 300$b)
151 number of pages (MARC21 300$c)
155 data_type: 'longtext'
164 material size (MARC21 300$c)
172 publication place (MARC21 260$a)
180 library of congress control number (MARC21 010$a)
184 data_type: 'mediumtext'
195 classification source (MARC21 942$2)
221 normalized version of the call number used for sorting
223 =head2 agerestriction
229 target audience/age restriction from the bib record (MARC21 521$a)
238 __PACKAGE__->add_columns(
240 { data_type => "integer", default_value => 0, is_nullable => 0 },
242 { data_type => "integer", default_value => 0, is_nullable => 0 },
244 { data_type => "longtext", is_nullable => 1 },
246 { data_type => "longtext", is_nullable => 1 },
248 { data_type => "varchar", is_nullable => 1, size => 10 },
250 { data_type => "longtext", is_nullable => 1 },
252 { data_type => "longtext", is_nullable => 1 },
254 { data_type => "longtext", is_nullable => 1 },
256 { data_type => "mediumtext", is_nullable => 1 },
258 { data_type => "varchar", is_nullable => 1, size => 255 },
260 { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
262 { data_type => "mediumtext", is_nullable => 1 },
264 { data_type => "longtext", is_nullable => 1 },
266 { data_type => "mediumtext", is_nullable => 1 },
268 { data_type => "longtext", is_nullable => 1 },
270 { data_type => "mediumtext", is_nullable => 1 },
271 "editionresponsibility",
272 { data_type => "mediumtext", is_nullable => 1 },
275 data_type => "timestamp",
276 datetime_undef_if_invalid => 1,
277 default_value => \"current_timestamp",
281 { data_type => "varchar", is_nullable => 1, size => 255 },
283 { data_type => "varchar", is_nullable => 1, size => 255 },
285 { data_type => "longtext", is_nullable => 1 },
287 { data_type => "varchar", is_nullable => 1, size => 255 },
289 { data_type => "varchar", is_nullable => 1, size => 255 },
291 { data_type => "varchar", is_nullable => 1, size => 25 },
293 { data_type => "mediumtext", is_nullable => 1 },
295 { data_type => "varchar", is_nullable => 1, size => 10 },
297 { data_type => "varchar", is_nullable => 1, size => 30 },
299 { data_type => "varchar", is_nullable => 1, size => 10 },
301 { data_type => "varchar", is_nullable => 1, size => 10 },
303 { data_type => "varchar", is_nullable => 1, size => 255 },
305 { data_type => "varchar", is_nullable => 1, size => 255 },
307 { data_type => "integer", is_nullable => 1 },
314 =item * L</biblioitemnumber>
320 __PACKAGE__->set_primary_key("biblioitemnumber");
323 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
324 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:rGXNjpclQJ3+na+MYa4YFA
326 sub koha_objects_class {
327 'Koha::Old::Biblioitems';
329 sub koha_object_class {
330 'Koha::Old::Biblioitem';