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