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::ProjectPhase;
7 use parent qw(SL::DB::Object);
9 __PACKAGE__->meta->table('project_phases');
11 __PACKAGE__->meta->columns(
12 budget_cost => { type => 'numeric', default => '0', not_null => 1, precision => 15, scale => 5 },
13 budget_minutes => { type => 'integer', default => '0', not_null => 1 },
14 description => { type => 'text', not_null => 1 },
15 end_date => { type => 'date' },
16 general_cost_per_hour => { type => 'numeric', default => '0', not_null => 1, precision => 15, scale => 5 },
17 general_minutes => { type => 'integer', default => '0', not_null => 1 },
18 id => { type => 'serial', not_null => 1 },
19 itime => { type => 'timestamp', default => 'now()' },
20 mtime => { type => 'timestamp' },
21 name => { type => 'text', not_null => 1 },
22 project_id => { type => 'integer' },
23 start_date => { type => 'date' },
26 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
28 __PACKAGE__->meta->allow_inline_column_values(1);
30 __PACKAGE__->meta->foreign_keys(
32 class => 'SL::DB::Project',
33 key_columns => { project_id => 'id' },