array('numeric'), 'name' => array('notempty'), 'account_id' => array('numeric') ); //The Associations below have been created with all possible keys, those that are not needed can be removed /* var $belongsTo = array( */ /* 'Account' => array( */ /* 'className' => 'Account', */ /* 'foreignKey' => 'account_id', */ /* 'conditions' => '', */ /* 'fields' => '', */ /* 'order' => '' */ /* ) */ /* ); */ var $hasMany = array( 'Charge' => array( 'className' => 'Charge', 'foreignKey' => 'charge_type_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ); } ?>