SL::DB::RequirementSpec: time_estimation auch als _as_man_days, _as_man_days_unit
authorMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 27 Feb 2015 08:23:35 +0000 (09:23 +0100)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Fri, 27 Feb 2015 08:23:35 +0000 (09:23 +0100)
Analog zum RequirementSpecItem

SL/DB/RequirementSpec.pm

index cd603aa..bc68c17 100644 (file)
@@ -8,6 +8,7 @@ use Rose::DB::Object::Helpers;
 
 use SL::DB::MetaSetup::RequirementSpec;
 use SL::DB::Manager::RequirementSpec;
+use SL::DB::Helper::AttrDuration;
 use SL::DB::Helper::LinkedRecords;
 use SL::Locale::String;
 use SL::Util qw(_hashify);
@@ -52,6 +53,8 @@ __PACKAGE__->meta->add_relationship(
 
 __PACKAGE__->meta->initialize;
 
+__PACKAGE__->attr_duration(qw(time_estimation));
+
 __PACKAGE__->before_save('_before_save_initialize_not_null_columns');
 
 sub validate {