Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Part2 assignment small question  RSS feed

 
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!