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::UnitsLanguage;
 
   7 use base qw(SL::DB::Object);
 
   9 __PACKAGE__->meta->setup(
 
  10   table   => 'units_language',
 
  13     unit             => { type => 'varchar', length => 20, not_null => 1 },
 
  14     language_id      => { type => 'integer', not_null => 1 },
 
  15     localized        => { type => 'varchar', length => 20 },
 
  16     localized_plural => { type => 'varchar', length => 20 },
 
  17     id               => { type => 'serial', not_null => 1 },
 
  20   primary_key_columns => [ 'id' ],
 
  24       class       => 'SL::DB::Language',
 
  25       key_columns => { language_id => 'id' },
 
  29       class       => 'SL::DB::Unit',
 
  30       key_columns => { unit => 'name' },