Revision 75603a22
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
SL/DB/PeriodicInvoicesConfig.pm | ||
---|---|---|
4 | 4 |
|
5 | 5 |
use SL::DB::MetaSetup::PeriodicInvoicesConfig; |
6 | 6 |
|
7 |
__PACKAGE__->meta->add_relationships( |
|
8 |
order => { |
|
9 |
type => 'many to one', |
|
10 |
class => 'SL::DB::Order', |
|
11 |
column_map => { oe_id => 'id' }, |
|
12 |
}, |
|
13 |
); |
|
14 |
|
|
15 |
__PACKAGE__->meta->initialize; |
|
16 |
|
|
17 | 7 |
# Creates get_all, get_all_count, get_all_iterator, delete_all and update_all. |
18 | 8 |
__PACKAGE__->meta->make_manager_class; |
19 | 9 |
|
Auch abrufbar als: Unified diff
Rose-Model Wiederkehrende Rechnungen: Foreign Key "order" nennen, nicht "oe"