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::ShopOrderItem;
 
   7 use parent qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->table('shop_order_items');
 
  11 __PACKAGE__->meta->columns(
 
  12   active_price_source => { type => 'text' },
 
  13   description         => { type => 'text' },
 
  14   id                  => { type => 'serial', not_null => 1 },
 
  15   partnumber          => { type => 'text' },
 
  16   position            => { type => 'integer' },
 
  17   price               => { type => 'numeric', precision => 15, scale => 5 },
 
  18   quantity            => { type => 'numeric', precision => 25, scale => 5 },
 
  19   shop_order_id       => { type => 'integer' },
 
  20   shop_trans_id       => { type => 'text', not_null => 1 },
 
  21   tax_rate            => { type => 'numeric', precision => 15, scale => 2 },
 
  24 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
  26 __PACKAGE__->meta->foreign_keys(
 
  28     class       => 'SL::DB::ShopOrder',
 
  29     key_columns => { shop_order_id => 'id' },