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     sales     => { type => 'boolean', default => 'true' },
 
  19     itime     => { type => 'timestamp', default => 'now()' },
 
  20     mtime     => { type => 'timestamp' },
 
  21     name      => { type => 'text' },
 
  22     addr1     => { type => 'text' },
 
  23     addr2     => { type => 'text' },
 
  24     addr3     => { type => 'text' },
 
  25     addr4     => { type => 'text' },
 
  26     homephone => { type => 'text' },
 
  27     workphone => { type => 'text' },
 
  28     deleted   => { type => 'boolean', default => 'false' },
 
  31   primary_key_columns => [ 'id' ],
 
  33   unique_key => [ 'login' ],
 
  35   allow_inline_column_values => 1,