Not sure if this is the correct place to ask this, but what they hey.
I am thinking of writing an appointment scheduler that:
1) Allows a room to have appointments
2) Each room can be configured to be available some days (M-F) and not others (holidays, weekends) as well as certain times (7 am thru 5 pm for example)
3) Each appointment can be in increments of 15 or 30 minutes, configurable
I know that is a lot, but my first hurdle seems to be the most difficult because that more or less dicates my path. So I am trying to think of what an appointment is:
public class Appointment {
DateTime StartDate
DateTime EndDate
String appointmentTime
User scheduler
User roomMananger
String meetingName
}
public class Room {
List<Appointment> appts
String roomName
int defaultMtgIncrement
DateTime defaultStartTime
DateTime defaultEndTime
ArrayList holidays
ArrayList recurringUnavailableDays
}
So, I guess my question is this: is my initial approach workable or is there a better way. I have looked around and naturally what I am looking for isn’t quite what is out there. I would really love to hear any feedback or comments on this