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

/**
 * BaseIN_TIPO_FIRMA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_firma
 * @property string $descripcion
 * @property Doctrine_Collection $IN_FIRMA
 * 
 * @method integer             getIdTipoFirma()   Returns the current record's "id_tipo_firma" value
 * @method string              getDescripcion()   Returns the current record's "descripcion" value
 * @method Doctrine_Collection getINFIRMA()       Returns the current record's "IN_FIRMA" collection
 * @method IN_TIPO_FIRMA       setIdTipoFirma()   Sets the current record's "id_tipo_firma" value
 * @method IN_TIPO_FIRMA       setDescripcion()   Sets the current record's "descripcion" value
 * @method IN_TIPO_FIRMA       setINFIRMA()       Sets the current record's "IN_FIRMA" collection
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_TIPO_FIRMA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_TIPO_FIRMA');
        $this->hasColumn('id_tipo_firma', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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