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

/**
 * BasePR_CIERRE_COMISION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cierre_comision
 * @property integer $id_rp_comis
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_tipo_nov_comis
 * @property timestamp $fecha_proceso
 * @property integer $no_folios
 * @property string $observaciones
 * @property string $usuario
 * @property timestamp $fecha_sys
 * 
 * @method integer            getIdCierreComision()   Returns the current record's "id_cierre_comision" value
 * @method integer            getIdRpComis()          Returns the current record's "id_rp_comis" value
 * @method integer            getIdVigencia()         Returns the current record's "id_vigencia" value
 * @method string             getVigencia()           Returns the current record's "vigencia" value
 * @method integer            getIdTipoNovComis()     Returns the current record's "id_tipo_nov_comis" value
 * @method timestamp          getFechaProceso()       Returns the current record's "fecha_proceso" value
 * @method integer            getNoFolios()           Returns the current record's "no_folios" value
 * @method string             getObservaciones()      Returns the current record's "observaciones" value
 * @method string             getUsuario()            Returns the current record's "usuario" value
 * @method timestamp          getFechaSys()           Returns the current record's "fecha_sys" value
 * @method PR_CIERRE_COMISION setIdCierreComision()   Sets the current record's "id_cierre_comision" value
 * @method PR_CIERRE_COMISION setIdRpComis()          Sets the current record's "id_rp_comis" value
 * @method PR_CIERRE_COMISION setIdVigencia()         Sets the current record's "id_vigencia" value
 * @method PR_CIERRE_COMISION setVigencia()           Sets the current record's "vigencia" value
 * @method PR_CIERRE_COMISION setIdTipoNovComis()     Sets the current record's "id_tipo_nov_comis" value
 * @method PR_CIERRE_COMISION setFechaProceso()       Sets the current record's "fecha_proceso" value
 * @method PR_CIERRE_COMISION setNoFolios()           Sets the current record's "no_folios" value
 * @method PR_CIERRE_COMISION setObservaciones()      Sets the current record's "observaciones" value
 * @method PR_CIERRE_COMISION setUsuario()            Sets the current record's "usuario" value
 * @method PR_CIERRE_COMISION setFechaSys()           Sets the current record's "fecha_sys" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePR_CIERRE_COMISION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_CIERRE_COMISION');
        $this->hasColumn('id_cierre_comision', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp_comis', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_nov_comis', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('no_folios', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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