DBO Update - alle normalen Models hinzugefĆ¼gt.
[kivitendo-erp.git] / SL / DB / MetaSetup / Employee.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::Employee;
4
5 use strict;
6
7 use base qw(SL::DB::Object);
8
9 __PACKAGE__->meta->setup(
10   table   => 'employee',
11
12   columns => [
13     id        => { type => 'integer', not_null => 1, sequence => 'id' },
14     login     => { type => 'text' },
15     startdate => { type => 'date', default => 'now' },
16     enddate   => { type => 'date' },
17     notes     => { type => 'text' },
18     role      => { type => 'text' },
19     sales     => { type => 'boolean', default => 'true' },
20     itime     => { type => 'timestamp', default => 'now()' },
21     mtime     => { type => 'timestamp' },
22     name      => { type => 'text' },
23     addr1     => { type => 'text' },
24     addr2     => { type => 'text' },
25     addr3     => { type => 'text' },
26     addr4     => { type => 'text' },
27     homephone => { type => 'text' },
28     workphone => { type => 'text' },
29   ],
30
31   primary_key_columns => [ 'id' ],
32
33   unique_key => [ 'login' ],
34
35   allow_inline_column_values => 1,
36 );
37
38 1;
39 ;