# Map Struct 참고

Entity - DTO를 연결하는 여러가지 방법

@Mapper interface를 생성하는 방식\
<https://hellokoding.com/mapping-jpa-hibernate-entity-and-dto-with-mapstruct/>

BeansUtils를 이\
<http://appsdeveloperblog.com/dto-to-entity-and-entity-to-dto-conversion/>

ModelMapper 라이브러리를 이용\
<https://yonguri.tistory.com/entry/Entity-DTO-%EA%B7%B8-%EC%82%AC%EC%9D%B4%EC%9D%98-ModelMapper-%EC%9D%B4%EC%95%BC%EA%B8%B0>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://blog.javabom.com/minhee/spring-boot/jpa/map-struct.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
