<?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
 * @property IN_COTIZACION $IN_COTIZACION
 * @property IN_COTIZACION $IN_COTIZACION_2
 * @property IN_COTIZACION $IN_COTIZACION_3
 * @property IN_COTIZACION $IN_COTIZACION_4
 * @property IN_COTIZACION $IN_COTIZACION_5
 * @property IN_COTIZACION $IN_COTIZACION_6
 * @property IN_COTIZACION $IN_COTIZACION_7
 * @property IN_COTIZACION $IN_COTIZACION_8
 * @property IN_COTIZACION $IN_COTIZACION_9
 * @property INTERCEROS $INTERCEROS
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_12
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_13
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_14
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_15
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_16
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_17
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_18
 * @property IN_SOLI_COMPRA $IN_SOLI_COMPRA_19
 * @property Doctrine_Collection $IN_PROV_CALIF
 * @property Doctrine_Collection $IN_PROV_CALIF_2
 * @property Doctrine_Collection $IN_PROV_CALIF_3
 * @property Doctrine_Collection $IN_PROV_CALIF_4
 * @property Doctrine_Collection $IN_PROV_CALIF_5
 * @property Doctrine_Collection $IN_PROV_CALIF_6
 * @property Doctrine_Collection $IN_PROV_CALIF_7
 * @property Doctrine_Collection $IN_PROV_CALIF_8
 * @property Doctrine_Collection $IN_PROV_CALIF_9
 * @property Doctrine_Collection $IN_DET_CONTRATO
 * @property Doctrine_Collection $IN_DET_CONTRATO_2
 * @property Doctrine_Collection $IN_DET_CONTRATO_3
 * @property Doctrine_Collection $IN_DET_CONTRATO_4
 * @property Doctrine_Collection $IN_DET_CONTRATO_5
 * @property Doctrine_Collection $IN_DET_CONTRATO_6
 * @property Doctrine_Collection $IN_DET_CONTRATO_7
 * @property Doctrine_Collection $IN_DET_CONTRATO_8
 * @property Doctrine_Collection $IN_DET_CONTRATO_9
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_2
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_3
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_4
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_5
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_6
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_7
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_8
 * @property Doctrine_Collection $IN_CONTRATO_MOV_DV_9
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_2
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_3
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_4
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_5
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_6
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_7
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_8
 * @property Doctrine_Collection $IN_CONTRATO_MOV_CON_9
 * @property Doctrine_Collection $IN_CDP_CONT
 * @property Doctrine_Collection $IN_CDP_CONT_2
 * @property Doctrine_Collection $IN_CDP_CONT_3
 * @property Doctrine_Collection $IN_CDP_CONT_4
 * @property Doctrine_Collection $IN_CDP_CONT_5
 * @property Doctrine_Collection $IN_CDP_CONT_6
 * @property Doctrine_Collection $IN_CDP_CONT_7
 * @property Doctrine_Collection $IN_CDP_CONT_8
 * @property Doctrine_Collection $IN_CDP_CONT_9
 * 
 * @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_COTIZACION       getINCOTIZACION()          Returns the current record's "IN_COTIZACION" value
 * @method IN_COTIZACION       getINCOTIZACION2()         Returns the current record's "IN_COTIZACION_2" value
 * @method IN_COTIZACION       getINCOTIZACION3()         Returns the current record's "IN_COTIZACION_3" value
 * @method IN_COTIZACION       getINCOTIZACION4()         Returns the current record's "IN_COTIZACION_4" value
 * @method IN_COTIZACION       getINCOTIZACION5()         Returns the current record's "IN_COTIZACION_5" value
 * @method IN_COTIZACION       getINCOTIZACION6()         Returns the current record's "IN_COTIZACION_6" value
 * @method IN_COTIZACION       getINCOTIZACION7()         Returns the current record's "IN_COTIZACION_7" value
 * @method IN_COTIZACION       getINCOTIZACION8()         Returns the current record's "IN_COTIZACION_8" value
 * @method IN_COTIZACION       getINCOTIZACION9()         Returns the current record's "IN_COTIZACION_9" value
 * @method INTERCEROS          getINTERCEROS()            Returns the current record's "INTERCEROS" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA()          Returns the current record's "IN_SOLI_COMPRA" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA12()        Returns the current record's "IN_SOLI_COMPRA_12" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA13()        Returns the current record's "IN_SOLI_COMPRA_13" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA14()        Returns the current record's "IN_SOLI_COMPRA_14" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA15()        Returns the current record's "IN_SOLI_COMPRA_15" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA16()        Returns the current record's "IN_SOLI_COMPRA_16" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA17()        Returns the current record's "IN_SOLI_COMPRA_17" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA18()        Returns the current record's "IN_SOLI_COMPRA_18" value
 * @method IN_SOLI_COMPRA      getINSOLICOMPRA19()        Returns the current record's "IN_SOLI_COMPRA_19" value
 * @method Doctrine_Collection getINPROVCALIF()           Returns the current record's "IN_PROV_CALIF" collection
 * @method Doctrine_Collection getINPROVCALIF2()          Returns the current record's "IN_PROV_CALIF_2" collection
 * @method Doctrine_Collection getINPROVCALIF3()          Returns the current record's "IN_PROV_CALIF_3" collection
 * @method Doctrine_Collection getINPROVCALIF4()          Returns the current record's "IN_PROV_CALIF_4" collection
 * @method Doctrine_Collection getINPROVCALIF5()          Returns the current record's "IN_PROV_CALIF_5" collection
 * @method Doctrine_Collection getINPROVCALIF6()          Returns the current record's "IN_PROV_CALIF_6" collection
 * @method Doctrine_Collection getINPROVCALIF7()          Returns the current record's "IN_PROV_CALIF_7" collection
 * @method Doctrine_Collection getINPROVCALIF8()          Returns the current record's "IN_PROV_CALIF_8" collection
 * @method Doctrine_Collection getINPROVCALIF9()          Returns the current record's "IN_PROV_CALIF_9" collection
 * @method Doctrine_Collection getINDETCONTRATO()         Returns the current record's "IN_DET_CONTRATO" collection
 * @method Doctrine_Collection getINDETCONTRATO2()        Returns the current record's "IN_DET_CONTRATO_2" collection
 * @method Doctrine_Collection getINDETCONTRATO3()        Returns the current record's "IN_DET_CONTRATO_3" collection
 * @method Doctrine_Collection getINDETCONTRATO4()        Returns the current record's "IN_DET_CONTRATO_4" collection
 * @method Doctrine_Collection getINDETCONTRATO5()        Returns the current record's "IN_DET_CONTRATO_5" collection
 * @method Doctrine_Collection getINDETCONTRATO6()        Returns the current record's "IN_DET_CONTRATO_6" collection
 * @method Doctrine_Collection getINDETCONTRATO7()        Returns the current record's "IN_DET_CONTRATO_7" collection
 * @method Doctrine_Collection getINDETCONTRATO8()        Returns the current record's "IN_DET_CONTRATO_8" collection
 * @method Doctrine_Collection getINDETCONTRATO9()        Returns the current record's "IN_DET_CONTRATO_9" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV()       Returns the current record's "IN_CONTRATO_MOV_DV" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV2()      Returns the current record's "IN_CONTRATO_MOV_DV_2" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV3()      Returns the current record's "IN_CONTRATO_MOV_DV_3" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV4()      Returns the current record's "IN_CONTRATO_MOV_DV_4" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV5()      Returns the current record's "IN_CONTRATO_MOV_DV_5" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV6()      Returns the current record's "IN_CONTRATO_MOV_DV_6" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV7()      Returns the current record's "IN_CONTRATO_MOV_DV_7" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV8()      Returns the current record's "IN_CONTRATO_MOV_DV_8" collection
 * @method Doctrine_Collection getINCONTRATOMOVDV9()      Returns the current record's "IN_CONTRATO_MOV_DV_9" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON()      Returns the current record's "IN_CONTRATO_MOV_CON" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON2()     Returns the current record's "IN_CONTRATO_MOV_CON_2" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON3()     Returns the current record's "IN_CONTRATO_MOV_CON_3" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON4()     Returns the current record's "IN_CONTRATO_MOV_CON_4" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON5()     Returns the current record's "IN_CONTRATO_MOV_CON_5" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON6()     Returns the current record's "IN_CONTRATO_MOV_CON_6" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON7()     Returns the current record's "IN_CONTRATO_MOV_CON_7" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON8()     Returns the current record's "IN_CONTRATO_MOV_CON_8" collection
 * @method Doctrine_Collection getINCONTRATOMOVCON9()     Returns the current record's "IN_CONTRATO_MOV_CON_9" collection
 * @method Doctrine_Collection getINCDPCONT()             Returns the current record's "IN_CDP_CONT" collection
 * @method Doctrine_Collection getINCDPCONT2()            Returns the current record's "IN_CDP_CONT_2" collection
 * @method Doctrine_Collection getINCDPCONT3()            Returns the current record's "IN_CDP_CONT_3" collection
 * @method Doctrine_Collection getINCDPCONT4()            Returns the current record's "IN_CDP_CONT_4" collection
 * @method Doctrine_Collection getINCDPCONT5()            Returns the current record's "IN_CDP_CONT_5" collection
 * @method Doctrine_Collection getINCDPCONT6()            Returns the current record's "IN_CDP_CONT_6" collection
 * @method Doctrine_Collection getINCDPCONT7()            Returns the current record's "IN_CDP_CONT_7" collection
 * @method Doctrine_Collection getINCDPCONT8()            Returns the current record's "IN_CDP_CONT_8" collection
 * @method Doctrine_Collection getINCDPCONT9()            Returns the current record's "IN_CDP_CONT_9" collection
 * @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
 * @method IN_CONTRATO         setINCOTIZACION()          Sets the current record's "IN_COTIZACION" value
 * @method IN_CONTRATO         setINCOTIZACION2()         Sets the current record's "IN_COTIZACION_2" value
 * @method IN_CONTRATO         setINCOTIZACION3()         Sets the current record's "IN_COTIZACION_3" value
 * @method IN_CONTRATO         setINCOTIZACION4()         Sets the current record's "IN_COTIZACION_4" value
 * @method IN_CONTRATO         setINCOTIZACION5()         Sets the current record's "IN_COTIZACION_5" value
 * @method IN_CONTRATO         setINCOTIZACION6()         Sets the current record's "IN_COTIZACION_6" value
 * @method IN_CONTRATO         setINCOTIZACION7()         Sets the current record's "IN_COTIZACION_7" value
 * @method IN_CONTRATO         setINCOTIZACION8()         Sets the current record's "IN_COTIZACION_8" value
 * @method IN_CONTRATO         setINCOTIZACION9()         Sets the current record's "IN_COTIZACION_9" value
 * @method IN_CONTRATO         setINTERCEROS()            Sets the current record's "INTERCEROS" value
 * @method IN_CONTRATO         setINSOLICOMPRA()          Sets the current record's "IN_SOLI_COMPRA" value
 * @method IN_CONTRATO         setINSOLICOMPRA12()        Sets the current record's "IN_SOLI_COMPRA_12" value
 * @method IN_CONTRATO         setINSOLICOMPRA13()        Sets the current record's "IN_SOLI_COMPRA_13" value
 * @method IN_CONTRATO         setINSOLICOMPRA14()        Sets the current record's "IN_SOLI_COMPRA_14" value
 * @method IN_CONTRATO         setINSOLICOMPRA15()        Sets the current record's "IN_SOLI_COMPRA_15" value
 * @method IN_CONTRATO         setINSOLICOMPRA16()        Sets the current record's "IN_SOLI_COMPRA_16" value
 * @method IN_CONTRATO         setINSOLICOMPRA17()        Sets the current record's "IN_SOLI_COMPRA_17" value
 * @method IN_CONTRATO         setINSOLICOMPRA18()        Sets the current record's "IN_SOLI_COMPRA_18" value
 * @method IN_CONTRATO         setINSOLICOMPRA19()        Sets the current record's "IN_SOLI_COMPRA_19" value
 * @method IN_CONTRATO         setINPROVCALIF()           Sets the current record's "IN_PROV_CALIF" collection
 * @method IN_CONTRATO         setINPROVCALIF2()          Sets the current record's "IN_PROV_CALIF_2" collection
 * @method IN_CONTRATO         setINPROVCALIF3()          Sets the current record's "IN_PROV_CALIF_3" collection
 * @method IN_CONTRATO         setINPROVCALIF4()          Sets the current record's "IN_PROV_CALIF_4" collection
 * @method IN_CONTRATO         setINPROVCALIF5()          Sets the current record's "IN_PROV_CALIF_5" collection
 * @method IN_CONTRATO         setINPROVCALIF6()          Sets the current record's "IN_PROV_CALIF_6" collection
 * @method IN_CONTRATO         setINPROVCALIF7()          Sets the current record's "IN_PROV_CALIF_7" collection
 * @method IN_CONTRATO         setINPROVCALIF8()          Sets the current record's "IN_PROV_CALIF_8" collection
 * @method IN_CONTRATO         setINPROVCALIF9()          Sets the current record's "IN_PROV_CALIF_9" collection
 * @method IN_CONTRATO         setINDETCONTRATO()         Sets the current record's "IN_DET_CONTRATO" collection
 * @method IN_CONTRATO         setINDETCONTRATO2()        Sets the current record's "IN_DET_CONTRATO_2" collection
 * @method IN_CONTRATO         setINDETCONTRATO3()        Sets the current record's "IN_DET_CONTRATO_3" collection
 * @method IN_CONTRATO         setINDETCONTRATO4()        Sets the current record's "IN_DET_CONTRATO_4" collection
 * @method IN_CONTRATO         setINDETCONTRATO5()        Sets the current record's "IN_DET_CONTRATO_5" collection
 * @method IN_CONTRATO         setINDETCONTRATO6()        Sets the current record's "IN_DET_CONTRATO_6" collection
 * @method IN_CONTRATO         setINDETCONTRATO7()        Sets the current record's "IN_DET_CONTRATO_7" collection
 * @method IN_CONTRATO         setINDETCONTRATO8()        Sets the current record's "IN_DET_CONTRATO_8" collection
 * @method IN_CONTRATO         setINDETCONTRATO9()        Sets the current record's "IN_DET_CONTRATO_9" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV()       Sets the current record's "IN_CONTRATO_MOV_DV" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV2()      Sets the current record's "IN_CONTRATO_MOV_DV_2" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV3()      Sets the current record's "IN_CONTRATO_MOV_DV_3" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV4()      Sets the current record's "IN_CONTRATO_MOV_DV_4" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV5()      Sets the current record's "IN_CONTRATO_MOV_DV_5" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV6()      Sets the current record's "IN_CONTRATO_MOV_DV_6" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV7()      Sets the current record's "IN_CONTRATO_MOV_DV_7" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV8()      Sets the current record's "IN_CONTRATO_MOV_DV_8" collection
 * @method IN_CONTRATO         setINCONTRATOMOVDV9()      Sets the current record's "IN_CONTRATO_MOV_DV_9" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON()      Sets the current record's "IN_CONTRATO_MOV_CON" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON2()     Sets the current record's "IN_CONTRATO_MOV_CON_2" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON3()     Sets the current record's "IN_CONTRATO_MOV_CON_3" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON4()     Sets the current record's "IN_CONTRATO_MOV_CON_4" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON5()     Sets the current record's "IN_CONTRATO_MOV_CON_5" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON6()     Sets the current record's "IN_CONTRATO_MOV_CON_6" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON7()     Sets the current record's "IN_CONTRATO_MOV_CON_7" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON8()     Sets the current record's "IN_CONTRATO_MOV_CON_8" collection
 * @method IN_CONTRATO         setINCONTRATOMOVCON9()     Sets the current record's "IN_CONTRATO_MOV_CON_9" collection
 * @method IN_CONTRATO         setINCDPCONT()             Sets the current record's "IN_CDP_CONT" collection
 * @method IN_CONTRATO         setINCDPCONT2()            Sets the current record's "IN_CDP_CONT_2" collection
 * @method IN_CONTRATO         setINCDPCONT3()            Sets the current record's "IN_CDP_CONT_3" collection
 * @method IN_CONTRATO         setINCDPCONT4()            Sets the current record's "IN_CDP_CONT_4" collection
 * @method IN_CONTRATO         setINCDPCONT5()            Sets the current record's "IN_CDP_CONT_5" collection
 * @method IN_CONTRATO         setINCDPCONT6()            Sets the current record's "IN_CDP_CONT_6" collection
 * @method IN_CONTRATO         setINCDPCONT7()            Sets the current record's "IN_CDP_CONT_7" collection
 * @method IN_CONTRATO         setINCDPCONT8()            Sets the current record's "IN_CDP_CONT_8" collection
 * @method IN_CONTRATO         setINCDPCONT9()            Sets the current record's "IN_CDP_CONT_9" collection
 * 
 * @package    controlComisiones
 * @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(
             'notnull' => false,
             '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(
             '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();
        $this->hasOne('IN_COTIZACION', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cotizacion'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_2', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cotizacion'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_3', array(
             'local' => 'id_cotizacion',
             'foreign' => 'id_cotizacion'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_4', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_5', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_6', array(
             'local' => 'id_cotizacion',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_7', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_8', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_COTIZACION as IN_COTIZACION_9', array(
             'local' => 'id_cotizacion',
             'foreign' => 'id_vigencia'));

        $this->hasOne('INTERCEROS', array(
             'local' => 'id_mae_ter',
             'foreign' => 'id_mae_ter'));

        $this->hasOne('IN_SOLI_COMPRA', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_soli_compra'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_12', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_soli_compra'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_13', array(
             'local' => 'id_soli_compra',
             'foreign' => 'id_soli_compra'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_14', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_15', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_16', array(
             'local' => 'id_soli_compra',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_17', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_18', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_SOLI_COMPRA as IN_SOLI_COMPRA_19', array(
             'local' => 'id_soli_compra',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_PROV_CALIF', array(
             'local' => 'id_contrato',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_2', array(
             'local' => 'id_contrato',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_3', array(
             'local' => 'id_contrato',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_4', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_5', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_6', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_7', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_8', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_PROV_CALIF as IN_PROV_CALIF_9', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_DET_CONTRATO', array(
             'local' => 'id_contrato',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_2', array(
             'local' => 'id_contrato',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_3', array(
             'local' => 'id_contrato',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_4', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_5', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_6', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_7', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_8', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_DET_CONTRATO as IN_DET_CONTRATO_9', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CONTRATO_MOV_DV', array(
             'local' => 'id_contrato',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_2', array(
             'local' => 'id_contrato',
             'foreign' => 'id_vigencia_cont'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_3', array(
             'local' => 'id_contrato',
             'foreign' => 'id_cen_op_cont'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_4', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_5', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia_cont'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_6', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op_cont'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_7', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_8', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia_cont'));

        $this->hasMany('IN_CONTRATO_MOV_DV as IN_CONTRATO_MOV_DV_9', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op_cont'));

        $this->hasMany('IN_CONTRATO_MOV_CON', array(
             'local' => 'id_contrato',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_2', array(
             'local' => 'id_contrato',
             'foreign' => 'id_vigencia_cont'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_3', array(
             'local' => 'id_contrato',
             'foreign' => 'id_cen_op_cont'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_4', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_5', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia_cont'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_6', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op_cont'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_7', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_8', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia_cont'));

        $this->hasMany('IN_CONTRATO_MOV_CON as IN_CONTRATO_MOV_CON_9', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op_cont'));

        $this->hasMany('IN_CDP_CONT', array(
             'local' => 'id_contrato',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_2', array(
             'local' => 'id_contrato',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_3', array(
             'local' => 'id_contrato',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_4', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_5', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_6', array(
             'local' => 'id_vigencia',
             'foreign' => 'id_cen_op'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_7', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_contrato'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_8', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_vigencia'));

        $this->hasMany('IN_CDP_CONT as IN_CDP_CONT_9', array(
             'local' => 'id_cen_op',
             'foreign' => 'id_cen_op'));
    }
}