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

/**
 * BaseTSCCTMP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_obligacion
 * @property integer $id_rp
 * @property integer $id_asign
 * @property integer $id_cpx
 * @property integer $secuencia
 * @property string $clacta
 * @property decimal $valor_obligacion
 * @property timestamp $fecha_proceso
 * @property timestamp $fecha_sistema
 * @property string $usuario
 * @property string $observaciones
 * @property integer $id_pagos_obliga
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * @property integer $tipo_obligacion
 * @property integer $estado
 * @property string $nit
 * @property integer $vr_bruto
 * @property integer $vr_retenciones
 * @property integer $vr_base_iva
 * @property integer $vr_iva
 * @property timestamp $fecha_anul
 * 
 * @method integer   getId()               Returns the current record's "id" value
 * @method integer   getIdObligacion()     Returns the current record's "id_obligacion" value
 * @method integer   getIdRp()             Returns the current record's "id_rp" value
 * @method integer   getIdAsign()          Returns the current record's "id_asign" value
 * @method integer   getIdCpx()            Returns the current record's "id_cpx" value
 * @method integer   getSecuencia()        Returns the current record's "secuencia" value
 * @method string    getClacta()           Returns the current record's "clacta" value
 * @method decimal   getValorObligacion()  Returns the current record's "valor_obligacion" 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    getUsuario()          Returns the current record's "usuario" value
 * @method string    getObservaciones()    Returns the current record's "observaciones" value
 * @method integer   getIdPagosObliga()    Returns the current record's "id_pagos_obliga" value
 * @method integer   getIdVigencia()       Returns the current record's "id_vigencia" value
 * @method string    getAnoFiscal()        Returns the current record's "ano_fiscal" value
 * @method integer   getTipoObligacion()   Returns the current record's "tipo_obligacion" value
 * @method integer   getEstado()           Returns the current record's "estado" value
 * @method string    getNit()              Returns the current record's "nit" value
 * @method integer   getVrBruto()          Returns the current record's "vr_bruto" value
 * @method integer   getVrRetenciones()    Returns the current record's "vr_retenciones" value
 * @method integer   getVrBaseIva()        Returns the current record's "vr_base_iva" value
 * @method integer   getVrIva()            Returns the current record's "vr_iva" value
 * @method timestamp getFechaAnul()        Returns the current record's "fecha_anul" value
 * @method TSCCTMP   setId()               Sets the current record's "id" value
 * @method TSCCTMP   setIdObligacion()     Sets the current record's "id_obligacion" value
 * @method TSCCTMP   setIdRp()             Sets the current record's "id_rp" value
 * @method TSCCTMP   setIdAsign()          Sets the current record's "id_asign" value
 * @method TSCCTMP   setIdCpx()            Sets the current record's "id_cpx" value
 * @method TSCCTMP   setSecuencia()        Sets the current record's "secuencia" value
 * @method TSCCTMP   setClacta()           Sets the current record's "clacta" value
 * @method TSCCTMP   setValorObligacion()  Sets the current record's "valor_obligacion" value
 * @method TSCCTMP   setFechaProceso()     Sets the current record's "fecha_proceso" value
 * @method TSCCTMP   setFechaSistema()     Sets the current record's "fecha_sistema" value
 * @method TSCCTMP   setUsuario()          Sets the current record's "usuario" value
 * @method TSCCTMP   setObservaciones()    Sets the current record's "observaciones" value
 * @method TSCCTMP   setIdPagosObliga()    Sets the current record's "id_pagos_obliga" value
 * @method TSCCTMP   setIdVigencia()       Sets the current record's "id_vigencia" value
 * @method TSCCTMP   setAnoFiscal()        Sets the current record's "ano_fiscal" value
 * @method TSCCTMP   setTipoObligacion()   Sets the current record's "tipo_obligacion" value
 * @method TSCCTMP   setEstado()           Sets the current record's "estado" value
 * @method TSCCTMP   setNit()              Sets the current record's "nit" value
 * @method TSCCTMP   setVrBruto()          Sets the current record's "vr_bruto" value
 * @method TSCCTMP   setVrRetenciones()    Sets the current record's "vr_retenciones" value
 * @method TSCCTMP   setVrBaseIva()        Sets the current record's "vr_base_iva" value
 * @method TSCCTMP   setVrIva()            Sets the current record's "vr_iva" value
 * @method TSCCTMP   setFechaAnul()        Sets the current record's "fecha_anul" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTSCCTMP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TSCCTMP');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_obligacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_asign', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cpx', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('secuencia', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('clacta', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('valor_obligacion', 'decimal', 38, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $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('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_pagos_obliga', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('tipo_obligacion', '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('nit', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vr_bruto', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vr_retenciones', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vr_base_iva', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vr_iva', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_anul', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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