<?php

// Connection Component Binding
Doctrine_Manager::getInstance()->bindComponent('NO_CERTIFICACION', 'doctrine');

/**
 * BaseNO_CERTIFICACION
 * 
 * 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_CERTIFICACION setIdInfFirma()   Sets the current record's "id_inf_firma" value
 * @method NO_CERTIFICACION setComando()      Sets the current record's "comando" value
 * @method NO_CERTIFICACION setIdFirma()      Sets the current record's "id_firma" value
 * @method NO_CERTIFICACION setDescripcion()  Sets the current record's "descripcion" value
 * @method NO_CERTIFICACION 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_CERTIFICACION extends sfDoctrineRecord {

    public function setTableDefinition() {
        $this->setTableName('NO_CERTIFICACION');
        $this->hasColumn('id_certificacion', 'integer', 20, array(
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => true,
            'length' => 20,
        ));
        $this->hasColumn('tipo_certificacion', 'integer', 20, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 20,
        ));
        $this->hasColumn('comando', 'string', 128, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 128,
        ));
        $this->hasColumn('descripcion', 'string', 500, array(
            'notnull' => true,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 500,
        ));
        $this->hasColumn('aplica_usuario', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0',
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('estado', 'integer', 1, array(
            'notnull' => true,
            'type' => 'integer',
            'fixed' => 0,
            'unsigned' => false,
            'default' => '0',
            'primary' => false,
            'length' => 1,
        ));
        $this->hasColumn('empresa', 'string', 10, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 10,
        ));
        $this->hasColumn('prefijo', 'string', 10, array(
            'notnull' => false,
            'type' => 'string',
            'fixed' => 0,
            'unsigned' => false,
            'primary' => false,
            'length' => 10,
        ));
    }

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

}