kivitendo/SL/DB/MetaSetup/RequirementSpecDependency.pm @ 7b1da9c3
d17e1b9d | Moritz Bunkus | # This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||||
package SL::DB::RequirementSpecDependency;
|
||||
use strict;
|
||||
2ea07c13 | Sven Schöling | use parent qw(SL::DB::Object);
|
||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->table('requirement_spec_item_dependencies');
|
||
__PACKAGE__->meta->columns(
|
||||
depended_item_id => { type => 'integer', not_null => 1 },
|
||||
depending_item_id => { type => 'integer', not_null => 1 },
|
||||
);
|
||||
__PACKAGE__->meta->primary_key_columns([ 'depending_item_id', 'depended_item_id' ]);
|
||||
__PACKAGE__->meta->foreign_keys(
|
||||
depended_item => {
|
||||
class => 'SL::DB::RequirementSpecItem',
|
||||
key_columns => { depended_item_id => 'id' },
|
||||
},
|
||||
depending_item => {
|
||||
class => 'SL::DB::RequirementSpecItem',
|
||||
key_columns => { depending_item_id => 'id' },
|
||||
},
|
||||
d17e1b9d | Moritz Bunkus | );
|
||
1;
|
||||
;
|