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

/**
 * BaseIN_CONTRATO_MOV_CON
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_contrato
 * @property integer $id_vigencia_cont
 * @property integer $id_cen_op_cont
 * @property integer $id_movimientos_con
 * @property integer $id_vigencia_mov
 * @property integer $id_cen_op_mov
 * @property integer $id_tipo_movimiento
 * @property IN_CONTRATO $IN_CONTRATO
 * @property IN_CONTRATO $IN_CONTRATO_2
 * @property IN_CONTRATO $IN_CONTRATO_3
 * @property IN_CONTRATO $IN_CONTRATO_4
 * @property IN_CONTRATO $IN_CONTRATO_5
 * @property IN_CONTRATO $IN_CONTRATO_6
 * @property IN_CONTRATO $IN_CONTRATO_7
 * @property IN_CONTRATO $IN_CONTRATO_8
 * @property IN_CONTRATO $IN_CONTRATO_9
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_11
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_12
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_13
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_14
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_15
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_16
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_17
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_18
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_19
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_20
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_21
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_22
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_23
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_24
 * @property IN_MOVIMIENTOS_CON $IN_MOVIMIENTOS_CON_25
 * 
 * @method integer             getIdContrato()            Returns the current record's "id_contrato" value
 * @method integer             getIdVigenciaCont()        Returns the current record's "id_vigencia_cont" value
 * @method integer             getIdCenOpCont()           Returns the current record's "id_cen_op_cont" value
 * @method integer             getIdMovimientosCon()      Returns the current record's "id_movimientos_con" value
 * @method integer             getIdVigenciaMov()         Returns the current record's "id_vigencia_mov" value
 * @method integer             getIdCenOpMov()            Returns the current record's "id_cen_op_mov" value
 * @method integer             getIdTipoMovimiento()      Returns the current record's "id_tipo_movimiento" value
 * @method IN_CONTRATO         getINCONTRATO()            Returns the current record's "IN_CONTRATO" value
 * @method IN_CONTRATO         getINCONTRATO2()           Returns the current record's "IN_CONTRATO_2" value
 * @method IN_CONTRATO         getINCONTRATO3()           Returns the current record's "IN_CONTRATO_3" value
 * @method IN_CONTRATO         getINCONTRATO4()           Returns the current record's "IN_CONTRATO_4" value
 * @method IN_CONTRATO         getINCONTRATO5()           Returns the current record's "IN_CONTRATO_5" value
 * @method IN_CONTRATO         getINCONTRATO6()           Returns the current record's "IN_CONTRATO_6" value
 * @method IN_CONTRATO         getINCONTRATO7()           Returns the current record's "IN_CONTRATO_7" value
 * @method IN_CONTRATO         getINCONTRATO8()           Returns the current record's "IN_CONTRATO_8" value
 * @method IN_CONTRATO         getINCONTRATO9()           Returns the current record's "IN_CONTRATO_9" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON()      Returns the current record's "IN_MOVIMIENTOS_CON" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON11()    Returns the current record's "IN_MOVIMIENTOS_CON_11" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON12()    Returns the current record's "IN_MOVIMIENTOS_CON_12" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON13()    Returns the current record's "IN_MOVIMIENTOS_CON_13" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON14()    Returns the current record's "IN_MOVIMIENTOS_CON_14" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON15()    Returns the current record's "IN_MOVIMIENTOS_CON_15" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON16()    Returns the current record's "IN_MOVIMIENTOS_CON_16" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON17()    Returns the current record's "IN_MOVIMIENTOS_CON_17" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON18()    Returns the current record's "IN_MOVIMIENTOS_CON_18" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON19()    Returns the current record's "IN_MOVIMIENTOS_CON_19" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON20()    Returns the current record's "IN_MOVIMIENTOS_CON_20" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON21()    Returns the current record's "IN_MOVIMIENTOS_CON_21" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON22()    Returns the current record's "IN_MOVIMIENTOS_CON_22" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON23()    Returns the current record's "IN_MOVIMIENTOS_CON_23" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON24()    Returns the current record's "IN_MOVIMIENTOS_CON_24" value
 * @method IN_MOVIMIENTOS_CON  getINMOVIMIENTOSCON25()    Returns the current record's "IN_MOVIMIENTOS_CON_25" value
 * @method IN_CONTRATO_MOV_CON setIdContrato()            Sets the current record's "id_contrato" value
 * @method IN_CONTRATO_MOV_CON setIdVigenciaCont()        Sets the current record's "id_vigencia_cont" value
 * @method IN_CONTRATO_MOV_CON setIdCenOpCont()           Sets the current record's "id_cen_op_cont" value
 * @method IN_CONTRATO_MOV_CON setIdMovimientosCon()      Sets the current record's "id_movimientos_con" value
 * @method IN_CONTRATO_MOV_CON setIdVigenciaMov()         Sets the current record's "id_vigencia_mov" value
 * @method IN_CONTRATO_MOV_CON setIdCenOpMov()            Sets the current record's "id_cen_op_mov" value
 * @method IN_CONTRATO_MOV_CON setIdTipoMovimiento()      Sets the current record's "id_tipo_movimiento" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO()            Sets the current record's "IN_CONTRATO" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO2()           Sets the current record's "IN_CONTRATO_2" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO3()           Sets the current record's "IN_CONTRATO_3" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO4()           Sets the current record's "IN_CONTRATO_4" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO5()           Sets the current record's "IN_CONTRATO_5" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO6()           Sets the current record's "IN_CONTRATO_6" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO7()           Sets the current record's "IN_CONTRATO_7" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO8()           Sets the current record's "IN_CONTRATO_8" value
 * @method IN_CONTRATO_MOV_CON setINCONTRATO9()           Sets the current record's "IN_CONTRATO_9" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON()      Sets the current record's "IN_MOVIMIENTOS_CON" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON11()    Sets the current record's "IN_MOVIMIENTOS_CON_11" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON12()    Sets the current record's "IN_MOVIMIENTOS_CON_12" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON13()    Sets the current record's "IN_MOVIMIENTOS_CON_13" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON14()    Sets the current record's "IN_MOVIMIENTOS_CON_14" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON15()    Sets the current record's "IN_MOVIMIENTOS_CON_15" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON16()    Sets the current record's "IN_MOVIMIENTOS_CON_16" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON17()    Sets the current record's "IN_MOVIMIENTOS_CON_17" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON18()    Sets the current record's "IN_MOVIMIENTOS_CON_18" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON19()    Sets the current record's "IN_MOVIMIENTOS_CON_19" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON20()    Sets the current record's "IN_MOVIMIENTOS_CON_20" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON21()    Sets the current record's "IN_MOVIMIENTOS_CON_21" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON22()    Sets the current record's "IN_MOVIMIENTOS_CON_22" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON23()    Sets the current record's "IN_MOVIMIENTOS_CON_23" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON24()    Sets the current record's "IN_MOVIMIENTOS_CON_24" value
 * @method IN_CONTRATO_MOV_CON setINMOVIMIENTOSCON25()    Sets the current record's "IN_MOVIMIENTOS_CON_25" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_CONTRATO_MOV_CON extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_CONTRATO_MOV_CON');
        $this->hasColumn('id_contrato', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia_cont', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op_cont', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_movimientos_con', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia_mov', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op_mov', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_movimiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('IN_CONTRATO', array(
             'local' => 'id_contrato',
             'foreign' => 'id_contrato'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_2', array(
             'local' => 'id_vigencia_cont',
             'foreign' => 'id_contrato'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_3', array(
             'local' => 'id_cen_op_cont',
             'foreign' => 'id_contrato'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_4', array(
             'local' => 'id_contrato',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_5', array(
             'local' => 'id_vigencia_cont',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_6', array(
             'local' => 'id_cen_op_cont',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_7', array(
             'local' => 'id_contrato',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_8', array(
             'local' => 'id_vigencia_cont',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_CONTRATO as IN_CONTRATO_9', array(
             'local' => 'id_cen_op_cont',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_MOVIMIENTOS_CON', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_movimientos_con'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_11', array(
             'local' => 'id_vigencia_mov',
             'foreign' => 'id_movimientos_con'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_12', array(
             'local' => 'id_cen_op_mov',
             'foreign' => 'id_movimientos_con'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_13', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_movimientos_con'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_14', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_15', array(
             'local' => 'id_vigencia_mov',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_16', array(
             'local' => 'id_cen_op_mov',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_17', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_vigencia'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_18', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_19', array(
             'local' => 'id_vigencia_mov',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_20', array(
             'local' => 'id_cen_op_mov',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_21', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_cen_op'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_22', array(
             'local' => 'id_movimientos_con',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_23', array(
             'local' => 'id_vigencia_mov',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_24', array(
             'local' => 'id_cen_op_mov',
             'foreign' => 'id_tipo_movimiento'));

        $this->hasOne('IN_MOVIMIENTOS_CON as IN_MOVIMIENTOS_CON_25', array(
             'local' => 'id_tipo_movimiento',
             'foreign' => 'id_tipo_movimiento'));
    }
}