public function __construct($attributes = array())
{
parent::__construct(array('attributes' => $attributes, 'belongsTo' => array('manufacturer' => array('class' => 'Test\\Manufacturer', 'foreignKey' => 'id_manufacturer'), 'category' => array('class' => 'Test\\Category', 'foreignKey' => 'id_category'), 'categoryWithNameByDescription' => array('class' => 'Test\\Category', 'foreignKey' => 'description', 'referencedColumn' => 'name')), 'hasOne' => array('orderProduct' => array('class' => 'Test\\OrderProduct', 'foreignKey' => 'id_product')), 'fields' => $this->_fields));
}