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 discount => { type => 'float', precision => 4, scale => 4 },
15 discount_code => { type => 'text' },
16 id => { type => 'serial', not_null => 1 },
17 identifier => { type => 'text' },
18 partnumber => { type => 'text' },
19 position => { type => 'integer' },
20 price => { type => 'numeric', precision => 15, scale => 5 },
21 quantity => { type => 'numeric', precision => 25, scale => 5 },
22 shop_order_id => { type => 'integer' },
23 shop_trans_id => { type => 'text', not_null => 1 },
24 tax_rate => { type => 'numeric', precision => 15, scale => 2 },
27 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
29 __PACKAGE__->meta->foreign_keys(
31 class => 'SL::DB::ShopOrder',
32 key_columns => { shop_order_id => 'id' },