DBO Update - alle normalen Models hinzugefĆ¼gt.
[kivitendo-erp.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 base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'follow_ups',
11
12   columns => [
13     id               => { type => 'integer', not_null => 1, sequence => 'follow_up_id' },
14     follow_up_date   => { type => 'date', not_null => 1 },
15     created_for_user => { type => 'integer', not_null => 1 },
16     done             => { type => 'boolean', default => 'false' },
17     note_id          => { type => 'integer', not_null => 1 },
18     created_by       => { type => 'integer', not_null => 1 },
19     itime            => { type => 'timestamp', default => 'now()' },
20     mtime            => { type => 'timestamp' },
21   ],
22
23   primary_key_columns => [ 'id' ],
24
25   allow_inline_column_values => 1,
26
27   foreign_keys => [
28     employee => {
29       class       => 'SL::DB::Employee',
30       key_columns => { created_for_user => 'id' },
31     },
32
33     employee_obj => {
34       class       => 'SL::DB::Employee',
35       key_columns => { created_by => 'id' },
36     },
37
38     note => {
39       class       => 'SL::DB::Note',
40       key_columns => { note_id => 'id' },
41     },
42   ],
43 );
44
45 1;
46 ;