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

/**
 * BaseRE_LOTE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $id_lote
 * @property timestamp $fecha_crea
 * @property string $descripcion
 * @property integer $estado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $en_uso
 * @property integer $id_lote_scem
 * @property integer $id_ter_genero
 * 
 * @method string    getIdLote()        Returns the current record's "id_lote" value
 * @method timestamp getFechaCrea()     Returns the current record's "fecha_crea" value
 * @method string    getDescripcion()   Returns the current record's "descripcion" value
 * @method integer   getEstado()        Returns the current record's "estado" value
 * @method timestamp getFechaAnu()      Returns the current record's "fecha_anu" value
 * @method string    getMotivoAnu()     Returns the current record's "motivo_anu" value
 * @method integer   getIdBn()          Returns the current record's "id_bn" value
 * @method integer   getIdCb()          Returns the current record's "id_cb" value
 * @method integer   getEnUso()         Returns the current record's "en_uso" value
 * @method integer   getIdLoteScem()    Returns the current record's "id_lote_scem" value
 * @method integer   getIdTerGenero()   Returns the current record's "id_ter_genero" value
 * @method RE_LOTE   setIdLote()        Sets the current record's "id_lote" value
 * @method RE_LOTE   setFechaCrea()     Sets the current record's "fecha_crea" value
 * @method RE_LOTE   setDescripcion()   Sets the current record's "descripcion" value
 * @method RE_LOTE   setEstado()        Sets the current record's "estado" value
 * @method RE_LOTE   setFechaAnu()      Sets the current record's "fecha_anu" value
 * @method RE_LOTE   setMotivoAnu()     Sets the current record's "motivo_anu" value
 * @method RE_LOTE   setIdBn()          Sets the current record's "id_bn" value
 * @method RE_LOTE   setIdCb()          Sets the current record's "id_cb" value
 * @method RE_LOTE   setEnUso()         Sets the current record's "en_uso" value
 * @method RE_LOTE   setIdLoteScem()    Sets the current record's "id_lote_scem" value
 * @method RE_LOTE   setIdTerGenero()   Sets the current record's "id_ter_genero" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseRE_LOTE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('RE_LOTE');
        $this->hasColumn('id_lote', 'string', 9, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 9,
             ));
        $this->hasColumn('fecha_crea', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('descripcion', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 128, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('id_bn', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cb', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('en_uso', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_lote_scem', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_ter_genero', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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