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::FollowUpDone;
7 use parent qw(SL::DB::Object);
9 __PACKAGE__->meta->table('follow_up_done');
11 __PACKAGE__->meta->columns(
12 done_at => { type => 'timestamp', default => 'now()', not_null => 1 },
13 employee_id => { type => 'integer' },
14 follow_up_id => { type => 'integer', not_null => 1 },
15 id => { type => 'serial', not_null => 1 },
18 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
20 __PACKAGE__->meta->unique_keys([ 'follow_up_id' ]);
22 __PACKAGE__->meta->allow_inline_column_values(1);
24 __PACKAGE__->meta->foreign_keys(
26 class => 'SL::DB::Employee',
27 key_columns => { employee_id => 'id' },
31 class => 'SL::DB::FollowUp',
32 key_columns => { follow_up_id => 'id' },
33 rel_type => 'one to one',