Package cvut.fel.dto.request

# Class RequestMapper

java.lang.Object
cvut.fel.dto.request.RequestMapper

    public abstract class RequestMapper
    extends java.lang.Object

- ## Field Summary

  Fields
  Modifier and Type | Field | Description
  --- | --- | ---
  `protected AuthorRepository` | `authorRepository` |
  `protected GenreRepository` | `genreRepository` |

- ## Constructor Summary

  Constructors
  Constructor | Description
  --- | ---
  `RequestMapper()` |

- ## Method Summary

  Modifier and Type | Method | Description
  --- | --- | ---
  `Book` | `createToBook​(BookCreate bookCreate)` |

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### genreRepository

    @Autowired protected GenreRepository genreRepository

  - ### authorRepository

    @Autowired protected AuthorRepository authorRepository

- ## Constructor Details

  - ### RequestMapper

    public RequestMapper()

- ## Method Details

  - ### createToBook

    public Book createToBook​(BookCreate bookCreate)