1 package Koha::Schema::Result::Biblio;
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::Biblio
18 __PACKAGE__->table("biblio");
31 default_value: (empty string)
37 data_type: 'mediumtext'
42 data_type: 'mediumtext'
47 data_type: 'mediumtext'
52 data_type: 'mediumtext'
62 data_type: 'mediumtext'
72 data_type: 'timestamp'
73 default_value: current_timestamp
83 data_type: 'mediumtext'
88 __PACKAGE__->add_columns(
90 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
92 { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
94 { data_type => "mediumtext", is_nullable => 1 },
96 { data_type => "mediumtext", is_nullable => 1 },
98 { data_type => "mediumtext", is_nullable => 1 },
100 { data_type => "mediumtext", is_nullable => 1 },
102 { data_type => "tinyint", is_nullable => 1 },
104 { data_type => "mediumtext", is_nullable => 1 },
106 { data_type => "smallint", is_nullable => 1 },
109 data_type => "timestamp",
110 default_value => \"current_timestamp",
114 { data_type => "date", is_nullable => 0 },
116 { data_type => "mediumtext", is_nullable => 1 },
118 __PACKAGE__->set_primary_key("biblionumber");
126 Related object: L<Koha::Schema::Result::Aqorder>
130 __PACKAGE__->has_many(
132 "Koha::Schema::Result::Aqorder",
133 { "foreign.biblionumber" => "self.biblionumber" },
134 { cascade_copy => 0, cascade_delete => 0 },
141 Related object: L<Koha::Schema::Result::Biblioimage>
145 __PACKAGE__->has_many(
147 "Koha::Schema::Result::Biblioimage",
148 { "foreign.biblionumber" => "self.biblionumber" },
149 { cascade_copy => 0, cascade_delete => 0 },
156 Related object: L<Koha::Schema::Result::Biblioitem>
160 __PACKAGE__->has_many(
162 "Koha::Schema::Result::Biblioitem",
163 { "foreign.biblionumber" => "self.biblionumber" },
164 { cascade_copy => 0, cascade_delete => 0 },
167 =head2 hold_fill_targets
171 Related object: L<Koha::Schema::Result::HoldFillTarget>
175 __PACKAGE__->has_many(
177 "Koha::Schema::Result::HoldFillTarget",
178 { "foreign.biblionumber" => "self.biblionumber" },
179 { cascade_copy => 0, cascade_delete => 0 },
182 =head2 oai_sets_biblios
186 Related object: L<Koha::Schema::Result::OaiSetsBiblio>
190 __PACKAGE__->has_many(
192 "Koha::Schema::Result::OaiSetsBiblio",
193 { "foreign.biblionumber" => "self.biblionumber" },
194 { cascade_copy => 0, cascade_delete => 0 },
201 Related object: L<Koha::Schema::Result::OldReserve>
205 __PACKAGE__->has_many(
207 "Koha::Schema::Result::OldReserve",
208 { "foreign.biblionumber" => "self.biblionumber" },
209 { cascade_copy => 0, cascade_delete => 0 },
216 Related object: L<Koha::Schema::Result::Rating>
220 __PACKAGE__->has_many(
222 "Koha::Schema::Result::Rating",
223 { "foreign.biblionumber" => "self.biblionumber" },
224 { cascade_copy => 0, cascade_delete => 0 },
231 Related object: L<Koha::Schema::Result::Reserve>
235 __PACKAGE__->has_many(
237 "Koha::Schema::Result::Reserve",
238 { "foreign.biblionumber" => "self.biblionumber" },
239 { cascade_copy => 0, cascade_delete => 0 },
246 Related object: L<Koha::Schema::Result::Review>
250 __PACKAGE__->has_many(
252 "Koha::Schema::Result::Review",
253 { "foreign.biblionumber" => "self.biblionumber" },
254 { cascade_copy => 0, cascade_delete => 0 },
261 Related object: L<Koha::Schema::Result::TagAll>
265 __PACKAGE__->has_many(
267 "Koha::Schema::Result::TagAll",
268 { "foreign.biblionumber" => "self.biblionumber" },
269 { cascade_copy => 0, cascade_delete => 0 },
276 Related object: L<Koha::Schema::Result::TagsIndex>
280 __PACKAGE__->has_many(
282 "Koha::Schema::Result::TagsIndex",
283 { "foreign.biblionumber" => "self.biblionumber" },
284 { cascade_copy => 0, cascade_delete => 0 },
287 =head2 virtualshelfcontents
291 Related object: L<Koha::Schema::Result::Virtualshelfcontent>
295 __PACKAGE__->has_many(
296 "virtualshelfcontents",
297 "Koha::Schema::Result::Virtualshelfcontent",
298 { "foreign.biblionumber" => "self.biblionumber" },
299 { cascade_copy => 0, cascade_delete => 0 },
303 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
304 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:NwOZPwmnB/44XMp45TzWVg
307 # You can replace this text with custom content, and it will be preserved on regeneration