<?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_certificacion
 * @property integer $tipo_certificacion
 * @property string $comando
 * @property string $descripcion
 * @property integer $aplica_usuario
 * @property integer $estado
 * @property string $empresa
 * 
 * @method integer          getIdCertificacion()    Returns the current record's "id_certificacion" value
 * @method integer          getTipoCertificacion()  Returns the current record's "tipo_certificacion" value
 * @method string           getComando()            Returns the current record's "comando" value
 * @method string           getDescripcion()        Returns the current record's "descripcion" value
 * @method integer          getAplicaUsuario()      Returns the current record's "aplica_usuario" value
 * @method integer          getEstado()             Returns the current record's "estado" value
 * @method string           getEmpresa()            Returns the current record's "empresa" value
 * @method NO_CERTIFICACION setIdCertificacion()    Sets the current record's "id_certificacion" value
 * @method NO_CERTIFICACION setTipoCertificacion()  Sets the current record's "tipo_certificacion" value
 * @method NO_CERTIFICACION setComando()            Sets the current record's "comando" value
 * @method NO_CERTIFICACION setDescripcion()        Sets the current record's "descripcion" value
 * @method NO_CERTIFICACION setAplicaUsuario()      Sets the current record's "aplica_usuario" value
 * @method NO_CERTIFICACION setEstado()             Sets the current record's "estado" value
 * @method NO_CERTIFICACION setEmpresa()            Sets the current record's "empresa" value
 * 
 * @package    controlComisiones
 * @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', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('tipo_certificacion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $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' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('aplica_usuario', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             '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,
             ));
    }

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