Making Class Diagram for MVC Pattern Project

Posted by iMohammad on Programmers See other posts from Programmers or by iMohammad
Published on 2013-11-08T22:45:28Z Indexed on 2013/11/09 4:16 UTC
Read the original article Hit count: 291

I have a question about making a class diagram for an MVC based college senior project.

If we have 2 actors of users in my system, lets say Undergrad and Graduate students are the children of abstract class called User. (Generalisation)

Each actor has his own features.

My question, in such case, do we need to have these two actors in separate classes which inherits from the abstract class User? even though, I'm going to implement them as roles using one Model called User Model ?

I think you can see my confusion here. I code using MVC pattern, but I've never made a class diagram for this pattern. Thank you in advance!

© Programmers or respective owner

Related posts about architecture

Related posts about mvc