atdalman / ttrpgNpcGenerator

BSD 2-Clause "Simplified" License
1 stars 0 forks source link

Separate DB entities from DTOs #4

Open atdalman opened 11 months ago

atdalman commented 11 months ago

Currently returning DB entities from endpoints. DTOs may not differ that much but worth making the separation.

Some @JsonIgnore annotations may be removed as a result.

atdalman commented 11 months ago

Would make sense to add MapStruct dependency here as well