One more question about design do make a program for appointment at the dentist

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

I will create a program for fun that could be used for making appointments
at the dentist.
I can see three classes. These are:
1.The MainGUI class
2.The TreatmentIndividual class along with information such as social
sequrity number, name,
treatmenttype, treatmentTime, appointment date and time
3. One Manager class that hold TreatmentIndividual in a generic List
collection

I will use a DataGridView to enter data.
My question is if this design with only three classes is acceptable
according to OOP ?
I don't expect the solution to be perfect.
I just want your oppinion about this matter.
I will be able to add new appointments
I will be able to remove existing appointments
I will be able to change existing appointments


//Tony
 
I will create a program for fun that could be used for making appointments
at the dentist.
I can see three classes. These are:
1.The MainGUI class
2.The TreatmentIndividual class along with information such as social
sequrity number, name,
treatmenttype, treatmentTime, appointment date and time
3. One Manager class that hold TreatmentIndividual in a generic List
collection

I will use a DataGridView to enter data.
My question is if this design with only three classes is acceptable
according to OOP ?
I don't expect the solution to be perfect.
I just want your oppinion about this matter.
I will be able to add new appointments
I will be able to remove existing appointments
I will be able to change existing appointments

I think I chose at least:

MainGUI
Dentist--1:M--Client--1:M--Treatment

Client and Treatment are definitely separate entities.

Arne
 
Back
Top