# This file has been auto-generated. Do not modify it; it will be overwritten
# by rose_auto_create_model.pl automatically.
package SL::DB::GenericTranslation;

use strict;

use base qw(SL::DB::Object);

__PACKAGE__->meta->setup(
  table   => 'generic_translations',

  columns => [
    id               => { type => 'serial', not_null => 1 },
    language_id      => { type => 'integer' },
    translation_type => { type => 'varchar', length => 100, not_null => 1 },
    translation_id   => { type => 'integer' },
    translation      => { type => 'text' },
  ],

  primary_key_columns => [ 'id' ],

  foreign_keys => [
    language => {
      class       => 'SL::DB::Language',
      key_columns => { language_id => 'id' },
    },
  ],
);

1;
;
