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

/**
 * BaseTS_PACH
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_ts_pach
 * @property string $numlot
 * @property timestamp $fecha_lote
 * @property integer $estado
 * @property timestamp $fecha_anulado
 * @property integer $id_bn
 * @property integer $id_cb
 * @property integer $id_vigencia
 * @property integer $vigencia
 * @property string $usuariolog
 * @property timestamp $fechalog
 * 
 * @method integer   getIdTsPach()      Returns the current record's "id_ts_pach" value
 * @method string    getNumlot()        Returns the current record's "numlot" value
 * @method timestamp getFechaLote()     Returns the current record's "fecha_lote" value
 * @method integer   getEstado()        Returns the current record's "estado" value
 * @method timestamp getFechaAnulado()  Returns the current record's "fecha_anulado" 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   getIdVigencia()    Returns the current record's "id_vigencia" value
 * @method integer   getVigencia()      Returns the current record's "vigencia" value
 * @method string    getUsuariolog()    Returns the current record's "usuariolog" value
 * @method timestamp getFechalog()      Returns the current record's "fechalog" value
 * @method TS_PACH   setIdTsPach()      Sets the current record's "id_ts_pach" value
 * @method TS_PACH   setNumlot()        Sets the current record's "numlot" value
 * @method TS_PACH   setFechaLote()     Sets the current record's "fecha_lote" value
 * @method TS_PACH   setEstado()        Sets the current record's "estado" value
 * @method TS_PACH   setFechaAnulado()  Sets the current record's "fecha_anulado" value
 * @method TS_PACH   setIdBn()          Sets the current record's "id_bn" value
 * @method TS_PACH   setIdCb()          Sets the current record's "id_cb" value
 * @method TS_PACH   setIdVigencia()    Sets the current record's "id_vigencia" value
 * @method TS_PACH   setVigencia()      Sets the current record's "vigencia" value
 * @method TS_PACH   setUsuariolog()    Sets the current record's "usuariolog" value
 * @method TS_PACH   setFechalog()      Sets the current record's "fechalog" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_PACH extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_PACH');
        $this->hasColumn('id_ts_pach', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('numlot', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_lote', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anulado', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_bn', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cb', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_vigencia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('vigencia', 'integer', 10, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fechalog', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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