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

/**
 * BaseTS_ANTICIPO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_anticipo
 * @property string $vigencia
 * @property integer $id_vigencia
 * @property integer $id_rp
 * @property decimal $valor_anticipo
 * @property integer $debitos
 * @property integer $creditos
 * @property integer $saldo_anticipo
 * @property timestamp $fecha_proceso
 * 
 * @method integer     getIdAnticipo()     Returns the current record's "id_anticipo" value
 * @method string      getVigencia()       Returns the current record's "vigencia" value
 * @method integer     getIdVigencia()     Returns the current record's "id_vigencia" value
 * @method integer     getIdRp()           Returns the current record's "id_rp" value
 * @method decimal     getValorAnticipo()  Returns the current record's "valor_anticipo" value
 * @method integer     getDebitos()        Returns the current record's "debitos" value
 * @method integer     getCreditos()       Returns the current record's "creditos" value
 * @method integer     getSaldoAnticipo()  Returns the current record's "saldo_anticipo" value
 * @method timestamp   getFechaProceso()   Returns the current record's "fecha_proceso" value
 * @method TS_ANTICIPO setIdAnticipo()     Sets the current record's "id_anticipo" value
 * @method TS_ANTICIPO setVigencia()       Sets the current record's "vigencia" value
 * @method TS_ANTICIPO setIdVigencia()     Sets the current record's "id_vigencia" value
 * @method TS_ANTICIPO setIdRp()           Sets the current record's "id_rp" value
 * @method TS_ANTICIPO setValorAnticipo()  Sets the current record's "valor_anticipo" value
 * @method TS_ANTICIPO setDebitos()        Sets the current record's "debitos" value
 * @method TS_ANTICIPO setCreditos()       Sets the current record's "creditos" value
 * @method TS_ANTICIPO setSaldoAnticipo()  Sets the current record's "saldo_anticipo" value
 * @method TS_ANTICIPO setFechaProceso()   Sets the current record's "fecha_proceso" 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 BaseTS_ANTICIPO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_ANTICIPO');
        $this->hasColumn('id_anticipo', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', '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('valor_anticipo', 'decimal', 38, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 38,
             ));
        $this->hasColumn('debitos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('creditos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_anticipo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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