/**
  * returns all the column names of this table
  *
  * @access public
  * @return array
  */
 static function &fields()
 {
     if (!self::$_fields) {
         self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'domain_id' => array('name' => 'domain_id', 'type' => CRM_Utils_Type::T_INT), 'day_start_at' => array('name' => 'day_start_at', 'type' => CRM_Utils_Type::T_TIME, 'title' => ts('Day Start At'), 'required' => true), 'day_end_at' => array('name' => 'day_end_at', 'type' => CRM_Utils_Type::T_TIME, 'title' => ts('Day End At'), 'required' => true), 'time_period' => array('name' => 'time_period', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Time Period'), 'required' => true), 'log_confirmation_email' => array('name' => 'log_confirmation_email', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Log Confirmation Email'), 'required' => true), 'unlimited_resource_time_config' => array('name' => 'unlimited_resource_time_config', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Unlimited Resource Time Config'), 'required' => true), 'cc_email_address' => array('name' => 'cc_email_address', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Cc Email Address'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'bcc_email_address' => array('name' => 'bcc_email_address', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Bcc Email Address'), 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'slot_new_colour' => array('name' => 'slot_new_colour', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Slot New Colour'), 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE), 'slot_being_edited_colour' => array('name' => 'slot_being_edited_colour', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Slot Being Edited Colour'), 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE), 'slot_booked_colour' => array('name' => 'slot_booked_colour', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Slot Booked Colour'), 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE), 'slot_provisional_colour' => array('name' => 'slot_provisional_colour', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Slot Provisional Colour'), 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE), 'slot_unavailable_colour' => array('name' => 'slot_unavailable_colour', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Slot Unavailable Colour'), 'maxlength' => 10, 'size' => CRM_Utils_Type::TWELVE));
     }
     return self::$_fields;
 }