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::GLTransaction;
 
   7 use base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->setup(
 
  13     id             => { type => 'integer', not_null => 1, sequence => 'glid' },
 
  14     reference      => { type => 'text' },
 
  15     description    => { type => 'text' },
 
  16     transdate      => { type => 'date', default => 'now' },
 
  17     gldate         => { type => 'date', default => 'now' },
 
  18     employee_id    => { type => 'integer' },
 
  19     notes          => { type => 'text' },
 
  20     department_id  => { type => 'integer', default => '0' },
 
  21     taxincluded    => { type => 'boolean' },
 
  22     itime          => { type => 'timestamp', default => 'now()' },
 
  23     mtime          => { type => 'timestamp' },
 
  24     type           => { type => 'text' },
 
  25     storno         => { type => 'boolean', default => 'false' },
 
  26     storno_id      => { type => 'integer' },
 
  27     ob_transaction => { type => 'boolean' },
 
  28     cb_transaction => { type => 'boolean' },
 
  31   primary_key_columns => [ 'id' ],
 
  33   allow_inline_column_values => 1,
 
  37       class       => 'SL::DB::GLTransaction',
 
  38       key_columns => { storno_id => 'id' },