<?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 $RVC_LOG
 * 
 * @method integer             getIdAnhos()  Returns the current record's "id_anhos" value
 * @method Doctrine_Collection getRVCLOG()   Returns the current record's "RVC_LOG" collection
 * @method ANHOS               setIdAnhos()  Sets the current record's "id_anhos" value
 * @method ANHOS               setRVCLOG()   Sets the current record's "RVC_LOG" collection
 * 
 * @package    radicacionVirtualCuentas
 * @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(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 4,
             ));
    }

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