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

/**
 * BaseCOM_TRANS_CONTRA_DESTINO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $nitocc
 * @property integer $id_plan_comisiones
 * @property integer $vigencia
 * @property integer $codmun
 * @property integer $orden
 * @property integer $estado
 * @property integer $id_transporte
 * @property COM_PLAN_COMISIONES $COM_PLAN_COMISIONES
 * @property COM_PLAN_COMISIONES $COM_PLAN_COMISIONES_2
 * @property COM_PLAN_COMISIONES $COM_PLAN_COMISIONES_3
 * @property COM_PLAN_COMISIONES $COM_PLAN_COMISIONES_4
 * @property TERCEROS $TERCEROS
 * @property TRANSPORTES $TRANSPORTES
 * @property MUNICIPIOS $MUNICIPIOS
 * 
 * @method integer                        getNitocc()                Returns the current record's "nitocc" value
 * @method integer                        getIdPlanComisiones()      Returns the current record's "id_plan_comisiones" value
 * @method integer                        getVigencia()              Returns the current record's "vigencia" value
 * @method integer                        getCodmun()                Returns the current record's "codmun" value
 * @method integer                        getOrden()                 Returns the current record's "orden" value
 * @method integer                        getEstado()                Returns the current record's "estado" value
 * @method integer                        getIdTransporte()          Returns the current record's "id_transporte" value
 * @method COM_PLAN_COMISIONES            getCOMPLANCOMISIONES()     Returns the current record's "COM_PLAN_COMISIONES" value
 * @method COM_PLAN_COMISIONES            getCOMPLANCOMISIONES2()    Returns the current record's "COM_PLAN_COMISIONES_2" value
 * @method COM_PLAN_COMISIONES            getCOMPLANCOMISIONES3()    Returns the current record's "COM_PLAN_COMISIONES_3" value
 * @method COM_PLAN_COMISIONES            getCOMPLANCOMISIONES4()    Returns the current record's "COM_PLAN_COMISIONES_4" value
 * @method TERCEROS                       getTERCEROS()              Returns the current record's "TERCEROS" value
 * @method TRANSPORTES                    getTRANSPORTES()           Returns the current record's "TRANSPORTES" value
 * @method MUNICIPIOS                     getMUNICIPIOS()            Returns the current record's "MUNICIPIOS" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setNitocc()                Sets the current record's "nitocc" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setIdPlanComisiones()      Sets the current record's "id_plan_comisiones" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setVigencia()              Sets the current record's "vigencia" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setCodmun()                Sets the current record's "codmun" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setOrden()                 Sets the current record's "orden" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setEstado()                Sets the current record's "estado" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setIdTransporte()          Sets the current record's "id_transporte" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setCOMPLANCOMISIONES()     Sets the current record's "COM_PLAN_COMISIONES" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setCOMPLANCOMISIONES2()    Sets the current record's "COM_PLAN_COMISIONES_2" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setCOMPLANCOMISIONES3()    Sets the current record's "COM_PLAN_COMISIONES_3" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setCOMPLANCOMISIONES4()    Sets the current record's "COM_PLAN_COMISIONES_4" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setTERCEROS()              Sets the current record's "TERCEROS" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setTRANSPORTES()           Sets the current record's "TRANSPORTES" value
 * @method COM_PLAN_DESTINOS_COMISIONADOS setMUNICIPIOS()            Sets the current record's "MUNICIPIOS" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseCOM_TRANS_CONTRA_PASAJERO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('COM_TRANS_CONTRA_PASAJERO');
        $this->hasColumn('id_trans_contra_pasajero', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_trans_contratado', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));

        $this->hasColumn('nitocc', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('lider', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('celular', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        
    }

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