Attribute Helper umgeschrieben.
[kivitendo-erp.git] / SL / DB / InvoiceItem.pm
1 package SL::DB::InvoiceItem;
2
3 use strict;
4
5 use SL::DB::MetaSetup::InvoiceItem;
6
7 __PACKAGE__->meta->add_relationship(
8   part => {
9     type         => 'one to one',
10     class        => 'SL::DB::Part',
11     column_map   => { parts_id => 'id' },
12   }
13 );
14
15 # Creates get_all, get_all_count, get_all_iterator, delete_all and update_all.
16 __PACKAGE__->meta->make_manager_class;
17
18 __PACKAGE__->meta->initialize;
19
20 1;