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

/**
 * BaseCOMISIONADOS_CONTRATO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_comision
 * @property integer $nitocc
 * @property integer $id_transporte
 * @property integer $sueldo
 * @property integer $cargo
 * @property timestamp $fecha_salida
 * @property integer $dias
 * @property string $codreg
 * @property integer $total_comision
 * @property integer $estado
 * @property timestamp $fecha_regreso
 * @property integer $vigencia
 * @property integer $gastos_taxis
 * @property integer $dias_manu
 * @property integer $nitocc_jefe
 * 
 * @method integer               getIdComision()     Returns the current record's "id_comision" value
 * @method integer               getNitocc()         Returns the current record's "nitocc" value
 * @method integer               getIdTransporte()   Returns the current record's "id_transporte" value
 * @method integer               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 integer               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 integer               getVigencia()       Returns the current record's "vigencia" value
 * @method integer               getGastosTaxis()    Returns the current record's "gastos_taxis" value
 * @method integer               getDiasManu()       Returns the current record's "dias_manu" value
 * @method integer               getNitoccJefe()     Returns the current record's "nitocc_jefe" value
 * @method COMISIONADOS_CONTRATO setIdComision()     Sets the current record's "id_comision" value
 * @method COMISIONADOS_CONTRATO setNitocc()         Sets the current record's "nitocc" value
 * @method COMISIONADOS_CONTRATO setIdTransporte()   Sets the current record's "id_transporte" value
 * @method COMISIONADOS_CONTRATO setSueldo()         Sets the current record's "sueldo" value
 * @method COMISIONADOS_CONTRATO setCargo()          Sets the current record's "cargo" value
 * @method COMISIONADOS_CONTRATO setFechaSalida()    Sets the current record's "fecha_salida" value
 * @method COMISIONADOS_CONTRATO setDias()           Sets the current record's "dias" value
 * @method COMISIONADOS_CONTRATO setCodreg()         Sets the current record's "codreg" value
 * @method COMISIONADOS_CONTRATO setTotalComision()  Sets the current record's "total_comision" value
 * @method COMISIONADOS_CONTRATO setEstado()         Sets the current record's "estado" value
 * @method COMISIONADOS_CONTRATO setFechaRegreso()   Sets the current record's "fecha_regreso" value
 * @method COMISIONADOS_CONTRATO setVigencia()       Sets the current record's "vigencia" value
 * @method COMISIONADOS_CONTRATO setGastosTaxis()    Sets the current record's "gastos_taxis" value
 * @method COMISIONADOS_CONTRATO setDiasManu()       Sets the current record's "dias_manu" value
 * @method COMISIONADOS_CONTRATO setNitoccJefe()     Sets the current record's "nitocc_jefe" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCOMISIONADOS_CONTRATO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('COMISIONADOS_CONTRATO');
        $this->hasColumn('id_comision', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nitocc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_transporte', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('sueldo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cargo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_salida', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('dias', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('codreg', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('total_comision', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_regreso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('gastos_taxis', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('dias_manu', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nitocc_jefe', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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