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

/**
 * BaseTS_DIS_ANUL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_dis_anul
 * @property integer $id_dis_reg
 * @property string $motivo
 * @property string $observacion
 * @property timestamp $fecha_proc
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property string $vigencia
 * 
 * @method integer     getIdDisAnul()   Returns the current record's "id_dis_anul" value
 * @method integer     getIdDisReg()    Returns the current record's "id_dis_reg" value
 * @method string      getMotivo()      Returns the current record's "motivo" value
 * @method string      getObservacion() Returns the current record's "observacion" value
 * @method timestamp   getFechaProc()   Returns the current record's "fecha_proc" value
 * @method timestamp   getFechaSys()    Returns the current record's "fecha_sys" value
 * @method string      getUsuario()     Returns the current record's "usuario" value
 * @method string      getVigencia()    Returns the current record's "vigencia" value
 * @method TS_DIS_ANUL setIdDisAnul()   Sets the current record's "id_dis_anul" value
 * @method TS_DIS_ANUL setIdDisReg()    Sets the current record's "id_dis_reg" value
 * @method TS_DIS_ANUL setMotivo()      Sets the current record's "motivo" value
 * @method TS_DIS_ANUL setObservacion() Sets the current record's "observacion" value
 * @method TS_DIS_ANUL setFechaProc()   Sets the current record's "fecha_proc" value
 * @method TS_DIS_ANUL setFechaSys()    Sets the current record's "fecha_sys" value
 * @method TS_DIS_ANUL setUsuario()     Sets the current record's "usuario" value
 * @method TS_DIS_ANUL setVigencia()    Sets the current record's "vigencia" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_DIS_ANUL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_DIS_ANUL');
        $this->hasColumn('id_dis_anul', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_dis_reg', '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('observacion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('fecha_proc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_sys', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('vigencia', 'string', 4, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 4,
             ));
    }

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