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

/**
 * BaseTS_INGRESOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $cpt
 * @property string $clase
 * @property string $codgru
 * @property string $desgru
 * @property string $pinump
 * @property string $origen
 * @property string $conmov
 * @property string $desmov
 * @property string $tipdoc
 * @property string $desdoc
 * @property string $numdoc
 * @property timestamp $fecdoc
 * @property decimal $valor
 * @property decimal $iva
 * @property decimal $total
 * @property decimal $causado
 * @property decimal $recaudo
 * @property string $codmin
 * @property string $desmin
 * @property string $nitocc
 * @property string $razsoc
 * @property string $codban
 * @property string $cuenta
 * @property string $codcia
 * @property timestamp $fecafe
 * @property string $tipafe
 * @property string $docafe
 * @property string $placa_rmn
 * @property string $observ
 * @property string $estado
 * @property string $numdoc_sop
 * @property string $coding
 * @property timestamp $fecdoc_sop
 * @property string $rubro_siif
 * @property string $recaudomes
 * @property timestamp $fecha_ori
 * @property integer $recaudo_vig_ant
 * @property integer $recuperacion_cartera
 * 
 * @method integer     getId()                   Returns the current record's "id" value
 * @method string      getCpt()                  Returns the current record's "cpt" value
 * @method string      getClase()                Returns the current record's "clase" value
 * @method string      getCodgru()               Returns the current record's "codgru" value
 * @method string      getDesgru()               Returns the current record's "desgru" value
 * @method string      getPinump()               Returns the current record's "pinump" value
 * @method string      getOrigen()               Returns the current record's "origen" value
 * @method string      getConmov()               Returns the current record's "conmov" value
 * @method string      getDesmov()               Returns the current record's "desmov" value
 * @method string      getTipdoc()               Returns the current record's "tipdoc" value
 * @method string      getDesdoc()               Returns the current record's "desdoc" value
 * @method string      getNumdoc()               Returns the current record's "numdoc" value
 * @method timestamp   getFecdoc()               Returns the current record's "fecdoc" value
 * @method decimal     getValor()                Returns the current record's "valor" value
 * @method decimal     getIva()                  Returns the current record's "iva" value
 * @method decimal     getTotal()                Returns the current record's "total" value
 * @method decimal     getCausado()              Returns the current record's "causado" value
 * @method decimal     getRecaudo()              Returns the current record's "recaudo" value
 * @method string      getCodmin()               Returns the current record's "codmin" value
 * @method string      getDesmin()               Returns the current record's "desmin" value
 * @method string      getNitocc()               Returns the current record's "nitocc" value
 * @method string      getRazsoc()               Returns the current record's "razsoc" value
 * @method string      getCodban()               Returns the current record's "codban" value
 * @method string      getCuenta()               Returns the current record's "cuenta" value
 * @method string      getCodcia()               Returns the current record's "codcia" value
 * @method timestamp   getFecafe()               Returns the current record's "fecafe" value
 * @method string      getTipafe()               Returns the current record's "tipafe" value
 * @method string      getDocafe()               Returns the current record's "docafe" value
 * @method string      getPlacaRmn()             Returns the current record's "placa_rmn" value
 * @method string      getObserv()               Returns the current record's "observ" value
 * @method string      getEstado()               Returns the current record's "estado" value
 * @method string      getNumdocSop()            Returns the current record's "numdoc_sop" value
 * @method string      getCoding()               Returns the current record's "coding" value
 * @method timestamp   getFecdocSop()            Returns the current record's "fecdoc_sop" value
 * @method string      getRubroSiif()            Returns the current record's "rubro_siif" value
 * @method string      getRecaudomes()           Returns the current record's "recaudomes" value
 * @method timestamp   getFechaOri()             Returns the current record's "fecha_ori" value
 * @method integer     getRecaudoVigAnt()        Returns the current record's "recaudo_vig_ant" value
 * @method integer     getRecuperacionCartera()  Returns the current record's "recuperacion_cartera" value
 * @method TS_INGRESOS setId()                   Sets the current record's "id" value
 * @method TS_INGRESOS setCpt()                  Sets the current record's "cpt" value
 * @method TS_INGRESOS setClase()                Sets the current record's "clase" value
 * @method TS_INGRESOS setCodgru()               Sets the current record's "codgru" value
 * @method TS_INGRESOS setDesgru()               Sets the current record's "desgru" value
 * @method TS_INGRESOS setPinump()               Sets the current record's "pinump" value
 * @method TS_INGRESOS setOrigen()               Sets the current record's "origen" value
 * @method TS_INGRESOS setConmov()               Sets the current record's "conmov" value
 * @method TS_INGRESOS setDesmov()               Sets the current record's "desmov" value
 * @method TS_INGRESOS setTipdoc()               Sets the current record's "tipdoc" value
 * @method TS_INGRESOS setDesdoc()               Sets the current record's "desdoc" value
 * @method TS_INGRESOS setNumdoc()               Sets the current record's "numdoc" value
 * @method TS_INGRESOS setFecdoc()               Sets the current record's "fecdoc" value
 * @method TS_INGRESOS setValor()                Sets the current record's "valor" value
 * @method TS_INGRESOS setIva()                  Sets the current record's "iva" value
 * @method TS_INGRESOS setTotal()                Sets the current record's "total" value
 * @method TS_INGRESOS setCausado()              Sets the current record's "causado" value
 * @method TS_INGRESOS setRecaudo()              Sets the current record's "recaudo" value
 * @method TS_INGRESOS setCodmin()               Sets the current record's "codmin" value
 * @method TS_INGRESOS setDesmin()               Sets the current record's "desmin" value
 * @method TS_INGRESOS setNitocc()               Sets the current record's "nitocc" value
 * @method TS_INGRESOS setRazsoc()               Sets the current record's "razsoc" value
 * @method TS_INGRESOS setCodban()               Sets the current record's "codban" value
 * @method TS_INGRESOS setCuenta()               Sets the current record's "cuenta" value
 * @method TS_INGRESOS setCodcia()               Sets the current record's "codcia" value
 * @method TS_INGRESOS setFecafe()               Sets the current record's "fecafe" value
 * @method TS_INGRESOS setTipafe()               Sets the current record's "tipafe" value
 * @method TS_INGRESOS setDocafe()               Sets the current record's "docafe" value
 * @method TS_INGRESOS setPlacaRmn()             Sets the current record's "placa_rmn" value
 * @method TS_INGRESOS setObserv()               Sets the current record's "observ" value
 * @method TS_INGRESOS setEstado()               Sets the current record's "estado" value
 * @method TS_INGRESOS setNumdocSop()            Sets the current record's "numdoc_sop" value
 * @method TS_INGRESOS setCoding()               Sets the current record's "coding" value
 * @method TS_INGRESOS setFecdocSop()            Sets the current record's "fecdoc_sop" value
 * @method TS_INGRESOS setRubroSiif()            Sets the current record's "rubro_siif" value
 * @method TS_INGRESOS setRecaudomes()           Sets the current record's "recaudomes" value
 * @method TS_INGRESOS setFechaOri()             Sets the current record's "fecha_ori" value
 * @method TS_INGRESOS setRecaudoVigAnt()        Sets the current record's "recaudo_vig_ant" value
 * @method TS_INGRESOS setRecuperacionCartera()  Sets the current record's "recuperacion_cartera" 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_INGRESOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_INGRESOS');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('cpt', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('clase', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('codgru', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('desgru', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('pinump', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('origen', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('conmov', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('desmov', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('tipdoc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('desdoc', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('numdoc', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('fecdoc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('iva', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('total', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('causado', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('recaudo', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codmin', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('desmin', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('nitocc', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('razsoc', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('codban', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cuenta', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('codcia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecafe', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('tipafe', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('docafe', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('placa_rmn', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observ', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('estado', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('numdoc_sop', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('coding', 'string', 6, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 6,
             ));
        $this->hasColumn('fecdoc_sop', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('rubro_siif', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('recaudomes', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('fecha_ori', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('recaudo_vig_ant', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('recuperacion_cartera', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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