Revision 3250f2ee
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/DB/RequirementSpecItem.pm | ||
---|---|---|
7 | 7 |
use SL::DB::Helper::ActsAsList; |
8 | 8 |
|
9 | 9 |
__PACKAGE__->meta->add_relationship( |
10 |
children => { |
|
11 |
type => 'one to many', |
|
12 |
class => 'SL::DB::RequirementSpecItem', |
|
13 |
column_map => { id => 'parent_id' }, |
|
10 |
children => { |
|
11 |
type => 'one to many', |
|
12 |
class => 'SL::DB::RequirementSpecItem', |
|
13 |
column_map => { id => 'parent_id' }, |
|
14 |
}, |
|
15 |
dependencies => { |
|
16 |
map_class => 'SL::DB::RequirementSpecDependency', |
|
17 |
map_from => 'depending_item', |
|
18 |
map_to => 'depended_item', |
|
19 |
type => 'many to many', |
|
20 |
}, |
|
21 |
dependents => { |
|
22 |
map_class => 'SL::DB::RequirementSpecDependency', |
|
23 |
map_from => 'depended_item', |
|
24 |
map_to => 'depending_item', |
|
25 |
type => 'many to many', |
|
14 | 26 |
}, |
15 | 27 |
); |
16 | 28 |
|
Auch abrufbar als: Unified diff
Update Pflichtenheftmodels auf DB-Struktur