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

/**
 * BaseTSRC_SAFI
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @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 integer $total
 * @property timestamp $fechalog
 * @property string $usuariolog
 * @property string $spresupuestal
 * @property integer $id_ciudad
 * @property integer $estado
 * @property string $nitocc
 * @property string $codmrc
 * @property string $codimp
 * @property timestamp $fec_anu
 * @property integer $numopr
 * @property integer $numsec
 * @property integer $secuen
 * 
 * @method integer   getId()            Returns the current record's "id" value
 * @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 integer   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 string    getNitocc()        Returns the current record's "nitocc" value
 * @method string    getCodmrc()        Returns the current record's "codmrc" value
 * @method string    getCodimp()        Returns the current record's "codimp" value
 * @method timestamp getFecAnu()        Returns the current record's "fec_anu" value
 * @method integer   getNumopr()        Returns the current record's "numopr" value
 * @method integer   getNumsec()        Returns the current record's "numsec" value
 * @method integer   getSecuen()        Returns the current record's "secuen" value
 * @method TSRC_SAFI setId()            Sets the current record's "id" value
 * @method TSRC_SAFI setIdRc()          Sets the current record's "id_rc" value
 * @method TSRC_SAFI setNumero()        Sets the current record's "numero" value
 * @method TSRC_SAFI setFecha()         Sets the current record's "fecha" value
 * @method TSRC_SAFI setIdTercero()     Sets the current record's "id_tercero" value
 * @method TSRC_SAFI setIdTsMr()        Sets the current record's "id_ts_mr" value
 * @method TSRC_SAFI setConcepto()      Sets the current record's "concepto" value
 * @method TSRC_SAFI setIdTsFp()        Sets the current record's "id_ts_fp" value
 * @method TSRC_SAFI setRecAdicional()  Sets the current record's "rec_adicional" value
 * @method TSRC_SAFI setTotal()         Sets the current record's "total" value
 * @method TSRC_SAFI setFechalog()      Sets the current record's "fechalog" value
 * @method TSRC_SAFI setUsuariolog()    Sets the current record's "usuariolog" value
 * @method TSRC_SAFI setSpresupuestal() Sets the current record's "spresupuestal" value
 * @method TSRC_SAFI setIdCiudad()      Sets the current record's "id_ciudad" value
 * @method TSRC_SAFI setEstado()        Sets the current record's "estado" value
 * @method TSRC_SAFI setNitocc()        Sets the current record's "nitocc" value
 * @method TSRC_SAFI setCodmrc()        Sets the current record's "codmrc" value
 * @method TSRC_SAFI setCodimp()        Sets the current record's "codimp" value
 * @method TSRC_SAFI setFecAnu()        Sets the current record's "fec_anu" value
 * @method TSRC_SAFI setNumopr()        Sets the current record's "numopr" value
 * @method TSRC_SAFI setNumsec()        Sets the current record's "numsec" value
 * @method TSRC_SAFI setSecuen()        Sets the current record's "secuen" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSRC_SAFI extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSRC_SAFI');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_rc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             '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', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $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,
             ));
        $this->hasColumn('nitocc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codmrc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codimp', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fec_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('numopr', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('numsec', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuen', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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