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