array('numeric'), 'number' => array('alphanumeric'), 'lease_type_id' => array('numeric'), 'unit_id' => array('numeric'), 'late_schedule_id' => array('numeric'), 'lease_date' => array('date'), 'movein_planed_date' => array('date'), 'movein_date' => array('date'), 'moveout_date' => array('date'), 'moveout_planed_date' => array('date'), 'notice_given_date' => array('date'), 'notice_received_date' => array('date'), 'close_date' => array('date'), 'deposit' => array('money'), 'amount' => array('money'), 'next_amount' => array('money'), 'next_amount_date' => array('date') ); //The Associations below have been created with all possible keys, those that are not needed can be removed var $belongsTo = array( 'LeaseType' => array( 'className' => 'LeaseType', 'foreignKey' => 'lease_type_id', 'conditions' => '', 'fields' => '', 'order' => '' ), 'Unit' => array( 'className' => 'Unit', 'foreignKey' => 'unit_id', 'conditions' => '', 'fields' => '', 'order' => '' ), 'LateSchedule' => array( 'className' => 'LateSchedule', 'foreignKey' => 'late_schedule_id', 'conditions' => '', 'fields' => '', 'order' => '' ) ); var $hasMany = array( 'Charge' => array( 'className' => 'Charge', 'foreignKey' => 'lease_id', 'dependent' => false, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ); var $hasAndBelongsToMany = array( 'Contact' => array( 'className' => 'Contact', 'joinTable' => 'contacts_leases', 'foreignKey' => 'lease_id', 'associationForeignKey' => 'contact_id', 'unique' => true, 'conditions' => '', 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'finderQuery' => '', 'deleteQuery' => '', 'insertQuery' => '' ) ); } ?>