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;
7 use parent qw(SL::DB::Object);
9 __PACKAGE__->meta->table('employee');
11 __PACKAGE__->meta->columns(
12 deleted => { type => 'boolean', default => 'false' },
13 deleted_email => { type => 'text' },
14 deleted_fax => { type => 'text' },
15 deleted_signature => { type => 'text' },
16 deleted_tel => { type => 'text' },
17 enddate => { type => 'date' },
18 id => { type => 'integer', not_null => 1, sequence => 'id' },
19 itime => { type => 'timestamp', default => 'now()' },
20 login => { type => 'text' },
21 mtime => { type => 'timestamp' },
22 name => { type => 'text' },
23 sales => { type => 'boolean', default => 'true' },
24 startdate => { type => 'date', default => 'now' },
27 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
29 __PACKAGE__->meta->unique_keys([ 'login' ]);
31 __PACKAGE__->meta->allow_inline_column_values(1);