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

/**
 * BaseNO_FIRMA
 * 
 * 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 blob $img_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 blob     getImgFirma()  Returns the current record's "img_firma" value
 * @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 setImgFirma()  Sets the current record's "img_firma" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_FIRMA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_FIRMA');
        $this->hasColumn('id_firma', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('nombre', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('cargo', 'string', 1000, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('documento', 'string', 20, array(
             'notnull' => false,
             '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('orden', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('img_firma', 'blob', 4000, array(
             'notnull' => false,
             'type' => 'blob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4000,
             ));
    }

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