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

/**
 * BaseRH_SA_NOMBRAMIENTO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_sa_nom
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_dp
 * @property timestamp $fecha_i
 * @property timestamp $fecha_f
 * @property integer $id_area
 * @property integer $id_norma1
 * @property integer $id_norma2
 * @property integer $p_resolucion
 * @property integer $p_convocatoria
 * @property integer $p_cargo
 * @property string $pro_path
 * @property string $p_path
 * @property integer $id_sa_niv2
 * @property integer $id_norma3
 * @property timestamp $fecha_p
 * @property integer $estado
 * @property integer $id_cia
 * @property integer $id_cen_op
 * 
 * @method integer            getIdSaNom()        Returns the current record's "id_sa_nom" 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            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 integer            getIdNorma2()       Returns the current record's "id_norma2" value
 * @method integer            getPResolucion()    Returns the current record's "p_resolucion" value
 * @method integer            getPConvocatoria()  Returns the current record's "p_convocatoria" value
 * @method integer            getPCargo()         Returns the current record's "p_cargo" 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            getIdSaNiv2()       Returns the current record's "id_sa_niv2" value
 * @method integer            getIdNorma3()       Returns the current record's "id_norma3" value
 * @method timestamp          getFechaP()         Returns the current record's "fecha_p" 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_SA_NOMBRAMIENTO setIdSaNom()        Sets the current record's "id_sa_nom" value
 * @method RH_SA_NOMBRAMIENTO setIdTipoDoc()      Sets the current record's "id_tipo_doc" value
 * @method RH_SA_NOMBRAMIENTO setNumDoc()         Sets the current record's "num_doc" value
 * @method RH_SA_NOMBRAMIENTO setIdDp()           Sets the current record's "id_dp" value
 * @method RH_SA_NOMBRAMIENTO setFechaI()         Sets the current record's "fecha_i" value
 * @method RH_SA_NOMBRAMIENTO setFechaF()         Sets the current record's "fecha_f" value
 * @method RH_SA_NOMBRAMIENTO setIdArea()         Sets the current record's "id_area" value
 * @method RH_SA_NOMBRAMIENTO setIdNorma1()       Sets the current record's "id_norma1" value
 * @method RH_SA_NOMBRAMIENTO setIdNorma2()       Sets the current record's "id_norma2" value
 * @method RH_SA_NOMBRAMIENTO setPResolucion()    Sets the current record's "p_resolucion" value
 * @method RH_SA_NOMBRAMIENTO setPConvocatoria()  Sets the current record's "p_convocatoria" value
 * @method RH_SA_NOMBRAMIENTO setPCargo()         Sets the current record's "p_cargo" value
 * @method RH_SA_NOMBRAMIENTO setProPath()        Sets the current record's "pro_path" value
 * @method RH_SA_NOMBRAMIENTO setPPath()          Sets the current record's "p_path" value
 * @method RH_SA_NOMBRAMIENTO setIdSaNiv2()       Sets the current record's "id_sa_niv2" value
 * @method RH_SA_NOMBRAMIENTO setIdNorma3()       Sets the current record's "id_norma3" value
 * @method RH_SA_NOMBRAMIENTO setFechaP()         Sets the current record's "fecha_p" value
 * @method RH_SA_NOMBRAMIENTO setEstado()         Sets the current record's "estado" value
 * @method RH_SA_NOMBRAMIENTO setIdCia()          Sets the current record's "id_cia" value
 * @method RH_SA_NOMBRAMIENTO 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_SA_NOMBRAMIENTO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SA_NOMBRAMIENTO');
        $this->hasColumn('id_sa_nom', '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', 20, array(
             'notnull' => true,
             'type' => 'string',
             '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('id_norma2', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('p_resolucion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('p_convocatoria', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('p_cargo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $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_sa_niv2', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_norma3', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_p', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $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();
        
    }
}