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

/**
 * BaseCM_LEGALIZACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_legalizacion
 * @property integer $id_caja_menor
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property integer $id_rp
 * @property decimal $saldo_banco
 * @property decimal $saldo_efectivo
 * @property integer $estado
 * @property decimal $total_legalizado
 * @property string $observaciones
 * @property timestamp $fecha_proceso
 * @property timestamp $fechalog
 * @property string $usuariolog
 * @property string $id_mae_ter
 * @property integer $no_reembolso
 * 
 * @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         getIdVigencia()       Returns the current record's "id_vigencia" value
 * @method string          getVigencia()         Returns the current record's "vigencia" value
 * @method integer         getIdRp()             Returns the current record's "id_rp" value
 * @method decimal         getSaldoBanco()       Returns the current record's "saldo_banco" value
 * @method decimal         getSaldoEfectivo()    Returns the current record's "saldo_efectivo" value
 * @method integer         getEstado()           Returns the current record's "estado" value
 * @method decimal         getTotalLegalizado()  Returns the current record's "total_legalizado" 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 string          getIdMaeTer()         Returns the current record's "id_mae_ter" value
 * @method integer         getNoReembolso()      Returns the current record's "no_reembolso" value
 * @method CM_LEGALIZACION setIdLegalizacion()   Sets the current record's "id_legalizacion" value
 * @method CM_LEGALIZACION setIdCajaMenor()      Sets the current record's "id_caja_menor" value
 * @method CM_LEGALIZACION setIdVigencia()       Sets the current record's "id_vigencia" value
 * @method CM_LEGALIZACION setVigencia()         Sets the current record's "vigencia" value
 * @method CM_LEGALIZACION setIdRp()             Sets the current record's "id_rp" value
 * @method CM_LEGALIZACION setSaldoBanco()       Sets the current record's "saldo_banco" value
 * @method CM_LEGALIZACION setSaldoEfectivo()    Sets the current record's "saldo_efectivo" value
 * @method CM_LEGALIZACION setEstado()           Sets the current record's "estado" value
 * @method CM_LEGALIZACION setTotalLegalizado()  Sets the current record's "total_legalizado" value
 * @method CM_LEGALIZACION setObservaciones()    Sets the current record's "observaciones" value
 * @method CM_LEGALIZACION setFechaProceso()     Sets the current record's "fecha_proceso" value
 * @method CM_LEGALIZACION setFechalog()         Sets the current record's "fechalog" value
 * @method CM_LEGALIZACION setUsuariolog()       Sets the current record's "usuariolog" value
 * @method CM_LEGALIZACION setIdMaeTer()         Sets the current record's "id_mae_ter" value
 * @method CM_LEGALIZACION setNoReembolso()      Sets the current record's "no_reembolso" 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_LEGALIZACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_LEGALIZACION');
        $this->hasColumn('id_legalizacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_caja_menor', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_rp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_banco', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('saldo_efectivo', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('total_legalizado', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             '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' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $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_mae_ter', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('no_reembolso', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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