• Post Reply Bookmark Topic Watch Topic
  • New Topic

Help. Cannot understand requirements of assignment.

 
Vichy Yao
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The CEO said, one class, one price. Need I create a 'Class' class?
'Class' should link to 'Seat'(one to one), right?
Should the 'Class' link to 'Equipment'(multiple to one)? or 'Class' link to 'Flight'(multiple to one)?

Thanks.
 
Laxmi Raghu
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Vickey,

Instead of having a separate class named 'Class' you can have one attribute called 'type' which represetns whether the seat belongs to first class or coach.

What ever you assume, please document.
 
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!