d453d25344fa8c73ce92afb29a7621c9118bf2d2
[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->table('requirement_spec_item_dependencies');
10
11 __PACKAGE__->meta->columns(
12   depended_item_id  => { type => 'integer', not_null => 1 },
13   depending_item_id => { type => 'integer', not_null => 1 },
14 );
15
16 __PACKAGE__->meta->primary_key_columns([ 'depending_item_id', 'depended_item_id' ]);
17
18 __PACKAGE__->meta->foreign_keys(
19   depended_item => {
20     class       => 'SL::DB::RequirementSpecItem',
21     key_columns => { depended_item_id => 'id' },
22   },
23
24   depending_item => {
25     class       => 'SL::DB::RequirementSpecItem',
26     key_columns => { depending_item_id => 'id' },
27   },
28 );
29
30 1;
31 ;