Bug 25501: Supress warnings on installing translation
[koha.git] / Koha / Schema / Result / MarcModificationTemplate.pm
blobe94ee1e8e5a26e837f47d8fcd9157bae60691c8c
1 use utf8;
2 package Koha::Schema::Result::MarcModificationTemplate;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::MarcModificationTemplate
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<marc_modification_templates>
20 =cut
22 __PACKAGE__->table("marc_modification_templates");
24 =head1 ACCESSORS
26 =head2 template_id
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 name
34 data_type: 'mediumtext'
35 is_nullable: 0
37 =cut
39 __PACKAGE__->add_columns(
40 "template_id",
41 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
42 "name",
43 { data_type => "mediumtext", is_nullable => 0 },
46 =head1 PRIMARY KEY
48 =over 4
50 =item * L</template_id>
52 =back
54 =cut
56 __PACKAGE__->set_primary_key("template_id");
58 =head1 RELATIONS
60 =head2 marc_modification_template_actions
62 Type: has_many
64 Related object: L<Koha::Schema::Result::MarcModificationTemplateAction>
66 =cut
68 __PACKAGE__->has_many(
69 "marc_modification_template_actions",
70 "Koha::Schema::Result::MarcModificationTemplateAction",
71 { "foreign.template_id" => "self.template_id" },
72 { cascade_copy => 0, cascade_delete => 0 },
76 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
77 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:bu3u1X0RBx4c35kkph05/A
80 # You can replace this text with custom code or comments, and it will be preserved on regeneration