Add more asset data attributes.
This commit is contained in:
parent
38144bd58f
commit
9ff9f31f14
1 changed files with 10 additions and 0 deletions
|
|
@ -243,6 +243,16 @@ has assetId => (
|
|||
lazy => 1,
|
||||
default => sub { shift->session->id->generate() },
|
||||
);
|
||||
has [qw/parentId lineage className
|
||||
creationDate createdBy
|
||||
state stateChanged stateChangedBy
|
||||
isLockedBy isSystem lastExportedAs/] => (
|
||||
is => 'rw',
|
||||
);
|
||||
has className => (
|
||||
is => 'ro',
|
||||
default => sub { ref shift; },
|
||||
);
|
||||
|
||||
around BUILDARGS => sub {
|
||||
my $orig = shift;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue