2 package Koha::Schema::Result::MsgInvoice;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::MsgInvoice
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<msg_invoice>
22 __PACKAGE__->table("msg_invoice");
46 __PACKAGE__->add_columns(
48 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
50 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
52 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
65 __PACKAGE__->set_primary_key("mi_id");
73 Related object: L<Koha::Schema::Result::Aqinvoice>
77 __PACKAGE__->belongs_to(
79 "Koha::Schema::Result::Aqinvoice",
80 { invoiceid => "invoiceid" },
84 on_delete => "RESTRICT",
85 on_update => "RESTRICT",
93 Related object: L<Koha::Schema::Result::EdifactMessage>
97 __PACKAGE__->belongs_to(
99 "Koha::Schema::Result::EdifactMessage",
104 on_delete => "RESTRICT",
105 on_update => "RESTRICT",
110 # Created by DBIx::Class::Schema::Loader v0.07033 @ 2014-09-02 11:37:47
111 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:F1jqlEH57dpxn2Pvm/vPGA
114 # You can replace this text with custom code or comments, and it will be preserved on regeneration