diff options
Diffstat (limited to 'lib/DeWeave/BO/Bookmark/Folder.pm')
-rw-r--r-- | lib/DeWeave/BO/Bookmark/Folder.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/DeWeave/BO/Bookmark/Folder.pm b/lib/DeWeave/BO/Bookmark/Folder.pm new file mode 100644 index 0000000..3f77ff6 --- /dev/null +++ b/lib/DeWeave/BO/Bookmark/Folder.pm @@ -0,0 +1,20 @@ +package DeWeave::BO::Bookmark::Folder; +use Moose; +use namespace::autoclean; +use MooseX::Types::Moose qw(Str ArrayRef); + +extends 'DeWeave::BO::Bookmark::Base'; + +has title => ( + isa => Str, + required => 1, + is => 'ro', +); + +has children => ( + isa => ArrayRef[Str], + required => 1, + is => 'ro', +); + +1; |