I have presentation, domain, and data modules. I am fetching football player information from a sports api. I use a mapper class to map the data class between the module layers
I am just wondering what is the convention when naming the data class in different module
In my data layer I will be fetching the player from the api and saving it locally.
Data Layer
local:
PlayerTable
repository:
PlayerEntity
Domain Layer
PlayerModel
Presentation
Player
I have just postfixed the Table, Entity and Model. And for Presentation Player is what it is.
Just wondering is there any particular convention. I have seen didn't styles to this, but the main thing is to keep it consistent.
Just wondering what other dev's do for naming their data classes.
Thanks for any suggestions,