2 package Koha
::Schema
::Result
::MessageTransportType
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::MessageTransportType
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<message_transport_types>
22 __PACKAGE__
->table("message_transport_types");
26 =head2 message_transport_type
34 __PACKAGE__
->add_columns(
35 "message_transport_type",
36 { data_type
=> "varchar", is_nullable
=> 0, size
=> 20 },
43 =item * L</message_transport_type>
49 __PACKAGE__
->set_primary_key("message_transport_type");
53 =head2 borrower_message_transport_preferences
57 Related object: L<Koha::Schema::Result::BorrowerMessageTransportPreference>
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 },
74 Related object: L<Koha::Schema::Result::Letter>
78 __PACKAGE__
->has_many(
80 "Koha::Schema::Result::Letter",
82 "foreign.message_transport_type" => "self.message_transport_type",
84 { cascade_copy
=> 0, cascade_delete
=> 0 },
91 Related object: L<Koha::Schema::Result::MessageQueue>
95 __PACKAGE__
->has_many(
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
108 Related object: L<Koha::Schema::Result::MessageTransport>
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
125 Related object: L<Koha::Schema::Result::OverduerulesTransportType>
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
142 Composing rels: L</borrower_message_transport_preferences> -> borrower_message_preference
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