c2fccb1e96ac98739dcc48af73953995c22fe554
[kivitendo-erp.git] / SL / DB / MetaSetup / FollowUpAccess.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::FollowUpAccess;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('follow_up_access');
10
11 __PACKAGE__->meta->columns(
12   id   => { type => 'serial', not_null => 1 },
13   what => { type => 'integer', not_null => 1 },
14   who  => { type => 'integer', not_null => 1 },
15 );
16
17 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
18
19 __PACKAGE__->meta->foreign_keys(
20   to_follow_ups_by => {
21     class       => 'SL::DB::Employee',
22     key_columns => { what => 'id' },
23   },
24
25   with_access => {
26     class       => 'SL::DB::Employee',
27     key_columns => { who => 'id' },
28   },
29 );
30
31 1;
32 ;