extranet/includes/dbmodels/graydon/generated/BaseCountryavailability.php

46 lines
1.3 KiB
PHP
Raw Normal View History

<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('Countryavailability', 'graydon');
/**
* BaseCountryavailability
*
* This class has been auto-generated by the Doctrine ORM Framework
*
* @property string $country
* @property string $availability
*
* @package ##PACKAGE##
* @subpackage ##SUBPACKAGE##
* @author ##NAME## <##EMAIL##>
* @version SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
*/
abstract class BaseCountryavailability extends Doctrine_Record
{
public function setTableDefinition()
{
$this->setTableName('countryavailability');
$this->hasColumn('country', 'string', 100, array(
'type' => 'string',
'length' => 100,
'fixed' => false,
'unsigned' => false,
'primary' => true,
'autoincrement' => false,
));
$this->hasColumn('availability', 'string', null, array(
'type' => 'string',
'fixed' => false,
'unsigned' => false,
'primary' => false,
'notnull' => true,
'autoincrement' => false,
));
}
public function setUp()
{
parent::setUp();
}
}