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

/**
 * BaseIN_DET_CONTRATO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_det_contrato
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_contrato
 * @property integer $id_soli_det_compra
 * @property integer $cantidad
 * @property integer $id_det_cotizacion
 * @property integer $estado
 * @property integer $anulado
 * @property decimal $valor
 * @property decimal $descuento
 * @property decimal $iva
 * @property decimal $subtotal
 * @property integer $cantidad_recibida
 * @property decimal $valor_iva
 * @property integer $en_proceso
 * 
 * @method integer         getIdDetContrato()      Returns the current record's "id_det_contrato" 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         getIdContrato()         Returns the current record's "id_contrato" 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 integer         getIdDetCotizacion()    Returns the current record's "id_det_cotizacion" value
 * @method integer         getEstado()             Returns the current record's "estado" value
 * @method integer         getAnulado()            Returns the current record's "anulado" 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         getCantidadRecibida()   Returns the current record's "cantidad_recibida" value
 * @method decimal         getValorIva()           Returns the current record's "valor_iva" value
 * @method integer         getEnProceso()          Returns the current record's "en_proceso" value
 * @method IN_DET_CONTRATO setIdDetContrato()      Sets the current record's "id_det_contrato" value
 * @method IN_DET_CONTRATO setIdVigencia()         Sets the current record's "id_vigencia" value
 * @method IN_DET_CONTRATO setIdCenOp()            Sets the current record's "id_cen_op" value
 * @method IN_DET_CONTRATO setIdContrato()         Sets the current record's "id_contrato" value
 * @method IN_DET_CONTRATO setIdSoliDetCompra()    Sets the current record's "id_soli_det_compra" value
 * @method IN_DET_CONTRATO setCantidad()           Sets the current record's "cantidad" value
 * @method IN_DET_CONTRATO setIdDetCotizacion()    Sets the current record's "id_det_cotizacion" value
 * @method IN_DET_CONTRATO setEstado()             Sets the current record's "estado" value
 * @method IN_DET_CONTRATO setAnulado()            Sets the current record's "anulado" value
 * @method IN_DET_CONTRATO setValor()              Sets the current record's "valor" value
 * @method IN_DET_CONTRATO setDescuento()          Sets the current record's "descuento" value
 * @method IN_DET_CONTRATO setIva()                Sets the current record's "iva" value
 * @method IN_DET_CONTRATO setSubtotal()           Sets the current record's "subtotal" value
 * @method IN_DET_CONTRATO setCantidadRecibida()   Sets the current record's "cantidad_recibida" value
 * @method IN_DET_CONTRATO setValorIva()           Sets the current record's "valor_iva" value
 * @method IN_DET_CONTRATO setEnProceso()          Sets the current record's "en_proceso" 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_CONTRATO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_DET_CONTRATO');
        $this->hasColumn('id_det_contrato', '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_contrato', '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,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_det_cotizacion', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $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', '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('cantidad_recibida', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_iva', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('en_proceso', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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