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

/**
 * BaseANHOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_anhos
 * @property Doctrine_Collection $RE_SALDO
 * 
 * @method integer             getIdAnhos()  Returns the current record's "id_anhos" value
 * @method Doctrine_Collection getRESALDO()  Returns the current record's "RE_SALDO" collection
 * @method ANHOS               setIdAnhos()  Sets the current record's "id_anhos" value
 * @method ANHOS               setRESALDO()  Sets the current record's "RE_SALDO" collection
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseANHOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ANHOS');
        $this->hasColumn('id_anhos', 'integer', 4, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 4,
             ));
    }

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