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

/**
 * BaseCM_DETA_LEGA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_deta_lega
 * @property integer $id_legalizacion
 * @property integer $id_pago_obl
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_caja_menor
 * 
 * @method integer      getIdDetaLega()      Returns the current record's "id_deta_lega" value
 * @method integer      getIdLegalizacion()  Returns the current record's "id_legalizacion" value
 * @method integer      getIdPagoObl()       Returns the current record's "id_pago_obl" value
 * @method integer      getIdVigencia()      Returns the current record's "id_vigencia" value
 * @method string       getVigencia()        Returns the current record's "vigencia" value
 * @method integer      getIdCajaMenor()     Returns the current record's "id_caja_menor" value
 * @method CM_DETA_LEGA setIdDetaLega()      Sets the current record's "id_deta_lega" value
 * @method CM_DETA_LEGA setIdLegalizacion()  Sets the current record's "id_legalizacion" value
 * @method CM_DETA_LEGA setIdPagoObl()       Sets the current record's "id_pago_obl" value
 * @method CM_DETA_LEGA setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method CM_DETA_LEGA setVigencia()        Sets the current record's "vigencia" value
 * @method CM_DETA_LEGA setIdCajaMenor()     Sets the current record's "id_caja_menor" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_DETA_LEGA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_DETA_LEGA');
        $this->hasColumn('id_deta_lega', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_legalizacion', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_pago_obl', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             '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('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,
             ));
    }

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