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

/**
 * BaseCA_ETAPA_PROCESAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_etapa_procesal
 * @property string $descripcion
 * @property integer $estado
 * @property integer $tiempo_duracion
 * @property integer $id_rol_gestion
 * @property integer $dias_alerta
 * 
 * @method integer           getIdEtapaProcesal()   Returns the current record's "id_etapa_procesal" value
 * @method string            getDescripcion()       Returns the current record's "descripcion" value
 * @method integer           getEstado()            Returns the current record's "estado" value
 * @method integer           getTiempoDuracion()    Returns the current record's "tiempo_duracion" value
 * @method integer           getIdRolGestion()      Returns the current record's "id_rol_gestion" value
 * @method integer           getDiasAlerta()        Returns the current record's "dias_alerta" value
 * @method CA_ETAPA_PROCESAL setIdEtapaProcesal()   Sets the current record's "id_etapa_procesal" value
 * @method CA_ETAPA_PROCESAL setDescripcion()       Sets the current record's "descripcion" value
 * @method CA_ETAPA_PROCESAL setEstado()            Sets the current record's "estado" value
 * @method CA_ETAPA_PROCESAL setTiempoDuracion()    Sets the current record's "tiempo_duracion" value
 * @method CA_ETAPA_PROCESAL setIdRolGestion()      Sets the current record's "id_rol_gestion" value
 * @method CA_ETAPA_PROCESAL setDiasAlerta()        Sets the current record's "dias_alerta" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_ETAPA_PROCESAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_ETAPA_PROCESAL');
        $this->hasColumn('id_etapa_procesal', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 52, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 52,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('tiempo_duracion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_rol_gestion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dias_alerta', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '3
                ',
             'primary' => false,
             'length' => 20,
             ));
    }

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