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

/**
 * BaseIN_TIPO_TRANSAC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_transac
 * @property string $nombre
 * @property Doctrine_Collection $IN_PARAM_CONTAB
 * 
 * @method integer             getIdTipoTransac()   Returns the current record's "id_tipo_transac" value
 * @method string              getNombre()          Returns the current record's "nombre" value
 * @method Doctrine_Collection getINPARAMCONTAB()   Returns the current record's "IN_PARAM_CONTAB" collection
 * @method IN_TIPO_TRANSAC     setIdTipoTransac()   Sets the current record's "id_tipo_transac" value
 * @method IN_TIPO_TRANSAC     setNombre()          Sets the current record's "nombre" value
 * @method IN_TIPO_TRANSAC     setINPARAMCONTAB()   Sets the current record's "IN_PARAM_CONTAB" collection
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_TIPO_TRANSAC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_TIPO_TRANSAC');
        $this->hasColumn('id_tipo_transac', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

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