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

/**
 * BaseTSREINT_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_reintegro
 * @property integer $id_deta_rein
 * @property integer $id_cpo
 * @property integer $id_asig
 * @property integer $id_obj_gasto
 * @property integer $valor
 * @property integer $id_rp
 * @property integer $id_pago_obl
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property string $observaciones
 * @property string $tipo_reintegro
 * @property integer $id_mov_ban
 * @property integer $id_rc
 * @property timestamp $fecha_proceso
 * @property string $usuario
 * @property timestamp $fecha_sys
 * @property integer $estado
 * @property string $cod_obj_gasto
 * @property timestamp $fecha_anul
 * @property string $rubro
 * @property string $codcpo
 * 
 * @method integer      getId()             Returns the current record's "id" value
 * @method integer      getIdReintegro()    Returns the current record's "id_reintegro" value
 * @method integer      getIdDetaRein()     Returns the current record's "id_deta_rein" value
 * @method integer      getIdCpo()          Returns the current record's "id_cpo" value
 * @method integer      getIdAsig()         Returns the current record's "id_asig" value
 * @method integer      getIdObjGasto()     Returns the current record's "id_obj_gasto" value
 * @method integer      getValor()          Returns the current record's "valor" value
 * @method integer      getIdRp()           Returns the current record's "id_rp" value
 * @method integer      getIdPagoObl()      Returns the current record's "id_pago_obl" value
 * @method integer      getIdVigencia()     Returns the current record's "id_vigencia" value
 * @method string       getVigencia()       Returns the current record's "vigencia" value
 * @method string       getObservaciones()  Returns the current record's "observaciones" value
 * @method string       getTipoReintegro()  Returns the current record's "tipo_reintegro" value
 * @method integer      getIdMovBan()       Returns the current record's "id_mov_ban" value
 * @method integer      getIdRc()           Returns the current record's "id_rc" value
 * @method timestamp    getFechaProceso()   Returns the current record's "fecha_proceso" value
 * @method string       getUsuario()        Returns the current record's "usuario" value
 * @method timestamp    getFechaSys()       Returns the current record's "fecha_sys" value
 * @method integer      getEstado()         Returns the current record's "estado" value
 * @method string       getCodObjGasto()    Returns the current record's "cod_obj_gasto" value
 * @method timestamp    getFechaAnul()      Returns the current record's "fecha_anul" value
 * @method string       getRubro()          Returns the current record's "rubro" value
 * @method string       getCodcpo()         Returns the current record's "codcpo" value
 * @method TSREINT_SAFI setId()             Sets the current record's "id" value
 * @method TSREINT_SAFI setIdReintegro()    Sets the current record's "id_reintegro" value
 * @method TSREINT_SAFI setIdDetaRein()     Sets the current record's "id_deta_rein" value
 * @method TSREINT_SAFI setIdCpo()          Sets the current record's "id_cpo" value
 * @method TSREINT_SAFI setIdAsig()         Sets the current record's "id_asig" value
 * @method TSREINT_SAFI setIdObjGasto()     Sets the current record's "id_obj_gasto" value
 * @method TSREINT_SAFI setValor()          Sets the current record's "valor" value
 * @method TSREINT_SAFI setIdRp()           Sets the current record's "id_rp" value
 * @method TSREINT_SAFI setIdPagoObl()      Sets the current record's "id_pago_obl" value
 * @method TSREINT_SAFI setIdVigencia()     Sets the current record's "id_vigencia" value
 * @method TSREINT_SAFI setVigencia()       Sets the current record's "vigencia" value
 * @method TSREINT_SAFI setObservaciones()  Sets the current record's "observaciones" value
 * @method TSREINT_SAFI setTipoReintegro()  Sets the current record's "tipo_reintegro" value
 * @method TSREINT_SAFI setIdMovBan()       Sets the current record's "id_mov_ban" value
 * @method TSREINT_SAFI setIdRc()           Sets the current record's "id_rc" value
 * @method TSREINT_SAFI setFechaProceso()   Sets the current record's "fecha_proceso" value
 * @method TSREINT_SAFI setUsuario()        Sets the current record's "usuario" value
 * @method TSREINT_SAFI setFechaSys()       Sets the current record's "fecha_sys" value
 * @method TSREINT_SAFI setEstado()         Sets the current record's "estado" value
 * @method TSREINT_SAFI setCodObjGasto()    Sets the current record's "cod_obj_gasto" value
 * @method TSREINT_SAFI setFechaAnul()      Sets the current record's "fecha_anul" value
 * @method TSREINT_SAFI setRubro()          Sets the current record's "rubro" value
 * @method TSREINT_SAFI setCodcpo()         Sets the current record's "codcpo" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSREINT_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSREINT_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_reintegro', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_deta_rein', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asig', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_obj_gasto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_pago_obl', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 3000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3000,
             ));
        $this->hasColumn('tipo_reintegro', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mov_ban', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             '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,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('cod_obj_gasto', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_anul', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('rubro', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codcpo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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