2 package Koha
::Schema
::Result
::Letter
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Letter
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<letter>
22 __PACKAGE__
->table("letter");
29 default_value: (empty string)
36 default_value: (empty string)
43 default_value: (empty string)
50 default_value: (empty string)
63 default_value: (empty string)
69 data_type: 'mediumtext'
72 =head2 message_transport_type
75 default_value: 'email'
83 default_value: 'default'
89 __PACKAGE__
->add_columns(
91 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 20 },
93 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 20 },
95 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 10 },
97 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 100 },
99 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 1 },
101 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 200 },
103 { data_type
=> "mediumtext", is_nullable
=> 1 },
104 "message_transport_type",
106 data_type
=> "varchar",
107 default_value
=> "email",
114 data_type
=> "varchar",
115 default_value
=> "default",
129 =item * L</branchcode>
131 =item * L</message_transport_type>
139 __PACKAGE__
->set_primary_key("module", "code", "branchcode", "message_transport_type", "lang");
143 =head2 message_transport_type
147 Related object: L<Koha::Schema::Result::MessageTransportType>
151 __PACKAGE__
->belongs_to(
152 "message_transport_type",
153 "Koha::Schema::Result::MessageTransportType",
154 { message_transport_type
=> "message_transport_type" },
155 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
159 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2018-02-16 17:54:54
160 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:fOuu1Fj8Uo3114QKS2qLkQ
162 sub koha_object_class
{
163 'Koha::Notice::Template';
165 sub koha_objects_class
{
166 'Koha::Notice::Templates';