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

public class CommentMapper extends Object
Comments mapper.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.user.CommentDto
    map(Comment comment)
    Map Comment to DataObject.
    static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.user.CommentDto>
    map(List<Comment> comments)
    Map Comments list to DataObject list.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommentMapper

      public CommentMapper()
  • Method Details

    • map

      public static es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.user.CommentDto map(Comment comment)
      Map Comment to DataObject.
      Parameters:
      comment - Comment entity
      Returns:
      DataObject result
    • map

      public static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.user.CommentDto> map(List<Comment> comments)
      Map Comments list to DataObject list.
      Parameters:
      comments - Comments entity list
      Returns:
      DataObject list result