kivitendo/SL/DB/MetaSetup/RequirementSpec.pm @ 912e5eff
d17e1b9d | Moritz Bunkus | # This file has been auto-generated. Do not modify it; it will be overwritten
|
||
# by rose_auto_create_model.pl automatically.
|
||||
package SL::DB::RequirementSpec;
|
||||
use strict;
|
||||
2ea07c13 | Sven Schöling | use parent qw(SL::DB::Object);
|
||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->table('requirement_specs');
|
||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->columns(
|
||
customer_id => { type => 'integer' },
|
||||
7e0130b0 | Moritz Bunkus | hourly_rate => { type => 'numeric', default => '0', not_null => 1, precision => 8, scale => 2 },
|
||
1561b7f3 | Moritz Bunkus | id => { type => 'serial', not_null => 1 },
|
||
is_template => { type => 'boolean', default => 'false' },
|
||||
itime => { type => 'timestamp', default => 'now()' },
|
||||
mtime => { type => 'timestamp' },
|
||||
previous_fb_number => { type => 'integer', not_null => 1 },
|
||||
9cddaf37 | Moritz Bunkus | previous_picture_number => { type => 'integer', default => '0', not_null => 1 },
|
||
1561b7f3 | Moritz Bunkus | previous_section_number => { type => 'integer', not_null => 1 },
|
||
project_id => { type => 'integer' },
|
||||
status_id => { type => 'integer' },
|
||||
7e0130b0 | Moritz Bunkus | time_estimation => { type => 'numeric', default => '0', not_null => 1, precision => 12, scale => 2 },
|
||
1561b7f3 | Moritz Bunkus | title => { type => 'text', not_null => 1 },
|
||
75563c5f | Moritz Bunkus | type_id => { type => 'integer', not_null => 1 },
|
||
1561b7f3 | Moritz Bunkus | working_copy_id => { type => 'integer' },
|
||
);
|
||||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->primary_key_columns([ 'id' ]);
|
||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->allow_inline_column_values(1);
|
||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | __PACKAGE__->meta->foreign_keys(
|
||
customer => {
|
||||
class => 'SL::DB::Customer',
|
||||
key_columns => { customer_id => 'id' },
|
||||
},
|
||||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | project => {
|
||
class => 'SL::DB::Project',
|
||||
key_columns => { project_id => 'id' },
|
||||
},
|
||||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | status => {
|
||
class => 'SL::DB::RequirementSpecStatus',
|
||||
key_columns => { status_id => 'id' },
|
||||
},
|
||||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | type => {
|
||
class => 'SL::DB::RequirementSpecType',
|
||||
key_columns => { type_id => 'id' },
|
||||
},
|
||||
d17e1b9d | Moritz Bunkus | |||
1561b7f3 | Moritz Bunkus | working_copy => {
|
||
class => 'SL::DB::RequirementSpec',
|
||||
key_columns => { working_copy_id => 'id' },
|
||||
},
|
||||
d17e1b9d | Moritz Bunkus | );
|
||
1;
|
||||
;
|