Update Pflichtenheftmodels auf DB-Struktur
[kivitendo-erp.git] / SL / DB / MetaSetup / RequirementSpecDependency.pm
1 # This file has been auto-generated. Do not modify it; it will be overwritten
2 # by rose_auto_create_model.pl automatically.
3 package SL::DB::RequirementSpecDependency;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'requirement_spec_item_dependencies',
11
12   columns => [
13     depending_item_id => { type => 'integer', not_null => 1 },
14     depended_item_id  => { type => 'integer', not_null => 1 },
15   ],
16
17   primary_key_columns => [ 'depending_item_id', 'depended_item_id' ],
18
19   foreign_keys => [
20     depended_item => {
21       class       => 'SL::DB::RequirementSpecItem',
22       key_columns => { depended_item_id => 'id' },
23     },
24
25     depending_item => {
26       class       => 'SL::DB::RequirementSpecItem',
27       key_columns => { depending_item_id => 'id' },
28     },
29   ],
30 );
31
32 1;
33 ;