<?php

   class userpreferenceData extends Data {

      var $table = USERPREFERENCE_TABLE;

      var $config = array (
  'table' => USERPREFERENCE_TABLE,
  'idField' => 'osdate_userpreference_id',
  'addedMsg' => 'Osdate Userpreference %s Added',
  'added_err' => 'Can\\\'t Add Osdate Userpreference',
  'editMsg' => 'Osdate Userpreference %s Updated',
  'editErr' => 'Can\\\'t Update Osdate Userpreference',
  'delErr' => 'Can\\\'t Delete Osdate Userpreference',
  'delMsg' => 'Osdate Userpreference %s Deleted',
  'blankErr' => 'Osdate Userpreference Empty',
  'fields' => 
  array (
    'userid' => 
    array (
      'name' => 'userid',
      'description' => 'Userid',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 11,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'questionid' => 
    array (
      'name' => 'questionid',
      'description' => 'Questionid',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 8,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'answer' => 
    array (
      'name' => 'answer',
      'description' => 'Answer',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 65535,
      'blank_ok' => 1,
      'duplicate_ok' => 1,
    ),
  ),
);   

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

?>
