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::CustomVariable;
 
   7 use base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->setup(
 
  10   table   => 'custom_variables',
 
  13     id              => { type => 'integer', not_null => 1, sequence => 'custom_variables_id' },
 
  14     config_id       => { type => 'integer', not_null => 1 },
 
  15     trans_id        => { type => 'integer', not_null => 1 },
 
  16     bool_value      => { type => 'boolean' },
 
  17     timestamp_value => { type => 'timestamp' },
 
  18     text_value      => { type => 'text' },
 
  19     number_value    => { type => 'numeric', precision => 5, scale => 25 },
 
  20     itime           => { type => 'timestamp', default => 'now()' },
 
  21     mtime           => { type => 'timestamp' },
 
  22     sub_module      => { type => 'text', default => '', not_null => 1 },
 
  25   primary_key_columns => [ 'id' ],
 
  27   allow_inline_column_values => 1,
 
  31       class       => 'SL::DB::CustomVariableConfig',
 
  32       key_columns => { config_id => 'id' },