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

/**
 * BaseCM_CONSEC_LEGA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_consec_lega
 * @property string $vigencia
 * @property integer $id_caja_menor
 * @property integer $consecutivo_lega
 * 
 * @method integer        getIdConsecLega()     Returns the current record's "id_consec_lega" value
 * @method string         getVigencia()         Returns the current record's "vigencia" value
 * @method integer        getIdCajaMenor()      Returns the current record's "id_caja_menor" value
 * @method integer        getConsecutivoLega()  Returns the current record's "consecutivo_lega" value
 * @method CM_CONSEC_LEGA setIdConsecLega()     Sets the current record's "id_consec_lega" value
 * @method CM_CONSEC_LEGA setVigencia()         Sets the current record's "vigencia" value
 * @method CM_CONSEC_LEGA setIdCajaMenor()      Sets the current record's "id_caja_menor" value
 * @method CM_CONSEC_LEGA setConsecutivoLega()  Sets the current record's "consecutivo_lega" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_CONSEC_LEGA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_CONSEC_LEGA');
        $this->hasColumn('id_consec_lega', 'integer', 20, array(
             'notnull' => false,
             '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_caja_menor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('consecutivo_lega', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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