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

/**
 * BaseRH_PN_AS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_as
 * @property integer $id_com_es
 * @property integer $id_norma
 * @property decimal $salario
 * @property timestamp $fecha
 * 
 * @method integer   getIdAs()      Returns the current record's "id_as" value
 * @method integer   getIdComEs()   Returns the current record's "id_com_es" value
 * @method integer   getIdNorma()   Returns the current record's "id_norma" value
 * @method decimal   getSalario()   Returns the current record's "salario" value
 * @method timestamp getFecha()     Returns the current record's "fecha" value
 * @method RH_PN_AS  setIdAs()      Sets the current record's "id_as" value
 * @method RH_PN_AS  setIdComEs()   Sets the current record's "id_com_es" value
 * @method RH_PN_AS  setIdNorma()   Sets the current record's "id_norma" value
 * @method RH_PN_AS  setSalario()   Sets the current record's "salario" value
 * @method RH_PN_AS  setFecha()     Sets the current record's "fecha" 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_PN_AS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_PN_AS');
        $this->hasColumn('id_as', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_com_es', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_norma', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('salario', 'decimal', 20, array(
             'notnull' => true,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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