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

/**
 * BaseRH_SS_FON_COV
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_fon_cov
 * @property string $nombre
 * @property string $descripcion
 * @property Doctrine_Collection $RH_SS_FON
 * 
 * @method integer             getIdFonCov()    Returns the current record's "id_fon_cov" value
 * @method string              getNombre()      Returns the current record's "nombre" value
 * @method string              getDescripcion() Returns the current record's "descripcion" value
 * @method Doctrine_Collection getRHSSFON()     Returns the current record's "RH_SS_FON" collection
 * @method RH_SS_FON_COV       setIdFonCov()    Sets the current record's "id_fon_cov" value
 * @method RH_SS_FON_COV       setNombre()      Sets the current record's "nombre" value
 * @method RH_SS_FON_COV       setDescripcion() Sets the current record's "descripcion" value
 * @method RH_SS_FON_COV       setRHSSFON()     Sets the current record's "RH_SS_FON" collection
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SS_FON_COV extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SS_FON_COV');
        $this->hasColumn('id_fon_cov', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasMany('RH_SS_FON', array(
             'local' => 'id_fon_cov',
             'foreign' => 'id_fon_cov'));
    }
}