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;
7 use base qw(SL::DB::Object);
9 __PACKAGE__->meta->setup(
10 table => 'follow_ups',
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' },
23 primary_key_columns => [ 'id' ],
25 allow_inline_column_values => 1,
29 class => 'SL::DB::Employee',
30 key_columns => { created_for_user => 'id' },
34 class => 'SL::DB::Employee',
35 key_columns => { created_by => 'id' },
39 class => 'SL::DB::Note',
40 key_columns => { note_id => 'id' },