Subversion Repositories computer_asset_manager_v1

Rev

Rev 1 | Rev 49 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 37
Line 106... Line 106...
106
         'name' => array('required' => true , 'type' => 'string' , 'width' => 255),
106
         'name' => array('required' => true , 'type' => 'string' , 'width' => 255),
107
         'site_id' => array('type' => 'lookup', 'table' => 'site', 'keyfield' => 'site_id', 'display_field' => 'name'),
107
         'site_id' => array('type' => 'lookup', 'table' => 'site', 'keyfield' => 'site_id', 'display_field' => 'name'),
108
         'device_id' => array('keyfield' => true , 'required' => true , 'readonly' => true , 'type' => 'int' , 'width' => 10),
108
         'device_id' => array('keyfield' => true , 'required' => true , 'readonly' => true , 'type' => 'int' , 'width' => 10),
109
         /* Just a place to record some notes */
109
         /* Just a place to record some notes */
110
         'notes' => array('type' => 'text'),
110
         'notes' => array('type' => 'text'),
-
 
111
         /* Just a place to record some notes */
-
 
112
         'restrictions' => array('type' => 'text'),
111
         /* date record was added */
113
         /* date record was added */
112
         'added_date' => array('required' => true , 'type' => 'datetime')
114
         'added_date' => array('required' => true , 'type' => 'datetime')
113
      )
115
      )
114
   ),
116
   ),
115
   /* links devices and their attributes together */
117
   /* links devices and their attributes together */