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

/**
 * BaseDATOS_COMPANIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $nombre_empresa
 * @property string $abreviatura
 * @property string $direccion
 * @property string $telefono
 * @property string $nit
 * @property integer $pais
 * @property integer $ciudad
 * @property string $representante_legal
 * @property string $seccion_presupuestal
 * @property string $correo_electronico
 * @property string $pagina_web
 * @property string $fax
 * @property string $jefepresupuesto
 * @property string $correo_envio
 * @property integer $jefe_financiero
 * @property string $cargo_financiero
 * @property integer $aplica_reteiva
 * @property integer $jefe_cobro
 * @property integer $num_comisiones
 * @property integer $id_cen_op
 * @property integer $porcentaje_viaticos
 * @property timestamp $fecha_cierre
 * 
 * @method integer        getId()                   Returns the current record's "id" value
 * @method string         getNombreEmpresa()        Returns the current record's "nombre_empresa" value
 * @method string         getAbreviatura()          Returns the current record's "abreviatura" value
 * @method string         getDireccion()            Returns the current record's "direccion" value
 * @method string         getTelefono()             Returns the current record's "telefono" value
 * @method string         getNit()                  Returns the current record's "nit" value
 * @method integer        getPais()                 Returns the current record's "pais" value
 * @method integer        getCiudad()               Returns the current record's "ciudad" value
 * @method string         getRepresentanteLegal()   Returns the current record's "representante_legal" value
 * @method string         getSeccionPresupuestal()  Returns the current record's "seccion_presupuestal" value
 * @method string         getCorreoElectronico()    Returns the current record's "correo_electronico" value
 * @method string         getPaginaWeb()            Returns the current record's "pagina_web" value
 * @method string         getFax()                  Returns the current record's "fax" value
 * @method string         getJefepresupuesto()      Returns the current record's "jefepresupuesto" value
 * @method string         getCorreoEnvio()          Returns the current record's "correo_envio" value
 * @method integer        getJefeFinanciero()       Returns the current record's "jefe_financiero" value
 * @method string         getCargoFinanciero()      Returns the current record's "cargo_financiero" value
 * @method integer        getAplicaReteiva()        Returns the current record's "aplica_reteiva" value
 * @method integer        getJefeCobro()            Returns the current record's "jefe_cobro" value
 * @method integer        getNumComisiones()        Returns the current record's "num_comisiones" value
 * @method integer        getIdCenOp()              Returns the current record's "id_cen_op" value
 * @method integer        getPorcentajeViaticos()   Returns the current record's "porcentaje_viaticos" value
 * @method timestamp      getFechaCierre()          Returns the current record's "fecha_cierre" value
 * @method DATOS_COMPANIA setId()                   Sets the current record's "id" value
 * @method DATOS_COMPANIA setNombreEmpresa()        Sets the current record's "nombre_empresa" value
 * @method DATOS_COMPANIA setAbreviatura()          Sets the current record's "abreviatura" value
 * @method DATOS_COMPANIA setDireccion()            Sets the current record's "direccion" value
 * @method DATOS_COMPANIA setTelefono()             Sets the current record's "telefono" value
 * @method DATOS_COMPANIA setNit()                  Sets the current record's "nit" value
 * @method DATOS_COMPANIA setPais()                 Sets the current record's "pais" value
 * @method DATOS_COMPANIA setCiudad()               Sets the current record's "ciudad" value
 * @method DATOS_COMPANIA setRepresentanteLegal()   Sets the current record's "representante_legal" value
 * @method DATOS_COMPANIA setSeccionPresupuestal()  Sets the current record's "seccion_presupuestal" value
 * @method DATOS_COMPANIA setCorreoElectronico()    Sets the current record's "correo_electronico" value
 * @method DATOS_COMPANIA setPaginaWeb()            Sets the current record's "pagina_web" value
 * @method DATOS_COMPANIA setFax()                  Sets the current record's "fax" value
 * @method DATOS_COMPANIA setJefepresupuesto()      Sets the current record's "jefepresupuesto" value
 * @method DATOS_COMPANIA setCorreoEnvio()          Sets the current record's "correo_envio" value
 * @method DATOS_COMPANIA setJefeFinanciero()       Sets the current record's "jefe_financiero" value
 * @method DATOS_COMPANIA setCargoFinanciero()      Sets the current record's "cargo_financiero" value
 * @method DATOS_COMPANIA setAplicaReteiva()        Sets the current record's "aplica_reteiva" value
 * @method DATOS_COMPANIA setJefeCobro()            Sets the current record's "jefe_cobro" value
 * @method DATOS_COMPANIA setNumComisiones()        Sets the current record's "num_comisiones" value
 * @method DATOS_COMPANIA setIdCenOp()              Sets the current record's "id_cen_op" value
 * @method DATOS_COMPANIA setPorcentajeViaticos()   Sets the current record's "porcentaje_viaticos" value
 * @method DATOS_COMPANIA setFechaCierre()          Sets the current record's "fecha_cierre" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseDATOS_COMPANIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('DATOS_COMPANIA');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('nombre_empresa', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('abreviatura', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('direccion', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('telefono', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nit', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('pais', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('ciudad', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('representante_legal', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('seccion_presupuestal', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('correo_electronico', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('pagina_web', 'string', 200, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('fax', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('jefepresupuesto', 'string', 120, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 120,
             ));
        $this->hasColumn('correo_envio', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('jefe_financiero', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cargo_financiero', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('aplica_reteiva', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('jefe_cobro', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_comisiones', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('porcentaje_viaticos', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_cierre', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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