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

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

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