2 package Koha::Schema::Result::OaiSet;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::OaiSet
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<oai_sets>
22 __PACKAGE__->table("oai_sets");
46 __PACKAGE__->add_columns(
48 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
50 { data_type => "varchar", is_nullable => 0, size => 80 },
52 { data_type => "varchar", is_nullable => 0, size => 80 },
65 __PACKAGE__->set_primary_key("id");
67 =head1 UNIQUE CONSTRAINTS
79 __PACKAGE__->add_unique_constraint("spec", ["spec"]);
83 =head2 oai_sets_biblios
87 Related object: L<Koha::Schema::Result::OaiSetsBiblio>
91 __PACKAGE__->has_many(
93 "Koha::Schema::Result::OaiSetsBiblio",
94 { "foreign.set_id" => "self.id" },
95 { cascade_copy => 0, cascade_delete => 0 },
98 =head2 oai_sets_descriptions
102 Related object: L<Koha::Schema::Result::OaiSetsDescription>
106 __PACKAGE__->has_many(
107 "oai_sets_descriptions",
108 "Koha::Schema::Result::OaiSetsDescription",
109 { "foreign.set_id" => "self.id" },
110 { cascade_copy => 0, cascade_delete => 0 },
113 =head2 oai_sets_mappings
117 Related object: L<Koha::Schema::Result::OaiSetsMapping>
121 __PACKAGE__->has_many(
123 "Koha::Schema::Result::OaiSetsMapping",
124 { "foreign.set_id" => "self.id" },
125 { cascade_copy => 0, cascade_delete => 0 },
129 # Created by DBIx::Class::Schema::Loader v0.07039 @ 2015-07-08 15:06:22
130 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:ju63fVMgLPbeFxeZJsQHRQ
133 # You can replace this text with custom content, and it will be preserved on regeneration