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

/**
 * BasePARAM_FIRMA_ELECTRONICA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_firma
 * @property string $nombre
 * @property string $cargo
 * @property string $documento
 * @property integer $estado
 * @property integer $orden
 * @property Doctrine_Collection $NO_INF_FIRMA
 * 
 * @method integer             getIdFirma()      Returns the current record's "id_firma" value
 * @method string              getNombre()       Returns the current record's "nombre" value
 * @method string              getCargo()        Returns the current record's "cargo" value
 * @method string              getDocumento()    Returns the current record's "documento" value
 * @method integer             getEstado()       Returns the current record's "estado" value
 * @method integer             getOrden()        Returns the current record's "orden" value
 * @method Doctrine_Collection getNOINFFIRMA()   Returns the current record's "NO_INF_FIRMA" collection
 * @method NO_FIRMA            setIdFirma()      Sets the current record's "id_firma" value
 * @method NO_FIRMA            setNombre()       Sets the current record's "nombre" value
 * @method NO_FIRMA            setCargo()        Sets the current record's "cargo" value
 * @method NO_FIRMA            setDocumento()    Sets the current record's "documento" value
 * @method NO_FIRMA            setEstado()       Sets the current record's "estado" value
 * @method NO_FIRMA            setOrden()        Sets the current record's "orden" value
 * @method NO_FIRMA            setNOINFFIRMA()   Sets the current record's "NO_INF_FIRMA" collection
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BasePARAM_FIRMA_ELECTRONICA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('PARAM_FIRMA_ELECTRONICA');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('serial', 'string', 100, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario_log', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_firma_elec_prov', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        
    }

    public function setUp()
    {
        parent::setUp();
    }
}