Suppression des fichiers de modèles de bdd provenant de la génération automatique
This commit is contained in:
parent
c3eae7212e
commit
88cbf5b9f8
@ -1,16 +0,0 @@
|
||||
<?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
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* CommandesDetail
|
||||
*
|
||||
* 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 CommandesDetail extends BaseCommandesDetail
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class CommandesDetailTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class CommandesTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Country
|
||||
*
|
||||
* 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 Country extends BaseCountry
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class CountryTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Countryavailability
|
||||
*
|
||||
* 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 Countryavailability extends BaseCountryavailability
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class CountryavailabilityTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Log
|
||||
*
|
||||
* 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 Log extends BaseLog
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class LogTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Matchidentifiers
|
||||
*
|
||||
* 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 Matchidentifiers extends BaseMatchidentifiers
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class MatchidentifiersTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Matchmethods
|
||||
*
|
||||
* 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 Matchmethods extends BaseMatchmethods
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class MatchmethodsTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Price
|
||||
*
|
||||
* 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 Price extends BasePrice
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class PriceTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Report
|
||||
*
|
||||
* 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 Report extends BaseReport
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class ReportTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* User
|
||||
*
|
||||
* 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 User extends BaseUser
|
||||
{
|
||||
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*/
|
||||
class UserTable extends Doctrine_Table
|
||||
{
|
||||
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseCommandes
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property integer $id
|
||||
* @property string $reference
|
||||
* @property enum $servicespeed
|
||||
* @property enum $orderstate
|
||||
* @property date $dateordered
|
||||
* @property date $datecompleted
|
||||
* @property date $datedue
|
||||
* @property string $companyproductidentifier
|
||||
* @property string $sessionid
|
||||
* @property string $transactionidentifier
|
||||
* @property string $user
|
||||
* @property timestamp $created_at
|
||||
* @property timestamp $updated_at
|
||||
* @property integer $country_id
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseCommandes extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('commandes');
|
||||
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
|
||||
$this->hasColumn('reference', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('servicespeed', 'enum', 19, array('type' => 'enum', 'length' => 19, 'values' => array(0 => 'Normal', 1 => 'Express', 2 => 'Superflash', 3 => 'Immediate', 4 => 'ImmediateWithUpdate', 5 => 'Unknown', 6 => 'Delayed'), 'notnull' => true));
|
||||
$this->hasColumn('orderstate', 'enum', 11, array('type' => 'enum', 'length' => 11, 'values' => array(0 => 'Completed', 1 => 'Assigned', 2 => 'InError', 3 => 'Initialised', 4 => 'Delivered', 5 => 'Notified', 6 => 'ReCompleted'), 'notnull' => true));
|
||||
$this->hasColumn('dateordered', 'date', null, array('type' => 'date', 'notnull' => true));
|
||||
$this->hasColumn('datecompleted', 'date', null, array('type' => 'date', 'notnull' => true));
|
||||
$this->hasColumn('datedue', 'date', null, array('type' => 'date', 'notnull' => true));
|
||||
$this->hasColumn('companyproductidentifier', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('sessionid', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('transactionidentifier', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('user', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('created_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true));
|
||||
$this->hasColumn('updated_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true));
|
||||
$this->hasColumn('country_id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->actAs('Timestampable');
|
||||
$this->hasOne('Country', array('local' => 'country_id','foreign' => 'id'));
|
||||
$this->hasOne('Report', array('local' => 'id','foreign' => 'order_id'));
|
||||
$this->hasOne('CommandesDetail', array('local' => 'id','foreign' => 'commandes_id'));
|
||||
}
|
||||
}
|
@ -1,62 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseCommandesDetail
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property integer $id
|
||||
* @property string $dIdentite
|
||||
* @property string $dTelephone
|
||||
* @property string $dEmail
|
||||
* @property string $dFax
|
||||
* @property enum $eLanguageCode
|
||||
* @property string $eName
|
||||
* @property string $eAdresse
|
||||
* @property string $eTelephone
|
||||
* @property integer $ePays
|
||||
* @property enum $eCreditOpinionCurrency
|
||||
* @property integer $eCreditOpinionPeriod
|
||||
* @property string $eBankers
|
||||
* @property string $eAttentionOf
|
||||
* @property string $eSpecialRemarks
|
||||
* @property integer $commandes_id
|
||||
* @property integer $created_at
|
||||
* @property integer $updated_at
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseCommandesDetail extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('commandes_detail');
|
||||
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
|
||||
$this->hasColumn('dIdentite', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('dTelephone', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('dEmail', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('dFax', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('eLanguageCode', 'enum', 1, array('type' => 'enum', 'length' => 1, 'values' => array(0 => 'E', 1 => 'F', 2 => 'D'), 'notnull' => true));
|
||||
$this->hasColumn('eName', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('eAdresse', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('eTelephone', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('ePays', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
$this->hasColumn('eCreditOpinionCurrency', 'enum', 3, array('type' => 'enum', 'length' => 3, 'values' => array(0 => 'GBP', 1 => 'EUR', 2 => 'USD', 3 => 'JYP', 4 => 'DKK'), 'notnull' => true));
|
||||
$this->hasColumn('eCreditOpinionPeriod', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
$this->hasColumn('eBankers', 'string', 200, array('type' => 'string', 'length' => 200, 'notnull' => true));
|
||||
$this->hasColumn('eAttentionOf', 'string', 200, array('type' => 'string', 'length' => 200, 'notnull' => true));
|
||||
$this->hasColumn('eSpecialRemarks', 'string', 200, array('type' => 'string', 'length' => 200, 'notnull' => true));
|
||||
$this->hasColumn('commandes_id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
$this->hasColumn('created_at', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
$this->hasColumn('updated_at', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->actAs('Timestampable');
|
||||
$this->hasOne('Commandes', array('local' => 'commandes_id','foreign' => 'id'));
|
||||
}
|
||||
}
|
@ -1,32 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseCountry
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property integer $id
|
||||
* @property string $code
|
||||
* @property string $country
|
||||
* @property enum $status
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseCountry extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('country');
|
||||
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
|
||||
$this->hasColumn('code', 'string', 2, array('type' => 'string', 'length' => 2, 'fixed' => true, 'notnull' => true));
|
||||
$this->hasColumn('country', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('status', 'enum', 7, array('type' => 'enum', 'length' => 7, 'values' => array(0 => 'actif', 1 => 'inactif'), 'notnull' => true));
|
||||
}
|
||||
|
||||
public function setUp(){
|
||||
$this->hasMany('Commandes', array('local' => 'id','foreign' => 'country_id'));
|
||||
}
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseCountryavailability
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property string $country
|
||||
* @property string $methods
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseCountryavailability extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('countryavailability');
|
||||
$this->hasColumn('country', 'string', 100, array('type' => 'string', 'length' => 100, 'primary' => true));
|
||||
$this->hasColumn('availability', 'string', null, array('type' => 'string', 'notnull' => true));
|
||||
}
|
||||
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseLog
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property integer $id
|
||||
* @property string $action
|
||||
* @property timestamp $dateAction
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseLog extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('log');
|
||||
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
|
||||
$this->hasColumn('action', 'string', null, array('type' => 'string', 'notnull' => true));
|
||||
$this->hasColumn('dateAction', 'timestamp', null, array('type' => 'timestamp', 'notnull' => true));
|
||||
}
|
||||
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseMatchidentifiers
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property string $country
|
||||
* @property string $identifiers
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseMatchidentifiers extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('matchidentifiers');
|
||||
$this->hasColumn('country', 'string', 100, array('type' => 'string', 'length' => 100, 'primary' => true));
|
||||
$this->hasColumn('identifiers', 'string', null, array('type' => 'string', 'notnull' => true));
|
||||
}
|
||||
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseMatchmethods
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property string $country
|
||||
* @property string $methods
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseMatchmethods extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('matchmethods');
|
||||
$this->hasColumn('country', 'string', 100, array('type' => 'string', 'length' => 100, 'primary' => true));
|
||||
$this->hasColumn('methods', 'string', null, array('type' => 'string', 'notnull' => true));
|
||||
}
|
||||
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BasePrice
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property integer $id
|
||||
* @property string $immediate
|
||||
* @property string $normal
|
||||
* @property string $superflash
|
||||
* @property string $user
|
||||
* @property timestamp $created
|
||||
* @property timestamp $modified
|
||||
* @property integer $country_id
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BasePrice extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('price');
|
||||
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
|
||||
$this->hasColumn('immediate', 'string', 10, array('type' => 'string', 'length' => 10, 'notnull' => true));
|
||||
$this->hasColumn('normal', 'string', 10, array('type' => 'string', 'length' => 10, 'notnull' => true));
|
||||
$this->hasColumn('superflash', 'string', 10, array('type' => 'string', 'length' => 10, 'notnull' => true));
|
||||
$this->hasColumn('user', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('created_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true));
|
||||
$this->hasColumn('updated_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true));
|
||||
$this->hasColumn('country_id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->actAs('Timestampable');
|
||||
$this->hasOne('Country', array('local' => 'country_id','foreign' => 'id'));
|
||||
}
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseReport
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property integer $id
|
||||
* @property string $companyproductidentifier
|
||||
* @property string $content
|
||||
* @property string $format
|
||||
* @property string $user
|
||||
* @property timestamp $created
|
||||
* @property timestamp $modified
|
||||
* @property integer $order_id
|
||||
* @property integer $country_id
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseReport extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('report');
|
||||
$this->hasColumn('id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'primary' => true, 'autoincrement' => true));
|
||||
$this->hasColumn('identifier', 'string', 100, array('type' => 'string', 'length' => 100, 'notnull' => true));
|
||||
$this->hasColumn('content', 'string', null, array('type' => 'string', 'notnull' => true));
|
||||
$this->hasColumn('format', 'string', 10, array('type' => 'string', 'length' => 10, 'notnull' => true));
|
||||
$this->hasColumn('created_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true));
|
||||
$this->hasColumn('updated_at', 'timestamp', null, array('type' => 'timestamp', 'default' => '0000-00-00 00:00:00', 'notnull' => true));
|
||||
$this->hasColumn('order_id', 'integer', 4, array('type' => 'integer', 'length' => 4, 'notnull' => true));
|
||||
}
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
$this->actAs('Timestampable');
|
||||
$this->hasOne('Commandes', array('local' => 'order_id', 'foreign' => 'id'));
|
||||
}
|
||||
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* BaseUser
|
||||
*
|
||||
* This class has been auto-generated by the Doctrine ORM Framework
|
||||
*
|
||||
* @property string $login
|
||||
*
|
||||
* @package ##PACKAGE##
|
||||
* @subpackage ##SUBPACKAGE##
|
||||
* @author ##NAME## <##EMAIL##>
|
||||
* @version SVN: $Id: Builder.php 5441 2009-01-30 22:58:43Z jwage $
|
||||
*/
|
||||
abstract class BaseUser extends Doctrine_Record
|
||||
{
|
||||
public function setTableDefinition()
|
||||
{
|
||||
$this->setTableName('user');
|
||||
$this->hasColumn('login', 'string', 100, array('type' => 'string', 'length' => 100, 'primary' => true));
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user