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

/**
 * BaseTS_CAUSACION
 * 
 * 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 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 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_CAUSACION setId()                   Sets the current record's "id" value
 * @method TS_CAUSACION setCpt()                  Sets the current record's "cpt" value
 * @method TS_CAUSACION setClase()                Sets the current record's "clase" value
 * @method TS_CAUSACION setCodgru()               Sets the current record's "codgru" value
 * @method TS_CAUSACION setDesgru()               Sets the current record's "desgru" value
 * @method TS_CAUSACION setPinump()               Sets the current record's "pinump" value
 * @method TS_CAUSACION setOrigen()               Sets the current record's "origen" value
 * @method TS_CAUSACION setConmov()               Sets the current record's "conmov" value
 * @method TS_CAUSACION setDesmov()               Sets the current record's "desmov" value
 * @method TS_CAUSACION setTipdoc()               Sets the current record's "tipdoc" value
 * @method TS_CAUSACION setDesdoc()               Sets the current record's "desdoc" value
 * @method TS_CAUSACION setNumdoc()               Sets the current record's "numdoc" value
 * @method TS_CAUSACION setFecdoc()               Sets the current record's "fecdoc" value
 * @method TS_CAUSACION setValor()                Sets the current record's "valor" value
 * @method TS_CAUSACION setIva()                  Sets the current record's "iva" value
 * @method TS_CAUSACION setTotal()                Sets the current record's "total" value
 * @method TS_CAUSACION setCausado()              Sets the current record's "causado" value
 * @method TS_CAUSACION setRecaudo()              Sets the current record's "recaudo" value
 * @method TS_CAUSACION setCodmin()               Sets the current record's "codmin" value
 * @method TS_CAUSACION setDesmin()               Sets the current record's "desmin" value
 * @method TS_CAUSACION setNitocc()               Sets the current record's "nitocc" value
 * @method TS_CAUSACION setRazsoc()               Sets the current record's "razsoc" value
 * @method TS_CAUSACION setCodban()               Sets the current record's "codban" value
 * @method TS_CAUSACION setCuenta()               Sets the current record's "cuenta" value
 * @method TS_CAUSACION setCodcia()               Sets the current record's "codcia" value
 * @method TS_CAUSACION setFecafe()               Sets the current record's "fecafe" value
 * @method TS_CAUSACION setTipafe()               Sets the current record's "tipafe" value
 * @method TS_CAUSACION setDocafe()               Sets the current record's "docafe" value
 * @method TS_CAUSACION setPlacaRmn()             Sets the current record's "placa_rmn" value
 * @method TS_CAUSACION setObserv()               Sets the current record's "observ" value
 * @method TS_CAUSACION setEstado()               Sets the current record's "estado" value
 * @method TS_CAUSACION setNumdocSop()            Sets the current record's "numdoc_sop" value
 * @method TS_CAUSACION setFecdocSop()            Sets the current record's "fecdoc_sop" value
 * @method TS_CAUSACION setRubroSiif()            Sets the current record's "rubro_siif" value
 * @method TS_CAUSACION setRecaudomes()           Sets the current record's "recaudomes" value
 * @method TS_CAUSACION setFechaOri()             Sets the current record's "fecha_ori" value
 * @method TS_CAUSACION setRecaudoVigAnt()        Sets the current record's "recaudo_vig_ant" value
 * @method TS_CAUSACION setRecuperacionCartera()  Sets the current record's "recuperacion_cartera" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_CAUSACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_CAUSACION');
        $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('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();
        
    }
}