java.lang.Object
es.kukenan.smartfi.microservice.backoffice.service.mapper.RoleMapper

public class RoleMapper extends Object
Role mapper object.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.requestedfiles.DataObject
    map(Rol rol)
    Map Role to DataObject.
    static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.requestedfiles.DataObject>
    map(List<Rol> roles)
    Map Role list to DataObject list.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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