]> wagnertech.de Git - mfinanz.git/blob - SL/DB/MetaSetup/FollowUp.pm
Merge branch 'master' of http://wagnertech.de/git/mfinanz
[mfinanz.git] / SL / DB / MetaSetup / FollowUp.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::FollowUp;
4
5 use strict;
6
7 use parent qw(SL::DB::Object);
8
9 __PACKAGE__->meta->table('follow_ups');
10
11 __PACKAGE__->meta->columns(
12   created_by     => { type => 'integer', not_null => 1 },
13   follow_up_date => { type => 'date', not_null => 1 },
14   id             => { type => 'integer', not_null => 1, sequence => 'follow_up_id' },
15   itime          => { type => 'timestamp', default => 'now()' },
16   mtime          => { type => 'timestamp' },
17   note_id        => { type => 'integer', not_null => 1 },
18 );
19
20 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
21
22 __PACKAGE__->meta->allow_inline_column_values(1);
23
24 __PACKAGE__->meta->foreign_keys(
25   created_by_employee => {
26     class       => 'SL::DB::Employee',
27     key_columns => { created_by => 'id' },
28   },
29
30   note => {
31     class       => 'SL::DB::Note',
32     key_columns => { note_id => 'id' },
33   },
34 );
35
36 1;
37 ;