2009-05-12 12:25:42 +00:00

23 lines
685 B
PHP

<?php
/**
* Commandes
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
*/
class Commandes extends BaseCommandes
{
public function setUp()
{
parent::setUp();
$this->actAs('Timestampable');
$this->hasOne('Report', array('local' => 'id','foreign' => 'order_id'));
$this->hasOne('CommandesDetail', array('local' => 'id','foreign' => 'commandes_id'));
$this->hasOne('Country', array('local' => 'country_id','foreign' => 'id'));
}
}