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

/**
 * BaseIN_PLAN_ADQUISICION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_plan_adquisicion
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_area
 * @property string $num_doc
 * @property integer $id_ts_td
 * @property timestamp $fecha_doc
 * @property string $observaciones
 * @property timestamp $fecha_log
 * @property integer $id_usuario
 * @property integer $anulado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_usuario_anu
 * 
 * @method integer             getIdPlanAdquisicion()   Returns the current record's "id_plan_adquisicion" value
 * @method integer             getIdVigencia()          Returns the current record's "id_vigencia" value
 * @method integer             getIdCenOp()             Returns the current record's "id_cen_op" value
 * @method integer             getIdArea()              Returns the current record's "id_area" value
 * @method string              getNumDoc()              Returns the current record's "num_doc" value
 * @method integer             getIdTsTd()              Returns the current record's "id_ts_td" value
 * @method timestamp           getFechaDoc()            Returns the current record's "fecha_doc" value
 * @method string              getObservaciones()       Returns the current record's "observaciones" value
 * @method timestamp           getFechaLog()            Returns the current record's "fecha_log" value
 * @method integer             getIdUsuario()           Returns the current record's "id_usuario" value
 * @method integer             getAnulado()             Returns the current record's "anulado" 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             getIdUsuarioAnu()        Returns the current record's "id_usuario_anu" value
 * @method IN_PLAN_ADQUISICION setIdPlanAdquisicion()   Sets the current record's "id_plan_adquisicion" value
 * @method IN_PLAN_ADQUISICION setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method IN_PLAN_ADQUISICION setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method IN_PLAN_ADQUISICION setIdArea()              Sets the current record's "id_area" value
 * @method IN_PLAN_ADQUISICION setNumDoc()              Sets the current record's "num_doc" value
 * @method IN_PLAN_ADQUISICION setIdTsTd()              Sets the current record's "id_ts_td" value
 * @method IN_PLAN_ADQUISICION setFechaDoc()            Sets the current record's "fecha_doc" value
 * @method IN_PLAN_ADQUISICION setObservaciones()       Sets the current record's "observaciones" value
 * @method IN_PLAN_ADQUISICION setFechaLog()            Sets the current record's "fecha_log" value
 * @method IN_PLAN_ADQUISICION setIdUsuario()           Sets the current record's "id_usuario" value
 * @method IN_PLAN_ADQUISICION setAnulado()             Sets the current record's "anulado" value
 * @method IN_PLAN_ADQUISICION setFechaAnu()            Sets the current record's "fecha_anu" value
 * @method IN_PLAN_ADQUISICION setMotivoAnu()           Sets the current record's "motivo_anu" value
 * @method IN_PLAN_ADQUISICION setIdUsuarioAnu()        Sets the current record's "id_usuario_anu" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_PLAN_ADQUISICION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_PLAN_ADQUISICION');
        $this->hasColumn('id_plan_adquisicion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_area', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_td', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_usuario', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('anulado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('id_usuario_anu', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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