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 base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->setup(
 
  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     deleted   => { type => 'boolean', default => 'false' },
 
  32   primary_key_columns => [ 'id' ],
 
  34   unique_key => [ 'login' ],
 
  36   allow_inline_column_values => 1,