<?php
class Profile extends AppModel {

    var 
$name 'Profile';
    var 
$useTable 'profiles';
    var 
$validate = array(
        
'name' => array(VALID_NOT_EMPTY),
        
'header_color' => array(VALID_NOT_EMPTY),
        
'user_id' => array('numeric')
    );

    
//The Associations below have been created with all possible keys, those that are not needed can be removed
    
var $belongsTo = array(
            
'User' => array('className' => 'User',
                                
'foreignKey' => 'user_id',
                                
'conditions' => '',
                                
'fields' => '',
                                
'order' => ''
            
)
    );

}
?>