1 package SL::DB::ProjectType;
 
   5 use SL::DB::MetaSetup::ProjectType;
 
   6 use SL::DB::Manager::ProjectType;
 
   8 use SL::DB::Helper::ActsAsList;
 
  10 __PACKAGE__->meta->add_relationship(
 
  12     type         => 'many to one',
 
  13     class        => 'SL::DB::Project',
 
  14     column_map   => { id => 'project_type_id' },
 
  18 __PACKAGE__->meta->initialize;
 
  24   push @errors, $::locale->text('The description is missing.') if !$self->description;