summaryrefslogtreecommitdiff
path: root/lib/DeWeave/BO/Bookmark/Bookmark.pm
blob: 7b235b3f12af132abf44e7ecda694d5a4f863b3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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;