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

/**
 * BaseCONS_CDP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property decimal $valor
 * @property string $objeto
 * @property string $observacion
 * @property integer $numero
 * @property timestamp $fecha
 * @property integer $estado
 * @property integer $id_vigencia
 * @property string $ano_fiscal
 * @property timestamp $fechalog
 * @property string $usuariolog
 * @property integer $id_solicitud_cdp
 * 
 * @method integer   getId()               Returns the current record's "id" value
 * @method decimal   getValor()            Returns the current record's "valor" value
 * @method string    getObjeto()           Returns the current record's "objeto" value
 * @method string    getObservacion()      Returns the current record's "observacion" value
 * @method integer   getNumero()           Returns the current record's "numero" value
 * @method timestamp getFecha()            Returns the current record's "fecha" value
 * @method integer   getEstado()           Returns the current record's "estado" value
 * @method integer   getIdVigencia()       Returns the current record's "id_vigencia" value
 * @method string    getAnoFiscal()        Returns the current record's "ano_fiscal" value
 * @method timestamp getFechalog()         Returns the current record's "fechalog" value
 * @method string    getUsuariolog()       Returns the current record's "usuariolog" value
 * @method integer   getIdSolicitudCdp()   Returns the current record's "id_solicitud_cdp" value
 * @method CONS_CDP  setId()               Sets the current record's "id" value
 * @method CONS_CDP  setValor()            Sets the current record's "valor" value
 * @method CONS_CDP  setObjeto()           Sets the current record's "objeto" value
 * @method CONS_CDP  setObservacion()      Sets the current record's "observacion" value
 * @method CONS_CDP  setNumero()           Sets the current record's "numero" value
 * @method CONS_CDP  setFecha()            Sets the current record's "fecha" value
 * @method CONS_CDP  setEstado()           Sets the current record's "estado" value
 * @method CONS_CDP  setIdVigencia()       Sets the current record's "id_vigencia" value
 * @method CONS_CDP  setAnoFiscal()        Sets the current record's "ano_fiscal" value
 * @method CONS_CDP  setFechalog()         Sets the current record's "fechalog" value
 * @method CONS_CDP  setUsuariolog()       Sets the current record's "usuariolog" value
 * @method CONS_CDP  setIdSolicitudCdp()   Sets the current record's "id_solicitud_cdp" 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 BaseCONS_CDP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONS_CDP');
        $this->hasColumn('id', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('valor', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('objeto', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('observacion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('numero', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('ano_fiscal', 'string', 1000, array(
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 1000,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_solicitud_cdp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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