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

/**
 * BaseTS_CXP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cxp
 * @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
 * 
 * @method integer   getIdCxp()         Returns the current record's "id_cxp" 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 TS_CXP    setIdCxp()         Sets the current record's "id_cxp" value
 * @method TS_CXP    setIdRp()          Sets the current record's "id_rp" value
 * @method TS_CXP    setValorCxp()      Sets the current record's "valor_cxp" value
 * @method TS_CXP    setAnoFiscal()     Sets the current record's "ano_fiscal" value
 * @method TS_CXP    setFechaProceso()  Sets the current record's "fecha_proceso" value
 * @method TS_CXP    setFechaSistema()  Sets the current record's "fecha_sistema" value
 * @method TS_CXP    setObservaciones() Sets the current record's "observaciones" value
 * @method TS_CXP    setUsuario()       Sets the current record's "usuario" value
 * @method TS_CXP    setTipo()          Sets the current record's "tipo" value
 * @method TS_CXP    setIdVigencia()    Sets the current record's "id_vigencia" value
 * @method TS_CXP    setEstado()        Sets the current record's "estado" value
 * @method TS_CXP    setValorCruce()    Sets the current record's "valor_cruce" value
 * @method TS_CXP    setSecReloj()      Sets the current record's "sec_reloj" value
 * @method TS_CXP    setFechaReloj()    Sets the current record's "fecha_reloj" 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 extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_CXP');
        $this->hasColumn('id_cxp', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             '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' => true,
             '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(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             '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,
             '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,
             ));
    }

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