<?php

   class questionoptionsData extends Data {

      var $table = QUESTIONOPTIONS_TABLE;

      var $config = array (
  'table' => QUESTIONOPTIONS_TABLE,
  'idField' => 'osdate_questionoptions_id',
  'addedMsg' => 'Osdate Questionoptions %s Added',
  'added_err' => 'Can\\\'t Add Osdate Questionoptions',
  'editMsg' => 'Osdate Questionoptions %s Updated',
  'editErr' => 'Can\\\'t Update Osdate Questionoptions',
  'delErr' => 'Can\\\'t Delete Osdate Questionoptions',
  'delMsg' => 'Osdate Questionoptions %s Deleted',
  'blankErr' => 'Osdate Questionoptions Empty',
  'fields' => 
  array (
    'id' => 
    array (
      'name' => 'id',
      'description' => 'Id',
      '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,
    ),
    'questionid' => 
    array (
      'name' => 'questionid',
      'description' => 'Questionid',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 8,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'enabled' => 
    array (
      'name' => 'enabled',
      'description' => 'Enabled',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 1,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'displayorder' => 
    array (
      'name' => 'displayorder',
      'description' => 'Displayorder',
      'type' => 'number',
      'min_len' => 0,
      'max_len' => 2,
      'blank_ok' => 1,
      'duplicate_ok' => 1,
    ),
  ),
);   

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

?>
