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

/**
 * BaseIN_CONTRATO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_contrato
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_cotizacion
 * @property integer $cdp
 * @property integer $id_mae_ter
 * @property decimal $valor_total
 * @property integer $id_soli_compra
 * @property string $plazo_entrega
 * @property string $sitio_entrega
 * @property string $observaciones
 * @property integer $tipo_contrato
 * @property integer $no_contrato
 * @property integer $estado
 * @property integer $anulado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_usuario_anu
 * @property timestamp $fecha_contrato
 * @property timestamp $fecha_contrato_doc
 * @property string $forma_pago
 * @property string $tipo_proceso
 * @property string $num_proceso
 * @property integer $id_vigencia_proceso
 * @property integer $id_usuario_log
 * @property decimal $valor_neto
 * @property decimal $valor_iva
 * @property integer $sec
 * @property integer $vig_cdp
 * @property timestamp $fecha_cdp
 * 
 * @method integer     getIdContrato()          Returns the current record's "id_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     getIdCotizacion()        Returns the current record's "id_cotizacion" value
 * @method integer     getCdp()                 Returns the current record's "cdp" value
 * @method integer     getIdMaeTer()            Returns the current record's "id_mae_ter" value
 * @method decimal     getValorTotal()          Returns the current record's "valor_total" value
 * @method integer     getIdSoliCompra()        Returns the current record's "id_soli_compra" value
 * @method string      getPlazoEntrega()        Returns the current record's "plazo_entrega" value
 * @method string      getSitioEntrega()        Returns the current record's "sitio_entrega" value
 * @method string      getObservaciones()       Returns the current record's "observaciones" value
 * @method integer     getTipoContrato()        Returns the current record's "tipo_contrato" value
 * @method integer     getNoContrato()          Returns the current record's "no_contrato" 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 timestamp   getFechaContrato()       Returns the current record's "fecha_contrato" value
 * @method timestamp   getFechaContratoDoc()    Returns the current record's "fecha_contrato_doc" value
 * @method string      getFormaPago()           Returns the current record's "forma_pago" value
 * @method string      getTipoProceso()         Returns the current record's "tipo_proceso" value
 * @method string      getNumProceso()          Returns the current record's "num_proceso" value
 * @method integer     getIdVigenciaProceso()   Returns the current record's "id_vigencia_proceso" value
 * @method integer     getIdUsuarioLog()        Returns the current record's "id_usuario_log" value
 * @method decimal     getValorNeto()           Returns the current record's "valor_neto" value
 * @method decimal     getValorIva()            Returns the current record's "valor_iva" value
 * @method integer     getSec()                 Returns the current record's "sec" value
 * @method integer     getVigCdp()              Returns the current record's "vig_cdp" value
 * @method timestamp   getFechaCdp()            Returns the current record's "fecha_cdp" value
 * @method IN_CONTRATO setIdContrato()          Sets the current record's "id_contrato" value
 * @method IN_CONTRATO setIdVigencia()          Sets the current record's "id_vigencia" value
 * @method IN_CONTRATO setIdCenOp()             Sets the current record's "id_cen_op" value
 * @method IN_CONTRATO setIdCotizacion()        Sets the current record's "id_cotizacion" value
 * @method IN_CONTRATO setCdp()                 Sets the current record's "cdp" value
 * @method IN_CONTRATO setIdMaeTer()            Sets the current record's "id_mae_ter" value
 * @method IN_CONTRATO setValorTotal()          Sets the current record's "valor_total" value
 * @method IN_CONTRATO setIdSoliCompra()        Sets the current record's "id_soli_compra" value
 * @method IN_CONTRATO setPlazoEntrega()        Sets the current record's "plazo_entrega" value
 * @method IN_CONTRATO setSitioEntrega()        Sets the current record's "sitio_entrega" value
 * @method IN_CONTRATO setObservaciones()       Sets the current record's "observaciones" value
 * @method IN_CONTRATO setTipoContrato()        Sets the current record's "tipo_contrato" value
 * @method IN_CONTRATO setNoContrato()          Sets the current record's "no_contrato" value
 * @method IN_CONTRATO setEstado()              Sets the current record's "estado" value
 * @method IN_CONTRATO setAnulado()             Sets the current record's "anulado" value
 * @method IN_CONTRATO setFechaAnu()            Sets the current record's "fecha_anu" value
 * @method IN_CONTRATO setMotivoAnu()           Sets the current record's "motivo_anu" value
 * @method IN_CONTRATO setIdUsuarioAnu()        Sets the current record's "id_usuario_anu" value
 * @method IN_CONTRATO setFechaContrato()       Sets the current record's "fecha_contrato" value
 * @method IN_CONTRATO setFechaContratoDoc()    Sets the current record's "fecha_contrato_doc" value
 * @method IN_CONTRATO setFormaPago()           Sets the current record's "forma_pago" value
 * @method IN_CONTRATO setTipoProceso()         Sets the current record's "tipo_proceso" value
 * @method IN_CONTRATO setNumProceso()          Sets the current record's "num_proceso" value
 * @method IN_CONTRATO setIdVigenciaProceso()   Sets the current record's "id_vigencia_proceso" value
 * @method IN_CONTRATO setIdUsuarioLog()        Sets the current record's "id_usuario_log" value
 * @method IN_CONTRATO setValorNeto()           Sets the current record's "valor_neto" value
 * @method IN_CONTRATO setValorIva()            Sets the current record's "valor_iva" value
 * @method IN_CONTRATO setSec()                 Sets the current record's "sec" value
 * @method IN_CONTRATO setVigCdp()              Sets the current record's "vig_cdp" value
 * @method IN_CONTRATO setFechaCdp()            Sets the current record's "fecha_cdp" 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_CONTRATO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_CONTRATO');
        $this->hasColumn('id_contrato', 'integer', 8, array(
             '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_cen_op', 'integer', 8, array(
             'notnull' => false,
             '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('cdp', '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('valor_total', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('id_soli_compra', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('plazo_entrega', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('sitio_entrega', 'string', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('tipo_contrato', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('no_contrato', '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('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
        $this->hasColumn('id_usuario_anu', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_contrato', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_contrato_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('forma_pago', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('tipo_proceso', 'string', 256, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('num_proceso', 'string', 50, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 50,
             ));
        $this->hasColumn('id_vigencia_proceso', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_usuario_log', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_neto', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_iva', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('sec', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('vig_cdp', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_cdp', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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