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::PriceRule;
 
   7 use base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->table('price_rules');
 
  11 __PACKAGE__->meta->columns(
 
  12   discount  => { type => 'numeric', precision => 15, scale => 5 },
 
  13   id        => { type => 'serial', not_null => 1 },
 
  14   itime     => { type => 'timestamp' },
 
  15   mtime     => { type => 'timestamp' },
 
  16   name      => { type => 'text' },
 
  17   obsolete  => { type => 'boolean', default => 'false', not_null => 1 },
 
  18   price     => { type => 'numeric', precision => 15, scale => 5 },
 
  19   priority  => { type => 'integer', default => 3, not_null => 1 },
 
  20   reduction => { type => 'numeric', precision => 15, scale => 5 },
 
  21   type      => { type => 'text' },
 
  24 __PACKAGE__->meta->primary_key_columns([ 'id' ]);