Main Koha release repository
https://koha-community.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
81 lines
1.4 KiB
81 lines
1.4 KiB
use utf8;
|
|
package Koha::Schema::Result::MarcModificationTemplate;
|
|
|
|
# Created by DBIx::Class::Schema::Loader
|
|
# DO NOT MODIFY THE FIRST PART OF THIS FILE
|
|
|
|
=head1 NAME
|
|
|
|
Koha::Schema::Result::MarcModificationTemplate
|
|
|
|
=cut
|
|
|
|
use strict;
|
|
use warnings;
|
|
|
|
use base 'DBIx::Class::Core';
|
|
|
|
=head1 TABLE: C<marc_modification_templates>
|
|
|
|
=cut
|
|
|
|
__PACKAGE__->table("marc_modification_templates");
|
|
|
|
=head1 ACCESSORS
|
|
|
|
=head2 template_id
|
|
|
|
data_type: 'integer'
|
|
is_auto_increment: 1
|
|
is_nullable: 0
|
|
|
|
=head2 name
|
|
|
|
data_type: 'text'
|
|
is_nullable: 0
|
|
|
|
=cut
|
|
|
|
__PACKAGE__->add_columns(
|
|
"template_id",
|
|
{ data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
|
|
"name",
|
|
{ data_type => "text", is_nullable => 0 },
|
|
);
|
|
|
|
=head1 PRIMARY KEY
|
|
|
|
=over 4
|
|
|
|
=item * L</template_id>
|
|
|
|
=back
|
|
|
|
=cut
|
|
|
|
__PACKAGE__->set_primary_key("template_id");
|
|
|
|
=head1 RELATIONS
|
|
|
|
=head2 marc_modification_template_actions
|
|
|
|
Type: has_many
|
|
|
|
Related object: L<Koha::Schema::Result::MarcModificationTemplateAction>
|
|
|
|
=cut
|
|
|
|
__PACKAGE__->has_many(
|
|
"marc_modification_template_actions",
|
|
"Koha::Schema::Result::MarcModificationTemplateAction",
|
|
{ "foreign.template_id" => "self.template_id" },
|
|
{ cascade_copy => 0, cascade_delete => 0 },
|
|
);
|
|
|
|
|
|
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-31 22:03:59
|
|
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:igqidvfP0AgV5RRBa1huew
|
|
|
|
|
|
# You can replace this text with custom code or comments, and it will be preserved on regeneration
|
|
1;
|
|
|