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

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
 
A

Arne Vajhøj

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top