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

/**
 * BaseTS_OBL_ANUL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_obl_anul
 * @property integer $id_obl_reg
 * @property string $motivo
 * @property string $observaciones
 * @property timestamp $fecha_proc
 * @property timestamp $fecha_sys
 * @property string $usuario
 * @property string $vigencia
 * 
 * @method integer     getIdOblAnul()     Returns the current record's "id_obl_anul" value
 * @method integer     getIdOblReg()      Returns the current record's "id_obl_reg" value
 * @method string      getMotivo()        Returns the current record's "motivo" value
 * @method string      getObservaciones() Returns the current record's "observaciones" 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_OBL_ANUL setIdOblAnul()     Sets the current record's "id_obl_anul" value
 * @method TS_OBL_ANUL setIdOblReg()      Sets the current record's "id_obl_reg" value
 * @method TS_OBL_ANUL setMotivo()        Sets the current record's "motivo" value
 * @method TS_OBL_ANUL setObservaciones() Sets the current record's "observaciones" value
 * @method TS_OBL_ANUL setFechaProc()     Sets the current record's "fecha_proc" value
 * @method TS_OBL_ANUL setFechaSys()      Sets the current record's "fecha_sys" value
 * @method TS_OBL_ANUL setUsuario()       Sets the current record's "usuario" value
 * @method TS_OBL_ANUL setVigencia()      Sets the current record's "vigencia" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_OBL_ANUL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_OBL_ANUL');
        $this->hasColumn('id_obl_anul', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_obl_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('observaciones', '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();
        
    }
}