Class CommentMapper
java.lang.Object
es.kukenan.smartfi.microservice.backoffice.service.mapper.CommentMapper
Comments mapper.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.user.CommentDtoMap Comment to DataObject.static List<es.kukenan.smartfi.microservice.backoffice.dtos.backoffice.user.CommentDto>Map Comments list to DataObject list.
-
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
-