/**
  * 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, 'title' => ts('ID'), 'required' => true), 'title' => array('name' => 'title', 'type' => CRM_Utils_Type::T_STRING, 'title' => ts('Title'), 'required' => true, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE), 'weight' => array('name' => 'weight', 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Weight'), 'required' => true), 'is_active' => array('name' => 'is_active', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Slot is cancelled'), 'import' => true, 'where' => 'civicrm_booking_resource_config_set.is_active', 'headerPattern' => '', 'dataPattern' => '', 'export' => true, 'default' => '1'), 'is_deleted' => array('name' => 'is_deleted', 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => ts('Slot is in the Trash'), 'import' => true, 'where' => 'civicrm_booking_resource_config_set.is_deleted', 'headerPattern' => '', 'dataPattern' => '', 'export' => true));
     }
     return self::$_fields;
 }