Revision 0bd21ebc
Von Werner Hahn vor mehr als 6 Jahren hinzugefügt
SL/DB/Shop.pm | ||
---|---|---|
9 | 9 |
use SL::DB::Manager::Shop; |
10 | 10 |
use SL::DB::Helper::ActsAsList; |
11 | 11 |
|
12 |
__PACKAGE__->meta->add_relationships( |
|
13 |
shop_parts => { |
|
14 |
type => 'one to many', |
|
15 |
class => 'SL::DB::ShopPart', |
|
16 |
column_map => { id => 'shop_id' }, |
|
17 |
}, |
|
18 |
); |
|
12 |
#__PACKAGE__->meta->add_relationships(
|
|
13 |
# shop_parts => {
|
|
14 |
# type => 'one to many',
|
|
15 |
# class => 'SL::DB::ShopPart',
|
|
16 |
# column_map => { id => 'shop_id' },
|
|
17 |
# },
|
|
18 |
#);
|
|
19 | 19 |
|
20 | 20 |
__PACKAGE__->meta->initialize; |
21 | 21 |
|
Auch abrufbar als: Unified diff
Shopmodul: Anpassungen an neuen Partcontroller; Shopkategorien gehen noch nicht