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

/**
 * BaseTS_RC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_rc
 * @property integer $numero
 * @property timestamp $fecha
 * @property integer $id_tercero
 * @property integer $id_ts_mr
 * @property string $concepto
 * @property integer $id_ts_fp
 * @property string $rec_adicional
 * @property decimal $total
 * @property timestamp $fechalog
 * @property string $usuariolog
 * @property string $spresupuestal
 * @property integer $id_ciudad
 * @property integer $estado
 * 
 * @method integer   getIdRc()          Returns the current record's "id_rc" value
 * @method integer   getNumero()        Returns the current record's "numero" value
 * @method timestamp getFecha()         Returns the current record's "fecha" value
 * @method integer   getIdTercero()     Returns the current record's "id_tercero" value
 * @method integer   getIdTsMr()        Returns the current record's "id_ts_mr" value
 * @method string    getConcepto()      Returns the current record's "concepto" value
 * @method integer   getIdTsFp()        Returns the current record's "id_ts_fp" value
 * @method string    getRecAdicional()  Returns the current record's "rec_adicional" value
 * @method decimal   getTotal()         Returns the current record's "total" value
 * @method timestamp getFechalog()      Returns the current record's "fechalog" value
 * @method string    getUsuariolog()    Returns the current record's "usuariolog" value
 * @method string    getSpresupuestal() Returns the current record's "spresupuestal" value
 * @method integer   getIdCiudad()      Returns the current record's "id_ciudad" value
 * @method integer   getEstado()        Returns the current record's "estado" value
 * @method TS_RC     setIdRc()          Sets the current record's "id_rc" value
 * @method TS_RC     setNumero()        Sets the current record's "numero" value
 * @method TS_RC     setFecha()         Sets the current record's "fecha" value
 * @method TS_RC     setIdTercero()     Sets the current record's "id_tercero" value
 * @method TS_RC     setIdTsMr()        Sets the current record's "id_ts_mr" value
 * @method TS_RC     setConcepto()      Sets the current record's "concepto" value
 * @method TS_RC     setIdTsFp()        Sets the current record's "id_ts_fp" value
 * @method TS_RC     setRecAdicional()  Sets the current record's "rec_adicional" value
 * @method TS_RC     setTotal()         Sets the current record's "total" value
 * @method TS_RC     setFechalog()      Sets the current record's "fechalog" value
 * @method TS_RC     setUsuariolog()    Sets the current record's "usuariolog" value
 * @method TS_RC     setSpresupuestal() Sets the current record's "spresupuestal" value
 * @method TS_RC     setIdCiudad()      Sets the current record's "id_ciudad" value
 * @method TS_RC     setEstado()        Sets the current record's "estado" 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_RC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_RC');
        $this->hasColumn('id_rc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('numero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_tercero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_mr', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('concepto', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_ts_fp', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('rec_adicional', 'string', 160, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 160,
             ));
        $this->hasColumn('total', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('spresupuestal', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_ciudad', '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,
             ));
    }

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