How do you suffix models from the data layer? `Use...
# android-architecture
g
How do you suffix models from the data layer?
UserData
,
UserEntity
,
UserDto
,
UserApi
...? 🙂
Can't find the inner peace here,
Data
is so generic, don't want to occupy this name.
Api
is ok.. but can be confused with an actual Api interface. Plus, it doesn't cover DB models, idk.
u
ApiUser, DataUser, (domain) User
d
UserService, UserRepository, UserDTO, CachedUser.
UserDAO
RemoteUserRepository, LocalUserRepository