Bug 21395: Fix creation of PO file
[koha.git] / Koha / Schema / Result / MessageTransportType.pm
blob775d9a250eda60872ee7588b357e46471d398fc6
1 use utf8;
2 package Koha::Schema::Result::MessageTransportType;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::MessageTransportType
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<message_transport_types>
20 =cut
22 __PACKAGE__->table("message_transport_types");
24 =head1 ACCESSORS
26 =head2 message_transport_type
28 data_type: 'varchar'
29 is_nullable: 0
30 size: 20
32 =cut
34 __PACKAGE__->add_columns(
35 "message_transport_type",
36 { data_type => "varchar", is_nullable => 0, size => 20 },
39 =head1 PRIMARY KEY
41 =over 4
43 =item * L</message_transport_type>
45 =back
47 =cut
49 __PACKAGE__->set_primary_key("message_transport_type");
51 =head1 RELATIONS
53 =head2 borrower_message_transport_preferences
55 Type: has_many
57 Related object: L<Koha::Schema::Result::BorrowerMessageTransportPreference>
59 =cut
61 __PACKAGE__->has_many(
62 "borrower_message_transport_preferences",
63 "Koha::Schema::Result::BorrowerMessageTransportPreference",
65 "foreign.message_transport_type" => "self.message_transport_type",
67 { cascade_copy => 0, cascade_delete => 0 },
70 =head2 letters
72 Type: has_many
74 Related object: L<Koha::Schema::Result::Letter>
76 =cut
78 __PACKAGE__->has_many(
79 "letters",
80 "Koha::Schema::Result::Letter",
82 "foreign.message_transport_type" => "self.message_transport_type",
84 { cascade_copy => 0, cascade_delete => 0 },
87 =head2 message_queues
89 Type: has_many
91 Related object: L<Koha::Schema::Result::MessageQueue>
93 =cut
95 __PACKAGE__->has_many(
96 "message_queues",
97 "Koha::Schema::Result::MessageQueue",
99 "foreign.message_transport_type" => "self.message_transport_type",
101 { cascade_copy => 0, cascade_delete => 0 },
104 =head2 message_transports
106 Type: has_many
108 Related object: L<Koha::Schema::Result::MessageTransport>
110 =cut
112 __PACKAGE__->has_many(
113 "message_transports",
114 "Koha::Schema::Result::MessageTransport",
116 "foreign.message_transport_type" => "self.message_transport_type",
118 { cascade_copy => 0, cascade_delete => 0 },
121 =head2 overduerules_transport_types
123 Type: has_many
125 Related object: L<Koha::Schema::Result::OverduerulesTransportType>
127 =cut
129 __PACKAGE__->has_many(
130 "overduerules_transport_types",
131 "Koha::Schema::Result::OverduerulesTransportType",
133 "foreign.message_transport_type" => "self.message_transport_type",
135 { cascade_copy => 0, cascade_delete => 0 },
138 =head2 borrower_message_preferences
140 Type: many_to_many
142 Composing rels: L</borrower_message_transport_preferences> -> borrower_message_preference
144 =cut
146 __PACKAGE__->many_to_many(
147 "borrower_message_preferences",
148 "borrower_message_transport_preferences",
149 "borrower_message_preference",
153 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2014-05-02 18:04:32
154 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:YpzL/dxDWq//5vqXfvHoVQ
157 # You can replace this text with custom content, and it will be preserved on regeneration