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

/**
 * BaseTIEMPO_TOTALES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $meses_publico
 * @property integer $meses_privado
 * @property integer $meses_independiente
 * 
 * @method integer        getId()                  Returns the current record's "id" value
 * @method integer        getIdTipoDoc()           Returns the current record's "id_tipo_doc" value
 * @method string         getNumDoc()              Returns the current record's "num_doc" value
 * @method integer        getMesesPublico()        Returns the current record's "meses_publico" value
 * @method integer        getMesesPrivado()        Returns the current record's "meses_privado" value
 * @method integer        getMesesIndependiente()  Returns the current record's "meses_independiente" value
 * @method TIEMPO_TOTALES setId()                  Sets the current record's "id" value
 * @method TIEMPO_TOTALES setIdTipoDoc()           Sets the current record's "id_tipo_doc" value
 * @method TIEMPO_TOTALES setNumDoc()              Sets the current record's "num_doc" value
 * @method TIEMPO_TOTALES setMesesPublico()        Sets the current record's "meses_publico" value
 * @method TIEMPO_TOTALES setMesesPrivado()        Sets the current record's "meses_privado" value
 * @method TIEMPO_TOTALES setMesesIndependiente()  Sets the current record's "meses_independiente" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTIEMPO_TOTALES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TIEMPO_TOTALES');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('meses_publico', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('meses_privado', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('meses_independiente', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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