array('numeric'), 'name' => array('notempty'), ); var $hasMany = array( 'Lease' => array( 'className' => 'Lease', 'foreignKey' => 'customer_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'Transaction' => array( 'className' => 'Transaction', 'foreignKey' => 'customer_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ); var $hasAndBelongsToMany = array( 'Contact' => array( 'className' => 'Contact', 'joinTable' => 'contacts_customers', 'foreignKey' => 'customer_id', 'associationForeignKey' => 'contact_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ), ); } ?>