Bug 25501: Supress warnings on installing translation
[koha.git] / Koha / Schema / Result / OaiSetsBiblio.pm
blob70409ef09c86ea4e855bf5d05b6980b2c68c7e82
1 use utf8;
2 package Koha::Schema::Result::OaiSetsBiblio;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::OaiSetsBiblio
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<oai_sets_biblios>
20 =cut
22 __PACKAGE__->table("oai_sets_biblios");
24 =head1 ACCESSORS
26 =head2 biblionumber
28 data_type: 'integer'
29 is_nullable: 0
31 =head2 set_id
33 data_type: 'integer'
34 is_foreign_key: 1
35 is_nullable: 0
37 =cut
39 __PACKAGE__->add_columns(
40 "biblionumber",
41 { data_type => "integer", is_nullable => 0 },
42 "set_id",
43 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
46 =head1 PRIMARY KEY
48 =over 4
50 =item * L</biblionumber>
52 =item * L</set_id>
54 =back
56 =cut
58 __PACKAGE__->set_primary_key("biblionumber", "set_id");
60 =head1 RELATIONS
62 =head2 set
64 Type: belongs_to
66 Related object: L<Koha::Schema::Result::OaiSet>
68 =cut
70 __PACKAGE__->belongs_to(
71 "set",
72 "Koha::Schema::Result::OaiSet",
73 { id => "set_id" },
74 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
78 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-07-08 15:06:22
79 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:oGVUyyyune8FVOj504xizw
82 # You can replace this text with custom content, and it will be preserved on regeneration