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

/**
 * BasePR_RESOLUCIONES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_resoluciones
 * @property integer $id_resol_orig
 * @property string $resolucion
 * @property integer $firma
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_tipo_resol
 * @property string $modificacion
 * @property string $aclaracion
 * @property timestamp $fecha_resol
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer         getIdResoluciones()  Returns the current record's "id_resoluciones" value
 * @method integer         getIdResolOrig()     Returns the current record's "id_resol_orig" value
 * @method string          getResolucion()      Returns the current record's "resolucion" value
 * @method integer         getFirma()           Returns the current record's "firma" value
 * @method integer         getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method string          getVigencia()        Returns the current record's "vigencia" value
 * @method integer         getIdTipoResol()     Returns the current record's "id_tipo_resol" value
 * @method string          getModificacion()    Returns the current record's "modificacion" value
 * @method string          getAclaracion()      Returns the current record's "aclaracion" value
 * @method timestamp       getFechaResol()      Returns the current record's "fecha_resol" value
 * @method string          getUsuariolog()      Returns the current record's "usuariolog" value
 * @method timestamp       getFechalog()        Returns the current record's "fechalog" value
 * @method PR_RESOLUCIONES setIdResoluciones()  Sets the current record's "id_resoluciones" value
 * @method PR_RESOLUCIONES setIdResolOrig()     Sets the current record's "id_resol_orig" value
 * @method PR_RESOLUCIONES setResolucion()      Sets the current record's "resolucion" value
 * @method PR_RESOLUCIONES setFirma()           Sets the current record's "firma" value
 * @method PR_RESOLUCIONES setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method PR_RESOLUCIONES setVigencia()        Sets the current record's "vigencia" value
 * @method PR_RESOLUCIONES setIdTipoResol()     Sets the current record's "id_tipo_resol" value
 * @method PR_RESOLUCIONES setModificacion()    Sets the current record's "modificacion" value
 * @method PR_RESOLUCIONES setAclaracion()      Sets the current record's "aclaracion" value
 * @method PR_RESOLUCIONES setFechaResol()      Sets the current record's "fecha_resol" value
 * @method PR_RESOLUCIONES setUsuariolog()      Sets the current record's "usuariolog" value
 * @method PR_RESOLUCIONES setFechalog()        Sets the current record's "fechalog" 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_RESOLUCIONES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PR_RESOLUCIONES');
        $this->hasColumn('id_resoluciones', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_resol_orig', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('resolucion', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('firma', '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_resol', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('modificacion', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('aclaracion', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('fecha_resol', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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