<?php

   class usersearchesData extends Data {

      var $table = USERSEARCHES_TABLE;

      var $config = array (
  'table' => USERSEARCHES_TABLE,
  'idField' => 'osdate_usersearches_id',
  'addedMsg' => 'Osdate Usersearches %s Added',
  'added_err' => 'Can\\\'t Add Osdate Usersearches',
  'editMsg' => 'Osdate Usersearches %s Updated',
  'editErr' => 'Can\\\'t Update Osdate Usersearches',
  'delErr' => 'Can\\\'t Delete Osdate Usersearches',
  'delMsg' => 'Osdate Usersearches %s Deleted',
  'blankErr' => 'Osdate Usersearches Empty',
  'fields' => 
  array (
    'id' => 
    array (
      'name' => 'id',
      'description' => 'Id',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 11,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'userid' => 
    array (
      'name' => 'userid',
      'description' => 'Userid',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 11,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'search_name' => 
    array (
      'name' => 'search_name',
      'description' => 'Search Name',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 100,
      'blank_ok' => 1,
      'duplicate_ok' => 1,
    ),
    'query' => 
    array (
      'name' => 'query',
      'description' => 'Query',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 65535,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
  ),
);   

      function usersearchesData() {
      
         $this->Data($this->config);
      }
   }

?>
