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

/**
 * BaseTS_RESOL_REG
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_resol_reg
 * @property integer $id_dis_reg
 * @property integer $resol_num
 * @property timestamp $fecha_resol
 * @property string $nombre
 * @property string $cargo
 * @property timestamp $fecha_proc
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property string $vigencia
 * 
 * @method integer      getIdResolReg()   Returns the current record's "id_resol_reg" value
 * @method integer      getIdDisReg()     Returns the current record's "id_dis_reg" value
 * @method integer      getResolNum()     Returns the current record's "resol_num" value
 * @method timestamp    getFechaResol()   Returns the current record's "fecha_resol" value
 * @method string       getNombre()       Returns the current record's "nombre" value
 * @method string       getCargo()        Returns the current record's "cargo" value
 * @method timestamp    getFechaProc()    Returns the current record's "fecha_proc" value
 * @method timestamp    getFechaSys()     Returns the current record's "fecha_sys" value
 * @method string       getUsuario()      Returns the current record's "usuario" value
 * @method string       getVigencia()     Returns the current record's "vigencia" value
 * @method TS_RESOL_REG setIdResolReg()   Sets the current record's "id_resol_reg" value
 * @method TS_RESOL_REG setIdDisReg()     Sets the current record's "id_dis_reg" value
 * @method TS_RESOL_REG setResolNum()     Sets the current record's "resol_num" value
 * @method TS_RESOL_REG setFechaResol()   Sets the current record's "fecha_resol" value
 * @method TS_RESOL_REG setNombre()       Sets the current record's "nombre" value
 * @method TS_RESOL_REG setCargo()        Sets the current record's "cargo" value
 * @method TS_RESOL_REG setFechaProc()    Sets the current record's "fecha_proc" value
 * @method TS_RESOL_REG setFechaSys()     Sets the current record's "fecha_sys" value
 * @method TS_RESOL_REG setUsuario()      Sets the current record's "usuario" value
 * @method TS_RESOL_REG setVigencia()     Sets the current record's "vigencia" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_RESOL_REG extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_RESOL_REG');
        $this->hasColumn('id_resol_reg', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_dis_reg', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('resol_num', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_resol', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('nombre', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('cargo', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
    }

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