Revision efc5ec25
Von Tamino Steinert vor 4 Monaten hinzugefügt
SL/DB/Manager/PeriodicInvoice.pm | ||
---|---|---|
1 |
package SL::DB::Manager::PeriodicInvoice; |
|
2 |
|
|
3 |
use strict; |
|
4 |
|
|
5 |
use parent qw(SL::DB::Helper::Manager); |
|
6 |
|
|
7 |
sub object_class { 'SL::DB::PeriodicInvoice' } |
|
8 |
|
|
9 |
__PACKAGE__->make_manager_methods; |
|
10 |
|
|
11 |
1; |
SL/DB/PeriodicInvoice.pm | ||
---|---|---|
3 | 3 |
use strict; |
4 | 4 |
|
5 | 5 |
use SL::DB::MetaSetup::PeriodicInvoice; |
6 |
use SL::DB::Manager::PeriodicInvoice; |
|
6 | 7 |
|
7 | 8 |
__PACKAGE__->meta->add_relationships( |
8 | 9 |
invoice => { |
... | ... | |
14 | 15 |
|
15 | 16 |
__PACKAGE__->meta->initialize; |
16 | 17 |
|
17 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
|
18 |
__PACKAGE__->meta->make_manager_class; |
|
19 |
|
|
20 | 18 |
1; |
Auch abrufbar als: Unified diff
S:D:PeriodicInvoice: Separate Manager Klasse