Duration-Helfer für Pflichtenheft-Zeitabschätzung
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 8 Mar 2013 16:54:17 +0000 (17:54 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 1 Apr 2014 11:02:26 +0000 (13:02 +0200)
SL/DB/RequirementSpecItem.pm

index 1bc44c2..8f7874d 100644 (file)
@@ -5,6 +5,7 @@ use strict;
 use SL::DB::MetaSetup::RequirementSpecItem;
 use SL::DB::Manager::RequirementSpecItem;
 use SL::DB::Helper::ActsAsList;
+use SL::DB::Helper::AttrDuration;
 
 __PACKAGE__->meta->add_relationship(
   children     => {
@@ -29,6 +30,7 @@ __PACKAGE__->meta->add_relationship(
 __PACKAGE__->meta->initialize;
 
 __PACKAGE__->configure_acts_as_list(group_by => [qw(requirement_spec_id parent_id)]);
+__PACKAGE__->attr_duration(qw(time_estimation));
 
 __PACKAGE__->before_delete(\&_before_delete_delete_children);