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

/**
 * BaseTS_CXP_SIIF
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_rp
 * @property decimal $valor_cxp
 * @property string $ano_fiscal
 * @property timestamp $fecha_proceso
 * @property timestamp $fecha_sistema
 * @property string $observaciones
 * @property string $usuario
 * @property string $tipo
 * @property integer $id_vigencia
 * @property integer $estado
 * @property decimal $valor_cruce
 * @property integer $sec_reloj
 * @property timestamp $fecha_reloj
 * @property integer $id_tipo_soporte
 * @property integer $no_folios
 * 
 * @method integer     getId()              Returns the current record's "id" value
 * @method integer     getIdRp()            Returns the current record's "id_rp" value
 * @method decimal     getValorCxp()        Returns the current record's "valor_cxp" value
 * @method string      getAnoFiscal()       Returns the current record's "ano_fiscal" value
 * @method timestamp   getFechaProceso()    Returns the current record's "fecha_proceso" value
 * @method timestamp   getFechaSistema()    Returns the current record's "fecha_sistema" value
 * @method string      getObservaciones()   Returns the current record's "observaciones" value
 * @method string      getUsuario()         Returns the current record's "usuario" value
 * @method string      getTipo()            Returns the current record's "tipo" value
 * @method integer     getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method integer     getEstado()          Returns the current record's "estado" value
 * @method decimal     getValorCruce()      Returns the current record's "valor_cruce" value
 * @method integer     getSecReloj()        Returns the current record's "sec_reloj" value
 * @method timestamp   getFechaReloj()      Returns the current record's "fecha_reloj" value
 * @method integer     getIdTipoSoporte()   Returns the current record's "id_tipo_soporte" value
 * @method integer     getNoFolios()        Returns the current record's "no_folios" value
 * @method TS_CXP_SIIF setId()              Sets the current record's "id" value
 * @method TS_CXP_SIIF setIdRp()            Sets the current record's "id_rp" value
 * @method TS_CXP_SIIF setValorCxp()        Sets the current record's "valor_cxp" value
 * @method TS_CXP_SIIF setAnoFiscal()       Sets the current record's "ano_fiscal" value
 * @method TS_CXP_SIIF setFechaProceso()    Sets the current record's "fecha_proceso" value
 * @method TS_CXP_SIIF setFechaSistema()    Sets the current record's "fecha_sistema" value
 * @method TS_CXP_SIIF setObservaciones()   Sets the current record's "observaciones" value
 * @method TS_CXP_SIIF setUsuario()         Sets the current record's "usuario" value
 * @method TS_CXP_SIIF setTipo()            Sets the current record's "tipo" value
 * @method TS_CXP_SIIF setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method TS_CXP_SIIF setEstado()          Sets the current record's "estado" value
 * @method TS_CXP_SIIF setValorCruce()      Sets the current record's "valor_cruce" value
 * @method TS_CXP_SIIF setSecReloj()        Sets the current record's "sec_reloj" value
 * @method TS_CXP_SIIF setFechaReloj()      Sets the current record's "fecha_reloj" value
 * @method TS_CXP_SIIF setIdTipoSoporte()   Sets the current record's "id_tipo_soporte" value
 * @method TS_CXP_SIIF setNoFolios()        Sets the current record's "no_folios" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_CXP_SIIF extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_CXP_SIIF');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_cxp', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sistema', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $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' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             '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('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('valor_cruce', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('sec_reloj', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_reloj', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_tipo_soporte', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('no_folios', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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