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

/**
 * BaseCA_DETA_RAD
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_deta_rad
 * @property integer $consecutivo_radicado
 * @property string $vigencia
 * @property integer $id_vencimiento
 * @property decimal $saldo_actual
 * 
 * @method integer     getIdDetaRad()            Returns the current record's "id_deta_rad" value
 * @method integer     getConsecutivoRadicado()  Returns the current record's "consecutivo_radicado" value
 * @method string      getVigencia()             Returns the current record's "vigencia" value
 * @method integer     getIdVencimiento()        Returns the current record's "id_vencimiento" value
 * @method decimal     getSaldoActual()          Returns the current record's "saldo_actual" value
 * @method CA_DETA_RAD setIdDetaRad()            Sets the current record's "id_deta_rad" value
 * @method CA_DETA_RAD setConsecutivoRadicado()  Sets the current record's "consecutivo_radicado" value
 * @method CA_DETA_RAD setVigencia()             Sets the current record's "vigencia" value
 * @method CA_DETA_RAD setIdVencimiento()        Sets the current record's "id_vencimiento" value
 * @method CA_DETA_RAD setSaldoActual()          Sets the current record's "saldo_actual" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_DETA_RAD extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_DETA_RAD');
        $this->hasColumn('id_deta_rad', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('consecutivo_radicado', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vencimiento', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_actual', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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