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::PriceRuleItem;
 
   7 use base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->table('price_rule_items');
 
  11 __PACKAGE__->meta->columns(
 
  12   custom_variable_configs_id => { type => 'integer' },
 
  13   id                         => { type => 'serial', not_null => 1 },
 
  14   itime                      => { type => 'timestamp' },
 
  15   mtime                      => { type => 'timestamp' },
 
  16   op                         => { type => 'text' },
 
  17   price_rules_id             => { type => 'integer', not_null => 1 },
 
  18   type                       => { type => 'text' },
 
  19   value_date                 => { type => 'date' },
 
  20   value_int                  => { type => 'integer' },
 
  21   value_num                  => { type => 'numeric', precision => 15, scale => 5 },
 
  22   value_text                 => { type => 'text' },
 
  25 __PACKAGE__->meta->primary_key_columns([ 'id' ]);
 
  27 __PACKAGE__->meta->foreign_keys(
 
  28   custom_variable_configs => {
 
  29     class       => 'SL::DB::CustomVariableConfig',
 
  30     key_columns => { custom_variable_configs_id => 'id' },
 
  34     class       => 'SL::DB::PriceRule',
 
  35     key_columns => { price_rules_id => 'id' },