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

/**
 * BaseCOM_PLAN_COMISIONADOS_PLACOM
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $nitocc
 * @property integer $id_plan_comisiones
 * @property integer $vigencia
 * @property integer $id_transporte
 * @property decimal $sueldo
 * @property integer $cargo
 * @property timestamp $fecha_salida
 * @property integer $dias
 * @property string $codreg
 * @property decimal $total_comision
 * @property integer $estado
 * @property timestamp $fecha_regreso
 * @property decimal $gastos_taxis
 * @property integer $dias_manu
 * @property string $tipter
 * @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 TRANSPORTES $TRANSPORTES
 * @property TERCEROS $TERCEROS
 * @property REGIONALES $REGIONALES
 * @property COM_TIPO_COMISIONADO $COM_TIPO_COMISIONADO
 * 
 * @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                      getIdTransporte()          Returns the current record's "id_transporte" value
 * @method decimal                      getSueldo()                Returns the current record's "sueldo" value
 * @method integer                      getCargo()                 Returns the current record's "cargo" value
 * @method timestamp                    getFechaSalida()           Returns the current record's "fecha_salida" value
 * @method integer                      getDias()                  Returns the current record's "dias" value
 * @method string                       getCodreg()                Returns the current record's "codreg" value
 * @method decimal                      getTotalComision()         Returns the current record's "total_comision" value
 * @method integer                      getEstado()                Returns the current record's "estado" value
 * @method timestamp                    getFechaRegreso()          Returns the current record's "fecha_regreso" value
 * @method decimal                      getGastosTaxis()           Returns the current record's "gastos_taxis" value
 * @method integer                      getDiasManu()              Returns the current record's "dias_manu" value
 * @method string                       getTipter()                Returns the current record's "tipter" 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 TRANSPORTES                  getTRANSPORTES()           Returns the current record's "TRANSPORTES" value
 * @method TERCEROS                     getTERCEROS()              Returns the current record's "TERCEROS" value
 * @method REGIONALES                   getREGIONALES()            Returns the current record's "REGIONALES" value
 * @method COM_TIPO_COMISIONADO         getCOMTIPOCOMISIONADO()    Returns the current record's "COM_TIPO_COMISIONADO" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setNitocc()                Sets the current record's "nitocc" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setIdPlanComisiones()      Sets the current record's "id_plan_comisiones" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setVigencia()              Sets the current record's "vigencia" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setIdTransporte()          Sets the current record's "id_transporte" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setSueldo()                Sets the current record's "sueldo" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setCargo()                 Sets the current record's "cargo" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setFechaSalida()           Sets the current record's "fecha_salida" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setDias()                  Sets the current record's "dias" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setCodreg()                Sets the current record's "codreg" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setTotalComision()         Sets the current record's "total_comision" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setEstado()                Sets the current record's "estado" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setFechaRegreso()          Sets the current record's "fecha_regreso" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setGastosTaxis()           Sets the current record's "gastos_taxis" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setDiasManu()              Sets the current record's "dias_manu" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setTipter()                Sets the current record's "tipter" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setCOMPLANCOMISIONES()     Sets the current record's "COM_PLAN_COMISIONES" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setCOMPLANCOMISIONES2()    Sets the current record's "COM_PLAN_COMISIONES_2" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setCOMPLANCOMISIONES3()    Sets the current record's "COM_PLAN_COMISIONES_3" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setCOMPLANCOMISIONES4()    Sets the current record's "COM_PLAN_COMISIONES_4" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setTRANSPORTES()           Sets the current record's "TRANSPORTES" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setTERCEROS()              Sets the current record's "TERCEROS" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setREGIONALES()            Sets the current record's "REGIONALES" value
 * @method COM_PLAN_COMISIONADOS_PLACOM setCOMTIPOCOMISIONADO()    Sets the current record's "COM_TIPO_COMISIONADO" 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_CONTRATADO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('COM_TRANS_CONTRATADO');
        $this->hasColumn('id_trans_contratado', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_plan_comisiones', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuario_log', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_solicitud', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('codmun_origen', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_depto_origen', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('inicio_ruta', 'string', 250, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('fecha_salida', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('hora_salida', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_llegada', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('hora_llegada', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('total_dias', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_vehiculo', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('traslada_equipos', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_tipo_servicio', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_coordinador_zonal', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('observaciones', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('pernocta', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_clasif_comision', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));              
    }

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

    }
}