2 package Koha
::Schema
::Result
::Biblio
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Biblio
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<biblio>
22 __PACKAGE__
->table("biblio");
35 default_value: (empty string)
41 data_type: 'mediumtext'
46 data_type: 'mediumtext'
51 data_type: 'mediumtext'
56 data_type: 'mediumtext'
66 data_type: 'mediumtext'
76 data_type: 'timestamp'
77 datetime_undef_if_invalid: 1
78 default_value: current_timestamp
84 datetime_undef_if_invalid: 1
89 data_type: 'mediumtext'
94 __PACKAGE__
->add_columns(
96 { data_type
=> "integer", is_auto_increment
=> 1, is_nullable
=> 0 },
98 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 4 },
100 { data_type
=> "mediumtext", is_nullable
=> 1 },
102 { data_type
=> "mediumtext", is_nullable
=> 1 },
104 { data_type
=> "mediumtext", is_nullable
=> 1 },
106 { data_type
=> "mediumtext", is_nullable
=> 1 },
108 { data_type
=> "tinyint", is_nullable
=> 1 },
110 { data_type
=> "mediumtext", is_nullable
=> 1 },
112 { data_type
=> "smallint", is_nullable
=> 1 },
115 data_type
=> "timestamp",
116 datetime_undef_if_invalid
=> 1,
117 default_value
=> \"current_timestamp
",
121 { data_type => "date
", datetime_undef_if_invalid => 1, is_nullable => 0 },
123 { data_type => "mediumtext
", is_nullable => 1 },
130 =item * L</biblionumber>
136 __PACKAGE__->set_primary_key("biblionumber
");
144 Related object: L<Koha::Schema::Result::Aqorder>
148 __PACKAGE__->has_many(
150 "Koha
::Schema
::Result
::Aqorder
",
151 { "foreign
.biblionumber
" => "self
.biblionumber
" },
152 { cascade_copy => 0, cascade_delete => 0 },
159 Related object: L<Koha::Schema::Result::Biblioimage>
163 __PACKAGE__->has_many(
165 "Koha
::Schema
::Result
::Biblioimage
",
166 { "foreign
.biblionumber
" => "self
.biblionumber
" },
167 { cascade_copy => 0, cascade_delete => 0 },
174 Related object: L<Koha::Schema::Result::Biblioitem>
178 __PACKAGE__->has_many(
180 "Koha
::Schema
::Result
::Biblioitem
",
181 { "foreign
.biblionumber
" => "self
.biblionumber
" },
182 { cascade_copy => 0, cascade_delete => 0 },
185 =head2 hold_fill_targets
189 Related object: L<Koha::Schema::Result::HoldFillTarget>
193 __PACKAGE__->has_many(
195 "Koha
::Schema
::Result
::HoldFillTarget
",
196 { "foreign
.biblionumber
" => "self
.biblionumber
" },
197 { cascade_copy => 0, cascade_delete => 0 },
204 Related object: L<Koha::Schema::Result::Item>
208 __PACKAGE__->has_many(
210 "Koha
::Schema
::Result
::Item
",
211 { "foreign
.biblionumber
" => "self
.biblionumber
" },
212 { cascade_copy => 0, cascade_delete => 0 },
219 Related object: L<Koha::Schema::Result::OldReserve>
223 __PACKAGE__->has_many(
225 "Koha
::Schema
::Result
::OldReserve
",
226 { "foreign
.biblionumber
" => "self
.biblionumber
" },
227 { cascade_copy => 0, cascade_delete => 0 },
234 Related object: L<Koha::Schema::Result::Rating>
238 __PACKAGE__->has_many(
240 "Koha
::Schema
::Result
::Rating
",
241 { "foreign
.biblionumber
" => "self
.biblionumber
" },
242 { cascade_copy => 0, cascade_delete => 0 },
249 Related object: L<Koha::Schema::Result::Reserve>
253 __PACKAGE__->has_many(
255 "Koha
::Schema
::Result
::Reserve
",
256 { "foreign
.biblionumber
" => "self
.biblionumber
" },
257 { cascade_copy => 0, cascade_delete => 0 },
264 Related object: L<Koha::Schema::Result::Review>
268 __PACKAGE__->has_many(
270 "Koha
::Schema
::Result
::Review
",
271 { "foreign
.biblionumber
" => "self
.biblionumber
" },
272 { cascade_copy => 0, cascade_delete => 0 },
279 Related object: L<Koha::Schema::Result::TagAll>
283 __PACKAGE__->has_many(
285 "Koha
::Schema
::Result
::TagAll
",
286 { "foreign
.biblionumber
" => "self
.biblionumber
" },
287 { cascade_copy => 0, cascade_delete => 0 },
294 Related object: L<Koha::Schema::Result::TagsIndex>
298 __PACKAGE__->has_many(
300 "Koha
::Schema
::Result
::TagsIndex
",
301 { "foreign
.biblionumber
" => "self
.biblionumber
" },
302 { cascade_copy => 0, cascade_delete => 0 },
305 =head2 virtualshelfcontents
309 Related object: L<Koha::Schema::Result::Virtualshelfcontent>
313 __PACKAGE__->has_many(
314 "virtualshelfcontents
",
315 "Koha
::Schema
::Result
::Virtualshelfcontent
",
316 { "foreign
.biblionumber
" => "self
.biblionumber
" },
317 { cascade_copy => 0, cascade_delete => 0 },
321 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-05-16 10:36:33
322 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:A2HfcEZt1mfHFEIa4PM+pg