Projekte: Attribute aus Bob
[kivitendo-erp.git] / SL / DB / MetaSetup / ProjectPhaseParticipant.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::ProjectPhaseParticipant;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'project_phase_participants',
11
12   columns => [
13     id               => { type => 'serial', not_null => 1 },
14     project_phase_id => { type => 'integer', not_null => 1 },
15     employee_id      => { type => 'integer', not_null => 1 },
16     project_role_id  => { type => 'integer', not_null => 1 },
17     minutes          => { type => 'integer', default => '0', not_null => 1 },
18     cost_per_hour    => { type => 'numeric', precision => 5, scale => 15 },
19     itime            => { type => 'timestamp', default => '06.05.2013 14:26:18.81159' },
20     mtime            => { type => 'timestamp' },
21   ],
22
23   primary_key_columns => [ 'id' ],
24
25   foreign_keys => [
26     employee => {
27       class       => 'SL::DB::Employee',
28       key_columns => { employee_id => 'id' },
29     },
30
31     project_role => {
32       class       => 'SL::DB::ProjectRole',
33       key_columns => { project_role_id => 'id' },
34     },
35   ],
36 );
37
38 1;
39 ;