kivitendo/SL/DB/MetaSetup/ProjectPhaseParticipant.pm @ 324726ac
03f5aaa3 | Sven Schöling | # This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||||
package SL::DB::ProjectPhaseParticipant;
|
||||
use strict;
|
||||
2ea07c13 | Sven Schöling | use parent qw(SL::DB::Object);
|
||
03f5aaa3 | Sven Schöling | |||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->table('project_phase_participants');
|
||
__PACKAGE__->meta->columns(
|
||||
7e0130b0 | Moritz Bunkus | cost_per_hour => { type => 'numeric', precision => 15, scale => 5 },
|
||
1561b7f3 | Moritz Bunkus | employee_id => { type => 'integer', not_null => 1 },
|
||
id => { type => 'serial', not_null => 1 },
|
||||
57d97e2b | Moritz Bunkus | itime => { type => 'timestamp', default => 'now()' },
|
||
1561b7f3 | Moritz Bunkus | minutes => { type => 'integer', default => '0', not_null => 1 },
|
||
mtime => { type => 'timestamp' },
|
||||
project_phase_id => { type => 'integer', not_null => 1 },
|
||||
project_role_id => { type => 'integer', not_null => 1 },
|
||||
);
|
||||
__PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||||
57d97e2b | Moritz Bunkus | __PACKAGE__->meta->allow_inline_column_values(1);
|
||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->foreign_keys(
|
||
employee => {
|
||||
class => 'SL::DB::Employee',
|
||||
key_columns => { employee_id => 'id' },
|
||||
},
|
||||
300dc618 | Moritz Bunkus | project_phase => {
|
||
class => 'SL::DB::ProjectPhase',
|
||||
key_columns => { project_phase_id => 'id' },
|
||||
},
|
||||
1561b7f3 | Moritz Bunkus | project_role => {
|
||
class => 'SL::DB::ProjectRole',
|
||||
key_columns => { project_role_id => 'id' },
|
||||
},
|
||||
03f5aaa3 | Sven Schöling | );
|
||
1;
|
||||
;
|