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

/**
 * BaseRH_EN_APLICACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_aplicacion
 * @property integer $id_formato
 * @property integer $vigencia
 * @property timestamp $fecha_inicio
 * @property timestamp $fecha_fin
 * @property string $observaciones
 * @property integer $estado
 * @property integer $id_cia
 * @property integer $id_cen_op
 * 
 * @method integer          getIdAplicacion()  Returns the current record's "id_aplicacion" value
 * @method integer          getIdFormato()     Returns the current record's "id_formato" value
 * @method integer          getVigencia()      Returns the current record's "vigencia" value
 * @method timestamp        getFechaInicio()   Returns the current record's "fecha_inicio" value
 * @method timestamp        getFechaFin()      Returns the current record's "fecha_fin" value
 * @method string           getObservaciones() Returns the current record's "observaciones" value
 * @method integer          getEstado()        Returns the current record's "estado" value
 * @method integer          getIdCia()         Returns the current record's "id_cia" value
 * @method integer          getIdCenOp()       Returns the current record's "id_cen_op" value
 * @method RH_EN_APLICACION setIdAplicacion()  Sets the current record's "id_aplicacion" value
 * @method RH_EN_APLICACION setIdFormato()     Sets the current record's "id_formato" value
 * @method RH_EN_APLICACION setVigencia()      Sets the current record's "vigencia" value
 * @method RH_EN_APLICACION setFechaInicio()   Sets the current record's "fecha_inicio" value
 * @method RH_EN_APLICACION setFechaFin()      Sets the current record's "fecha_fin" value
 * @method RH_EN_APLICACION setObservaciones() Sets the current record's "observaciones" value
 * @method RH_EN_APLICACION setEstado()        Sets the current record's "estado" value
 * @method RH_EN_APLICACION setIdCia()         Sets the current record's "id_cia" value
 * @method RH_EN_APLICACION setIdCenOp()       Sets the current record's "id_cen_op" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_EN_APLICACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_EN_APLICACION');
        $this->hasColumn('id_aplicacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_formato', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'integer', 10, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('fecha_inicio', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('estado', 'integer', 10, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('id_cia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cen_op', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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