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

/**
 * BaseCM_ANUL_LEGA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_anul_lega
 * @property integer $id_legalizacion
 * @property integer $id_caja_menor
 * @property integer $id_rp
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property string $observaciones
 * @property timestamp $fecha_proceso
 * @property timestamp $fechalog
 * @property string $usuariolog
 * 
 * @method integer      getIdAnulLega()      Returns the current record's "id_anul_lega" value
 * @method integer      getIdLegalizacion()  Returns the current record's "id_legalizacion" value
 * @method integer      getIdCajaMenor()     Returns the current record's "id_caja_menor" value
 * @method integer      getIdRp()            Returns the current record's "id_rp" value
 * @method integer      getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method string       getVigencia()        Returns the current record's "vigencia" value
 * @method string       getObservaciones()   Returns the current record's "observaciones" value
 * @method timestamp    getFechaProceso()    Returns the current record's "fecha_proceso" value
 * @method timestamp    getFechalog()        Returns the current record's "fechalog" value
 * @method string       getUsuariolog()      Returns the current record's "usuariolog" value
 * @method CM_ANUL_LEGA setIdAnulLega()      Sets the current record's "id_anul_lega" value
 * @method CM_ANUL_LEGA setIdLegalizacion()  Sets the current record's "id_legalizacion" value
 * @method CM_ANUL_LEGA setIdCajaMenor()     Sets the current record's "id_caja_menor" value
 * @method CM_ANUL_LEGA setIdRp()            Sets the current record's "id_rp" value
 * @method CM_ANUL_LEGA setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method CM_ANUL_LEGA setVigencia()        Sets the current record's "vigencia" value
 * @method CM_ANUL_LEGA setObservaciones()   Sets the current record's "observaciones" value
 * @method CM_ANUL_LEGA setFechaProceso()    Sets the current record's "fecha_proceso" value
 * @method CM_ANUL_LEGA setFechalog()        Sets the current record's "fechalog" value
 * @method CM_ANUL_LEGA setUsuariolog()      Sets the current record's "usuariolog" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_ANUL_LEGA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_ANUL_LEGA');
        $this->hasColumn('id_anul_lega', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_legalizacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', '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('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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