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->table('follow_ups');
11 __PACKAGE__->meta->columns(
12 created_by => { type => 'integer', not_null => 1 },
13 created_for_user => { type => 'integer', not_null => 1 },
14 done => { type => 'boolean', default => 'false' },
15 follow_up_date => { type => 'date', not_null => 1 },
16 id => { type => 'integer', not_null => 1, sequence => 'follow_up_id' },
17 itime => { type => 'timestamp', default => 'now()' },
18 mtime => { type => 'timestamp' },
19 note_id => { type => 'integer', not_null => 1 },
22 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
24 __PACKAGE__->meta->allow_inline_column_values(1);
26 __PACKAGE__->meta->foreign_keys(
28 class => 'SL::DB::Employee',
29 key_columns => { created_for_user => 'id' },
33 class => 'SL::DB::Employee',
34 key_columns => { created_by => 'id' },
38 class => 'SL::DB::Note',
39 key_columns => { note_id => 'id' },