<?php

   class usertemplatesData extends Data {

      var $table = USERTEMPLATES_TABLE;

      var $config = array (
  'table' => USERTEMPLATES_TABLE,
  'idField' => 'osdate_usertemplates_id',
  'addedMsg' => 'Osdate Usertemplates %s Added',
  'added_err' => 'Can\\\'t Add Osdate Usertemplates',
  'editMsg' => 'Osdate Usertemplates %s Updated',
  'editErr' => 'Can\\\'t Update Osdate Usertemplates',
  'delErr' => 'Can\\\'t Delete Osdate Usertemplates',
  'delMsg' => 'Osdate Usertemplates %s Deleted',
  'blankErr' => 'Osdate Usertemplates 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,
    ),
    'subject' => 
    array (
      'name' => 'subject',
      'description' => 'Subject',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 255,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
    'text' => 
    array (
      'name' => 'text',
      'description' => 'Text',
      'type' => 'text',
      'min_len' => 0,
      'max_len' => 65535,
      'blank_ok' => 0,
      'duplicate_ok' => 1,
    ),
  ),
);   

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

?>
