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::RMAItem;
 
   7 use base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->setup(
 
  13     trans_id      => { type => 'integer' },
 
  14     parts_id      => { type => 'integer' },
 
  15     description   => { type => 'text' },
 
  16     qty           => { type => 'float', precision => 4 },
 
  17     base_qty      => { type => 'float', precision => 4 },
 
  18     sellprice     => { type => 'numeric', precision => 5, scale => 15 },
 
  19     discount      => { type => 'float', precision => 4 },
 
  20     project_id    => { type => 'integer' },
 
  21     reqdate       => { type => 'date' },
 
  22     ship          => { type => 'float', precision => 4 },
 
  23     serialnumber  => { type => 'text' },
 
  24     id            => { type => 'integer', not_null => 1, sequence => 'orderitemsid' },
 
  25     itime         => { type => 'timestamp', default => 'now()' },
 
  26     mtime         => { type => 'timestamp' },
 
  27     pricegroup_id => { type => 'integer' },
 
  28     rmanumber     => { type => 'text' },
 
  29     transdate     => { type => 'text' },
 
  30     cusrmanumber  => { type => 'text' },
 
  31     unit          => { type => 'varchar', length => 20 },
 
  34   primary_key_columns => [ 'id' ],
 
  36   allow_inline_column_values => 1,
 
  40       class       => 'SL::DB::Part',
 
  41       key_columns => { parts_id => 'id' },