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

/**
 * BaseRH_SS_CLA_FON
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_ss_cla
 * @property string $codigo
 * @property string $descripcion
 * @property Doctrine_Collection $RH_SS_FON
 * 
 * @method integer             getIdSsCla()     Returns the current record's "id_ss_cla" value
 * @method string              getCodigo()      Returns the current record's "codigo" 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_CLA_FON       setIdSsCla()     Sets the current record's "id_ss_cla" value
 * @method RH_SS_CLA_FON       setCodigo()      Sets the current record's "codigo" value
 * @method RH_SS_CLA_FON       setDescripcion() Sets the current record's "descripcion" value
 * @method RH_SS_CLA_FON       setRHSSFON()     Sets the current record's "RH_SS_FON" collection
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRH_SS_CLA_FON extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RH_SS_CLA_FON');
        $this->hasColumn('id_ss_cla', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('codigo', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
        $this->hasColumn('descripcion', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
    }

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