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.
Course: https://www.educative.io/collection/5668639101419520/5692201761767424
Lesson: https://www.educative.io/collection/page/5668639101419520/5692201761767424/5770234338213888