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

/**
 * BaseCBR_ACTUACION_PROC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_actuacion_proc
 * @property string $codigo
 * @property string $descripcion
 * @property integer $no_dias
 * @property integer $dias_alerta
 * @property integer $id_tipo_documento
 * @property integer $obligatoria
 * @property integer $estado
 * @property integer $notificacion
 * @property integer $orden
 * @property CBR_TIPO_DOCUMENTO $CBR_TIPO_DOCUMENTO
 * 
 * @method integer            getIdActuacionProc()    Returns the current record's "id_actuacion_proc" value
 * @method string             getCodigo()             Returns the current record's "codigo" value
 * @method string             getDescripcion()        Returns the current record's "descripcion" value
 * @method integer            getNoDias()             Returns the current record's "no_dias" value
 * @method integer            getDiasAlerta()         Returns the current record's "dias_alerta" value
 * @method integer            getIdTipoDocumento()    Returns the current record's "id_tipo_documento" value
 * @method integer            getObligatoria()        Returns the current record's "obligatoria" value
 * @method integer            getEstado()             Returns the current record's "estado" value
 * @method integer            getNotificacion()       Returns the current record's "notificacion" value
 * @method integer            getOrden()              Returns the current record's "orden" value
 * @method CBR_TIPO_DOCUMENTO getCBRTIPODOCUMENTO()   Returns the current record's "CBR_TIPO_DOCUMENTO" value
 * @method CBR_ACTUACION_PROC setIdActuacionProc()    Sets the current record's "id_actuacion_proc" value
 * @method CBR_ACTUACION_PROC setCodigo()             Sets the current record's "codigo" value
 * @method CBR_ACTUACION_PROC setDescripcion()        Sets the current record's "descripcion" value
 * @method CBR_ACTUACION_PROC setNoDias()             Sets the current record's "no_dias" value
 * @method CBR_ACTUACION_PROC setDiasAlerta()         Sets the current record's "dias_alerta" value
 * @method CBR_ACTUACION_PROC setIdTipoDocumento()    Sets the current record's "id_tipo_documento" value
 * @method CBR_ACTUACION_PROC setObligatoria()        Sets the current record's "obligatoria" value
 * @method CBR_ACTUACION_PROC setEstado()             Sets the current record's "estado" value
 * @method CBR_ACTUACION_PROC setNotificacion()       Sets the current record's "notificacion" value
 * @method CBR_ACTUACION_PROC setOrden()              Sets the current record's "orden" value
 * @method CBR_ACTUACION_PROC setCBRTIPODOCUMENTO()   Sets the current record's "CBR_TIPO_DOCUMENTO" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_ACTUACION_PROC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_ACTUACION_PROC');
        $this->hasColumn('id_actuacion_proc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('no_dias', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dias_alerta', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_documento', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('obligatoria', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('notificacion', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('orden', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('CBR_TIPO_DOCUMENTO', array(
             'local' => 'id_tipo_documento',
             'foreign' => 'id_tipo_documento'));
    }
}