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

/**
 * BaseCN_TABLE_TIPCOMP_SEQ
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $nom_entidad
 * @property integer $id_cia
 * @property integer $id_vigencia
 * @property integer $id_tipo_comprobante
 * @property integer $seq
 * 
 * @method string               getNomEntidad()          Returns the current record's "nom_entidad" value
 * @method integer              getIdCia()               Returns the current record's "id_cia" value
 * @method integer              getIdVigencia()          Returns the current record's "id_vigencia" value
 * @method integer              getIdTipoComprobante()   Returns the current record's "id_tipo_comprobante" value
 * @method integer              getSeq()                 Returns the current record's "seq" value
 * @method CN_TABLE_TIPCOMP_SEQ setNomEntidad()          Sets the current record's "nom_entidad" value
 * @method CN_TABLE_TIPCOMP_SEQ setIdCia()               Sets the current record's "id_cia" value
 * @method CN_TABLE_TIPCOMP_SEQ setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method CN_TABLE_TIPCOMP_SEQ setIdTipoComprobante()   Sets the current record's "id_tipo_comprobante" value
 * @method CN_TABLE_TIPCOMP_SEQ setSeq()                 Sets the current record's "seq" value
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCN_TABLE_TIPCOMP_SEQ extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CN_TABLE_TIPCOMP_SEQ');
        $this->hasColumn('nom_entidad', 'string', 32, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 32,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_comprobante', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('seq', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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