1 # This file has been auto-generated. Do not modify it; it will be overwritten
 
   2 # by rose_auto_create_model.pl automatically.
 
   7 use base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->setup(
 
  13     id           => { type => 'integer', not_null => 1, sequence => 'note_id' },
 
  14     subject      => { type => 'text' },
 
  15     body         => { type => 'text' },
 
  16     created_by   => { type => 'integer', not_null => 1 },
 
  17     trans_id     => { type => 'integer' },
 
  18     trans_module => { type => 'varchar', length => 10 },
 
  19     itime        => { type => 'timestamp', default => 'now()' },
 
  20     mtime        => { type => 'timestamp' },
 
  23   primary_key_columns => [ 'id' ],
 
  25   allow_inline_column_values => 1,
 
  29       class       => 'SL::DB::Employee',
 
  30       key_columns => { created_by => 'id' },