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

/**
 * BaseRE_T_CTR
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $cod
 * @property string $descripcion
 * 
 * @method integer  getId()          Returns the current record's "id" value
 * @method string   getCod()         Returns the current record's "cod" value
 * @method string   getDescripcion() Returns the current record's "descripcion" value
 * @method RE_T_CTR setId()          Sets the current record's "id" value
 * @method RE_T_CTR setCod()         Sets the current record's "cod" value
 * @method RE_T_CTR setDescripcion() Sets the current record's "descripcion" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRE_T_CTR extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_T_CTR');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('cod', 'string', 4, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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