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

/**
 * BaseIN_DET_COTIZACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_det_cotizacion
 * @property integer $id_cen_op
 * @property integer $id_vigencia
 * @property integer $id_cotizacion
 * @property integer $id_soli_det_compra
 * @property integer $cantidad
 * @property decimal $valor
 * @property decimal $descuento
 * @property decimal $iva
 * @property decimal $subtotal
 * @property integer $estado
 * @property integer $anulado
 * @property decimal $valor_iva
 * 
 * @method integer           getIdDetCotizacion()    Returns the current record's "id_det_cotizacion" value
 * @method integer           getIdCenOp()            Returns the current record's "id_cen_op" value
 * @method integer           getIdVigencia()         Returns the current record's "id_vigencia" value
 * @method integer           getIdCotizacion()       Returns the current record's "id_cotizacion" value
 * @method integer           getIdSoliDetCompra()    Returns the current record's "id_soli_det_compra" value
 * @method integer           getCantidad()           Returns the current record's "cantidad" value
 * @method decimal           getValor()              Returns the current record's "valor" value
 * @method decimal           getDescuento()          Returns the current record's "descuento" value
 * @method decimal           getIva()                Returns the current record's "iva" value
 * @method decimal           getSubtotal()           Returns the current record's "subtotal" value
 * @method integer           getEstado()             Returns the current record's "estado" value
 * @method integer           getAnulado()            Returns the current record's "anulado" value
 * @method decimal           getValorIva()           Returns the current record's "valor_iva" value
 * @method IN_DET_COTIZACION setIdDetCotizacion()    Sets the current record's "id_det_cotizacion" value
 * @method IN_DET_COTIZACION setIdCenOp()            Sets the current record's "id_cen_op" value
 * @method IN_DET_COTIZACION setIdVigencia()         Sets the current record's "id_vigencia" value
 * @method IN_DET_COTIZACION setIdCotizacion()       Sets the current record's "id_cotizacion" value
 * @method IN_DET_COTIZACION setIdSoliDetCompra()    Sets the current record's "id_soli_det_compra" value
 * @method IN_DET_COTIZACION setCantidad()           Sets the current record's "cantidad" value
 * @method IN_DET_COTIZACION setValor()              Sets the current record's "valor" value
 * @method IN_DET_COTIZACION setDescuento()          Sets the current record's "descuento" value
 * @method IN_DET_COTIZACION setIva()                Sets the current record's "iva" value
 * @method IN_DET_COTIZACION setSubtotal()           Sets the current record's "subtotal" value
 * @method IN_DET_COTIZACION setEstado()             Sets the current record's "estado" value
 * @method IN_DET_COTIZACION setAnulado()            Sets the current record's "anulado" value
 * @method IN_DET_COTIZACION setValorIva()           Sets the current record's "valor_iva" 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_DET_COTIZACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_DET_COTIZACION');
        $this->hasColumn('id_det_cotizacion', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cotizacion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_soli_det_compra', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cantidad', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('descuento', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('iva', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('subtotal', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $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('valor_iva', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 18,
             ));
    }

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