so im trying to have a one to many and a many to one in the dto. should i create a separte dto for postmapping?
k
kqr
09/22/2020, 11:31 AM
not sure but you should definately use kotlin! 🙂
n
nathan
09/22/2020, 3:32 PM
i am using kotlin .-.
d
dusan
09/24/2020, 7:47 AM
I personally prefer to have dtos separated from jpa entities if that is what you were referring to. In constructor of your data class you can do the mapping between entity and dto. Just a suggestion 🙂