• Post Reply Bookmark Topic Watch Topic
  • New Topic

Part2 assignment small question

 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear all,

I have a general question about the Part2 assignment.

Lets suppose that in the Use Case diagrams there are two actors, Customer and Salesman. (Both Customer and Salesman are in Use Case)

The Customer object is mentioned in the Business Domain Model, while the Salesman is NOT. (Only Customer object, No Salesman Object in Business Domain Model)

Question : In my Class diagram , should I consider the Salesman ?

 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would consider single object "User" of the system. If the users attribute vary significantly, then 2 subclasse Customer & salesman make sense. smae design in DB tables as well...Hope this helps.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Rajan
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!