]> wagnertech.de Git - mfinanz.git/blob - SL/DB/MetaSetup/FollowUpCreatedForEmployee.pm
date error in mapping
[mfinanz.git] / SL / DB / MetaSetup / FollowUpCreatedForEmployee.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::FollowUpCreatedForEmployee;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('follow_up_created_for_employees');
10
11 __PACKAGE__->meta->columns(
12   employee_id  => { type => 'integer', not_null => 1 },
13   follow_up_id => { type => 'integer', not_null => 1 },
14   id           => { type => 'serial', not_null => 1 },
15 );
16
17 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
18
19 __PACKAGE__->meta->foreign_keys(
20   employee => {
21     class       => 'SL::DB::Employee',
22     key_columns => { employee_id => 'id' },
23   },
24
25   follow_up => {
26     class       => 'SL::DB::FollowUp',
27     key_columns => { follow_up_id => 'id' },
28   },
29 );
30
31 1;
32 ;