<?php
// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('GTT_ZIP', 'doctrine');

/**
 * BaseGTT_ZIP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $zip_code
 * @property string $by_user
 * @property timestamp $entry_date
 * 
 * @method integer   getId()         Returns the current record's "id" value
 * @method string    getZipCode()    Returns the current record's "zip_code" value
 * @method string    getByUser()     Returns the current record's "by_user" value
 * @method timestamp getEntryDate()  Returns the current record's "entry_date" value
 * @method GTT_ZIP   setId()         Sets the current record's "id" value
 * @method GTT_ZIP   setZipCode()    Sets the current record's "zip_code" value
 * @method GTT_ZIP   setByUser()     Sets the current record's "by_user" value
 * @method GTT_ZIP   setEntryDate()  Sets the current record's "entry_date" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseGTT_ZIP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('GTT_ZIP');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('zip_code', 'string', 5, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 5,
             ));
        $this->hasColumn('by_user', 'string', 30, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 30,
             ));
        $this->hasColumn('entry_date', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        
    }
}