class AddEcoNewsCommentDtoRequestMapper extends AbstractConverter<AddEcoNewsCommentDtoRequest, EcoNewsComment> {

    @Override
    protected EcoNewsComment convert(AddEcoNewsCommentDtoRequest addEcoNewsCommentDtoRequest) {
        return EcoNewsComment.builder()
            .text(addEcoNewsCommentDtoRequest.getText())
            .build();
    }

}