Package com.avoka.tm.vo
Class Role
- java.lang.Object
-
- com.avoka.tm.vo.Role
-
public class Role extends Object
Provide a Role value object class.- Since:
- 19.11.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()The role description.LonggetId()The role id (PK).StringgetName()The role name.
-
-
-
Constructor Detail
-
Role
public Role(com.avoka.fc.core.entity.Role role)
Create a Role value object.- Parameters:
role- the role entity parameter (required)
-
Role
public Role(Map fields)
Create a unit testing Role value object with the given fields.- Parameters:
fields- the role entity fields (required)
-
-