Java data transfer object naming convention?

前端 未结 5 1372
不知归路
不知归路 2020-12-04 05:44

Given this scenario where you have \"transfer objects\" (POJO\'s with just getters/setters) which are passed by a client library to your API, what is the best way to name th

5条回答
  •  独厮守ぢ
    2020-12-04 06:44

    Adding DTO or DAO or anything else violates DRY. The FQN is perfectly fine, especially if they're really the same thing.

提交回复
热议问题