Reputation: 55
suppose we have a symfony project with 3 roles ( role_user, role_admin, role_superadmin) where the super admin can promote a user to be an admin or depromote him back to a user state. The question is in a class diagram, will these roles be presented by 3 classes or we gonna have just one class "User" with a "role" attribute ?
Upvotes: 0
Views: 181