booking.rb

Path: app/models/booking.rb
Last Update: Thu Dec 07 11:38:36 +1030 2006

Booking

A booking for a client to see a Clinician in a specified ClinicalSession.

Bookings are controlled mainly through the SessionController

Rules

  • Each booking is for one ClinicalSession
  • Each booking belongs to one Client
  • A single client cannot have bookings that occur same time
  • A single session can have only 1 booking

[Validate]