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

/**
 * BaseIN_SOLI_COMPRA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_soli_compra
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_area
 * @property integer $id_mae_ter
 * @property string $observaciones
 * @property timestamp $fecha_solicitud
 * @property integer $estado
 * @property integer $anulado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_usuario_anu
 * 
 * @method integer        getIdSoliCompra()    Returns the current record's "id_soli_compra" 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 integer        getIdMaeTer()        Returns the current record's "id_mae_ter" value
 * @method string         getObservaciones()   Returns the current record's "observaciones" value
 * @method timestamp      getFechaSolicitud()  Returns the current record's "fecha_solicitud" value
 * @method integer        getEstado()          Returns the current record's "estado" 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_SOLI_COMPRA setIdSoliCompra()    Sets the current record's "id_soli_compra" value
 * @method IN_SOLI_COMPRA setIdVigencia()      Sets the current record's "id_vigencia" value
 * @method IN_SOLI_COMPRA setIdCenOp()         Sets the current record's "id_cen_op" value
 * @method IN_SOLI_COMPRA setIdArea()          Sets the current record's "id_area" value
 * @method IN_SOLI_COMPRA setIdMaeTer()        Sets the current record's "id_mae_ter" value
 * @method IN_SOLI_COMPRA setObservaciones()   Sets the current record's "observaciones" value
 * @method IN_SOLI_COMPRA setFechaSolicitud()  Sets the current record's "fecha_solicitud" value
 * @method IN_SOLI_COMPRA setEstado()          Sets the current record's "estado" value
 * @method IN_SOLI_COMPRA setAnulado()         Sets the current record's "anulado" value
 * @method IN_SOLI_COMPRA setFechaAnu()        Sets the current record's "fecha_anu" value
 * @method IN_SOLI_COMPRA setMotivoAnu()       Sets the current record's "motivo_anu" value
 * @method IN_SOLI_COMPRA 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_SOLI_COMPRA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_SOLI_COMPRA');
        $this->hasColumn('id_soli_compra', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_area', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('fecha_solicitud', '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,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('anulado', 'integer', 1, array(
             'notnull' => false,
             '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', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $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();
        
    }
}