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

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

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