<?php

class Category extends AppModel {
	
	var $useTable = 'category';
	var $id = 'id';
	var $primaryKey = 'id';

	var $hasAndBelongsToMany = array(
        'Site' =>
            array(
                'className'              => 'Site',
                'joinTable'              => 'category_site',
                'foreignKey'             => 'category',
                'associationForeignKey'  => 'site',
                'unique'                 => true,
            )
    );

}

?>