2009-05-06 07:53:28 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Commandes
|
2010-04-09 14:36:38 +00:00
|
|
|
*
|
2009-05-06 07:53:28 +00:00
|
|
|
* This class has been auto-generated by the Doctrine ORM Framework
|
2010-04-09 14:36:38 +00:00
|
|
|
*
|
2009-05-06 07:53:28 +00:00
|
|
|
* @package ##PACKAGE##
|
|
|
|
* @subpackage ##SUBPACKAGE##
|
|
|
|
* @author ##NAME## <##EMAIL##>
|
|
|
|
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
|
|
|
*/
|
|
|
|
class Commandes extends BaseCommandes
|
|
|
|
{
|
2010-04-09 14:36:38 +00:00
|
|
|
public function setUp()
|
2009-05-07 09:32:28 +00:00
|
|
|
{
|
|
|
|
parent::setUp();
|
|
|
|
$this->actAs('Timestampable');
|
2010-04-09 14:36:38 +00:00
|
|
|
$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'));
|
2009-05-07 09:32:28 +00:00
|
|
|
}
|
2009-05-06 07:53:28 +00:00
|
|
|
}
|