Mapping entity to dto with business logic

后端 未结 0 1833
予麋鹿
予麋鹿 2020-12-11 00:29

I\'m mapping entities to dtos in controllers layer. I have an entity with date value and dto with age value. Where should I make a method to calculate age. I use ModelMapper

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