Projekte: Attribute aus Bob
[kivitendo-erp.git] / SL / DB / MetaSetup / ProjectStatus.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::ProjectStatus;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'project_status',
11
12   columns => [
13     id          => { type => 'serial', not_null => 1 },
14     name        => { type => 'text', not_null => 1 },
15     description => { type => 'text', not_null => 1 },
16     position    => { type => 'integer', not_null => 1 },
17     itime       => { type => 'timestamp', default => '06.05.2013 14:26:18.81159' },
18     mtime       => { type => 'timestamp' },
19   ],
20
21   primary_key_columns => [ 'id' ],
22
23   relationships => [
24     project => {
25       class      => 'SL::DB::Project',
26       column_map => { id => 'project_status_id' },
27       type       => 'one to many',
28     },
29   ],
30 );
31
32 1;
33 ;