1 package Koha::Schema::Result::MessageTransport;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::MessageTransport
18 __PACKAGE__->table("message_transports");
22 =head2 message_attribute_id
28 =head2 message_transport_type
44 default_value: (empty string)
52 default_value: (empty string)
60 default_value: (empty string)
67 __PACKAGE__->add_columns(
68 "message_attribute_id",
69 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
70 "message_transport_type",
71 { data_type => "varchar", is_foreign_key => 1, is_nullable => 0, size => 20 },
73 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
76 data_type => "varchar",
84 data_type => "varchar",
92 data_type => "varchar",
99 __PACKAGE__->set_primary_key("message_attribute_id", "message_transport_type", "is_digest");
103 =head2 message_attribute
107 Related object: L<Koha::Schema::Result::MessageAttribute>
111 __PACKAGE__->belongs_to(
113 "Koha::Schema::Result::MessageAttribute",
114 { message_attribute_id => "message_attribute_id" },
115 { on_delete => "CASCADE", on_update => "CASCADE" },
118 =head2 message_transport_type
122 Related object: L<Koha::Schema::Result::MessageTransportType>
126 __PACKAGE__->belongs_to(
127 "message_transport_type",
128 "Koha::Schema::Result::MessageTransportType",
129 { message_transport_type => "message_transport_type" },
130 { on_delete => "CASCADE", on_update => "CASCADE" },
137 Related object: L<Koha::Schema::Result::Letter>
141 __PACKAGE__->belongs_to(
143 "Koha::Schema::Result::Letter",
145 branchcode => "branchcode",
146 code => "letter_code",
147 module => "letter_module",
149 { on_delete => "CASCADE", on_update => "CASCADE" },
153 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
154 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:erQZqSSp25HrYkWlHaaF9g
157 # You can replace this text with custom content, and it will be preserved on regeneration