Admin class - all work method should be part of a Service

Admin class seems bloated. All the functionality should be moved under service this is not an entity as such.

We can create an entity called as Admin which extends Person but the action on Admin related functionality should be moved out to AdminService.

Am I missing something ?

Type your question above this line.


Hi @Prabhat_Jha
We are considering the services which you’re mentioning as a duties of admin. This is the requirement assumed by our system. There can be multiple ways of designing a system.