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

/**
 * BaseTS_LOTE_ANUL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_lote_anul
 * @property integer $id_dis_val
 * @property string $motivo
 * @property string $observaciones
 * @property string $usuario
 * @property string $vigencia
 * @property timestamp $fecha_sys
 * @property timestamp $fecha_proc
 * 
 * @method integer      getIdLoteAnul()    Returns the current record's "id_lote_anul" value
 * @method integer      getIdDisVal()      Returns the current record's "id_dis_val" value
 * @method string       getMotivo()        Returns the current record's "motivo" value
 * @method string       getObservaciones() Returns the current record's "observaciones" value
 * @method string       getUsuario()       Returns the current record's "usuario" value
 * @method string       getVigencia()      Returns the current record's "vigencia" value
 * @method timestamp    getFechaSys()      Returns the current record's "fecha_sys" value
 * @method timestamp    getFechaProc()     Returns the current record's "fecha_proc" value
 * @method TS_LOTE_ANUL setIdLoteAnul()    Sets the current record's "id_lote_anul" value
 * @method TS_LOTE_ANUL setIdDisVal()      Sets the current record's "id_dis_val" value
 * @method TS_LOTE_ANUL setMotivo()        Sets the current record's "motivo" value
 * @method TS_LOTE_ANUL setObservaciones() Sets the current record's "observaciones" value
 * @method TS_LOTE_ANUL setUsuario()       Sets the current record's "usuario" value
 * @method TS_LOTE_ANUL setVigencia()      Sets the current record's "vigencia" value
 * @method TS_LOTE_ANUL setFechaSys()      Sets the current record's "fecha_sys" value
 * @method TS_LOTE_ANUL setFechaProc()     Sets the current record's "fecha_proc" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_LOTE_ANUL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_LOTE_ANUL');
        $this->hasColumn('id_lote_anul', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_dis_val', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('motivo', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('usuario', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('vigencia', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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