aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ManaTools/Shared/disk_backend/Part.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/ManaTools/Shared/disk_backend/Part.pm b/lib/ManaTools/Shared/disk_backend/Part.pm
index 7c39d201..854d97ba 100644
--- a/lib/ManaTools/Shared/disk_backend/Part.pm
+++ b/lib/ManaTools/Shared/disk_backend/Part.pm
@@ -99,6 +99,8 @@ with 'ManaTools::Shared::ActionsRole', 'ManaTools::Shared::PropertiesRole';
use MooseX::ClassAttribute;
use Moose::Util::TypeConstraints qw/subtype as where/;
+use ManaTools::Shared::UserLevel;
+
## Class DATA
subtype 'PartState'
@@ -140,6 +142,13 @@ class_has 'order' => (
default => undef,
);
+class_has 'level' => (
+ is => 'ro',
+ init_arg => undef,
+ isa => 'LevelType',
+ default => ManaTools::Shared::UserLevel->beginnerLevel,
+);
+
## Object Variables
has 'loaded' => (
is => 'rw',