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

/**
 * BaseTS_CIERRE_CXP
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cierre_cxp
 * @property integer $id_cxp
 * @property integer $id_vigencia
 * @property string $vigencia
 * @property timestamp $fecha_cierre
 * @property string $observaciones
 * @property string $usuariolog
 * @property timestamp $fechalog
 * @property decimal $valor_inicial
 * 
 * @method integer       getIdCierreCxp()   Returns the current record's "id_cierre_cxp" value
 * @method integer       getIdCxp()         Returns the current record's "id_cxp" value
 * @method integer       getIdVigencia()    Returns the current record's "id_vigencia" value
 * @method string        getVigencia()      Returns the current record's "vigencia" value
 * @method timestamp     getFechaCierre()   Returns the current record's "fecha_cierre" value
 * @method string        getObservaciones() Returns the current record's "observaciones" value
 * @method string        getUsuariolog()    Returns the current record's "usuariolog" value
 * @method timestamp     getFechalog()      Returns the current record's "fechalog" value
 * @method decimal       getValorInicial()  Returns the current record's "valor_inicial" value
 * @method TS_CIERRE_CXP setIdCierreCxp()   Sets the current record's "id_cierre_cxp" value
 * @method TS_CIERRE_CXP setIdCxp()         Sets the current record's "id_cxp" value
 * @method TS_CIERRE_CXP setIdVigencia()    Sets the current record's "id_vigencia" value
 * @method TS_CIERRE_CXP setVigencia()      Sets the current record's "vigencia" value
 * @method TS_CIERRE_CXP setFechaCierre()   Sets the current record's "fecha_cierre" value
 * @method TS_CIERRE_CXP setObservaciones() Sets the current record's "observaciones" value
 * @method TS_CIERRE_CXP setUsuariolog()    Sets the current record's "usuariolog" value
 * @method TS_CIERRE_CXP setFechalog()      Sets the current record's "fechalog" value
 * @method TS_CIERRE_CXP setValorInicial()  Sets the current record's "valor_inicial" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_CIERRE_CXP extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_CIERRE_CXP');
        $this->hasColumn('id_cierre_cxp', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_cxp', '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', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('fecha_cierre', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $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' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_inicial', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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