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

/**
 * BaseNO_INF_FIRMA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_inf_firma
 * @property string $comando
 * @property integer $id_firma
 * @property string $descripcion
 * @property NO_FIRMA $NO_FIRMA
 * 
 * @method integer      getIdInfFirma()   Returns the current record's "id_inf_firma" value
 * @method string       getComando()      Returns the current record's "comando" value
 * @method integer      getIdFirma()      Returns the current record's "id_firma" value
 * @method string       getDescripcion()  Returns the current record's "descripcion" value
 * @method NO_FIRMA     getNOFIRMA()      Returns the current record's "NO_FIRMA" value
 * @method NO_INF_FIRMA setIdInfFirma()   Sets the current record's "id_inf_firma" value
 * @method NO_INF_FIRMA setComando()      Sets the current record's "comando" value
 * @method NO_INF_FIRMA setIdFirma()      Sets the current record's "id_firma" value
 * @method NO_INF_FIRMA setDescripcion()  Sets the current record's "descripcion" value
 * @method NO_INF_FIRMA setNOFIRMA()      Sets the current record's "NO_FIRMA" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_INF_FIRMA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_INF_FIRMA');
        $this->hasColumn('id_inf_firma', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('comando', 'string', 128, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('id_firma', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('encabezado', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('pie_pagina', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('NO_FIRMA', array(
             'local' => 'id_firma',
             'foreign' => 'id_firma'));
    }
}