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

/**
 * BaseRH_SA_SL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_sa_sl
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_tn
 * @property integer $id_dp
 * @property timestamp $fecha_i
 * @property timestamp $fecha_f
 * @property integer $id_area
 * @property integer $id_norma1
 * @property decimal $p_resolucion
 * @property decimal $p_convocatoria
 * @property decimal $p_cargo
 * @property timestamp $p_fecha
 * @property string $pro_path
 * @property string $p_path
 * @property integer $id_norma2
 * 
 * @method integer   getIdSaSl()         Returns the current record's "id_sa_sl" value
 * @method integer   getIdTipoDoc()      Returns the current record's "id_tipo_doc" value
 * @method string    getNumDoc()         Returns the current record's "num_doc" value
 * @method integer   getIdTn()           Returns the current record's "id_tn" value
 * @method integer   getIdDp()           Returns the current record's "id_dp" value
 * @method timestamp getFechaI()         Returns the current record's "fecha_i" value
 * @method timestamp getFechaF()         Returns the current record's "fecha_f" value
 * @method integer   getIdArea()         Returns the current record's "id_area" value
 * @method integer   getIdNorma1()       Returns the current record's "id_norma1" value
 * @method decimal   getPResolucion()    Returns the current record's "p_resolucion" value
 * @method decimal   getPConvocatoria()  Returns the current record's "p_convocatoria" value
 * @method decimal   getPCargo()         Returns the current record's "p_cargo" value
 * @method timestamp getPFecha()         Returns the current record's "p_fecha" value
 * @method string    getProPath()        Returns the current record's "pro_path" value
 * @method string    getPPath()          Returns the current record's "p_path" value
 * @method integer   getIdNorma2()       Returns the current record's "id_norma2" value
 * @method RH_SA_SL  setIdSaSl()         Sets the current record's "id_sa_sl" value
 * @method RH_SA_SL  setIdTipoDoc()      Sets the current record's "id_tipo_doc" value
 * @method RH_SA_SL  setNumDoc()         Sets the current record's "num_doc" value
 * @method RH_SA_SL  setIdTn()           Sets the current record's "id_tn" value
 * @method RH_SA_SL  setIdDp()           Sets the current record's "id_dp" value
 * @method RH_SA_SL  setFechaI()         Sets the current record's "fecha_i" value
 * @method RH_SA_SL  setFechaF()         Sets the current record's "fecha_f" value
 * @method RH_SA_SL  setIdArea()         Sets the current record's "id_area" value
 * @method RH_SA_SL  setIdNorma1()       Sets the current record's "id_norma1" value
 * @method RH_SA_SL  setPResolucion()    Sets the current record's "p_resolucion" value
 * @method RH_SA_SL  setPConvocatoria()  Sets the current record's "p_convocatoria" value
 * @method RH_SA_SL  setPCargo()         Sets the current record's "p_cargo" value
 * @method RH_SA_SL  setPFecha()         Sets the current record's "p_fecha" value
 * @method RH_SA_SL  setProPath()        Sets the current record's "pro_path" value
 * @method RH_SA_SL  setPPath()          Sets the current record's "p_path" value
 * @method RH_SA_SL  setIdNorma2()       Sets the current record's "id_norma2" 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_SA_SL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SA_SL');
        $this->hasColumn('id_sa_sl', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('id_tn', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_dp', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_i', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_f', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_area', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_norma1', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('p_resolucion', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('p_convocatoria', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('p_cargo', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('p_fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('pro_path', 'string', 300, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 300,
             ));
        $this->hasColumn('p_path', 'string', 300, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 300,
             ));
        $this->hasColumn('id_norma2', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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