1 package Koha::Schema::Result::Letter;
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::Letter
18 __PACKAGE__->table("letter");
25 default_value: (empty string)
32 default_value: (empty string)
39 default_value: (empty string)
46 default_value: (empty string)
59 default_value: (empty string)
70 __PACKAGE__->add_columns(
72 { data_type => "varchar", default_value => "", is_nullable => 0, size => 20 },
74 { data_type => "varchar", default_value => "", is_nullable => 0, size => 20 },
76 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
78 { data_type => "varchar", default_value => "", is_nullable => 0, size => 100 },
80 { data_type => "tinyint", default_value => 0, is_nullable => 1 },
82 { data_type => "varchar", default_value => "", is_nullable => 0, size => 200 },
84 { data_type => "text", is_nullable => 1 },
86 __PACKAGE__->set_primary_key("module", "code", "branchcode");
90 =head2 message_transports
94 Related object: L<Koha::Schema::Result::MessageTransport>
98 __PACKAGE__->has_many(
100 "Koha::Schema::Result::MessageTransport",
102 "foreign.branchcode" => "self.branchcode",
103 "foreign.letter_code" => "self.code",
104 "foreign.letter_module" => "self.module",
106 { cascade_copy => 0, cascade_delete => 0 },
110 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:MDVfBFxikRa6QrFHs549ZA
114 # You can replace this text with custom content, and it will be preserved on regeneration