Subversion Repositories computer_asset_manager_v2

Rev

Rev 56 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

<?php
   require_once( 'camp.class.php' );

   class Owner extends Camp {
      protected static $dbStructure = array(
         'table' => array( 
            'tableName' => 'owner',
            'primaryKey' => 'owner_id',
            'selectionDisplay' => 'name',
            'fields' => array(
                  'owner_id' => array (
                     'displayName' => 'ID',
                     'type' => 'int unsigned',
                     'nullable' => false
                  ),
                  'name' => array (
                     'displayName' => 'Owner',
                     'type' => 'varchar',
                     'size' => 64,
                     'list' => true
                  ),
                  'created' => array (
                     'displayName' => 'Created',
                     'type' => 'date'
                  ),
                  'removed' => array(
                     'displayName' => 'Removed',
                     'type' => 'date'
                  )
               ) // fields
            ) // table
         ); // dbStructure
         public static $myName = 'owner';
         
   }

?>