2010-04-21 10:23:49 +00:00

29 lines
851 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'));
}
}