How to map parent and children using Mapstruct in Spring Boot?

前端 未结 0 1565
旧时难觅i
旧时难觅i 2020-12-01 20:11

I have product (parent) and book (child), and would like to map product entity to product DTO or vise versa. As you can see, the product is mapped and stored in single table

相关标签:
回答
  • 消灭零回复
提交回复
热议问题