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

/**
 * BaseNORMAS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_normas
 * @property integer $tipo
 * @property string $codigo
 * @property timestamp $fecha
 * @property string $path
 * @property timestamp $fecha_f
 * @property timestamp $fecha_i
 * @property string $asunto
 * @property string $estado
 * @property integer $id_clasificacion
 * @property string $expedido
 * @property string $firma
 * 
 * @method integer   getIdNormas()         Returns the current record's "id_normas" value
 * @method integer   getTipo()             Returns the current record's "tipo" value
 * @method string    getCodigo()           Returns the current record's "codigo" value
 * @method timestamp getFecha()            Returns the current record's "fecha" value
 * @method string    getPath()             Returns the current record's "path" value
 * @method timestamp getFechaF()           Returns the current record's "fecha_f" value
 * @method timestamp getFechaI()           Returns the current record's "fecha_i" value
 * @method string    getAsunto()           Returns the current record's "asunto" value
 * @method string    getEstado()           Returns the current record's "estado" value
 * @method integer   getIdClasificacion()  Returns the current record's "id_clasificacion" value
 * @method string    getExpedido()         Returns the current record's "expedido" value
 * @method string    getFirma()            Returns the current record's "firma" value
 * @method NORMAS    setIdNormas()         Sets the current record's "id_normas" value
 * @method NORMAS    setTipo()             Sets the current record's "tipo" value
 * @method NORMAS    setCodigo()           Sets the current record's "codigo" value
 * @method NORMAS    setFecha()            Sets the current record's "fecha" value
 * @method NORMAS    setPath()             Sets the current record's "path" value
 * @method NORMAS    setFechaF()           Sets the current record's "fecha_f" value
 * @method NORMAS    setFechaI()           Sets the current record's "fecha_i" value
 * @method NORMAS    setAsunto()           Sets the current record's "asunto" value
 * @method NORMAS    setEstado()           Sets the current record's "estado" value
 * @method NORMAS    setIdClasificacion()  Sets the current record's "id_clasificacion" value
 * @method NORMAS    setExpedido()         Sets the current record's "expedido" value
 * @method NORMAS    setFirma()            Sets the current record's "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 BaseNORMAS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NORMAS');
        $this->hasColumn('id_normas', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('tipo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('path', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('fecha_f', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_i', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('asunto', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('estado', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_clasificacion', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('expedido', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('firma', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

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