Class RoleMapper
java.lang.Object
es.kukenan.smartfi.microservice.backoffice.service.mapper.RoleMapper
Role mapper object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.requestedfiles.DataObjectMap Role to DataObject.static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.requestedfiles.DataObject>Map Role list to DataObject list.
-
Constructor Details
-
RoleMapper
public RoleMapper()
-
-
Method Details
-
map
public static es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.requestedfiles.DataObject map(Rol rol) Map Role to DataObject.- Parameters:
rol- Rol entity- Returns:
- DataObject result
-
map
public static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.requestedfiles.DataObject> map(List<Rol> roles) Map Role list to DataObject list.- Parameters:
roles- Rol entity list- Returns:
- DataObject list result
-