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

/**
 * BaseCOMISIONES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $codare
 * @property string $tipcomi
 * @property string $codpro
 * @property timestamp $fecha
 * @property string $objetivo
 * @property string $actividad
 * @property string $observa
 * @property timestamp $created_at
 * @property timestamp $update_at
 * @property integer $username
 * @property integer $estado
 * @property integer $activo
 * @property integer $vigencia
 * @property string $justificacion
 * @property string $interrupcion
 * @property integer $id_original
 * @property string $destinos_add
 * @property integer $exterior
 * @property integer $aplica_porcentaje
 * @property decimal $trm
 * 
 * @method integer    getId()                Returns the current record's "id" value
 * @method string     getCodare()            Returns the current record's "codare" value
 * @method string     getTipcomi()           Returns the current record's "tipcomi" value
 * @method string     getCodpro()            Returns the current record's "codpro" value
 * @method timestamp  getFecha()             Returns the current record's "fecha" value
 * @method string     getObjetivo()          Returns the current record's "objetivo" value
 * @method string     getActividad()         Returns the current record's "actividad" value
 * @method string     getObserva()           Returns the current record's "observa" value
 * @method timestamp  getCreatedAt()         Returns the current record's "created_at" value
 * @method timestamp  getUpdateAt()          Returns the current record's "update_at" value
 * @method integer    getUsername()          Returns the current record's "username" value
 * @method integer    getEstado()            Returns the current record's "estado" value
 * @method integer    getActivo()            Returns the current record's "activo" value
 * @method integer    getVigencia()          Returns the current record's "vigencia" value
 * @method string     getJustificacion()     Returns the current record's "justificacion" value
 * @method string     getInterrupcion()      Returns the current record's "interrupcion" value
 * @method integer    getIdOriginal()        Returns the current record's "id_original" value
 * @method string     getDestinosAdd()       Returns the current record's "destinos_add" value
 * @method integer    getExterior()          Returns the current record's "exterior" value
 * @method integer    getAplicaPorcentaje()  Returns the current record's "aplica_porcentaje" value
 * @method decimal    getTrm()               Returns the current record's "trm" value
 * @method COMISIONES setId()                Sets the current record's "id" value
 * @method COMISIONES setCodare()            Sets the current record's "codare" value
 * @method COMISIONES setTipcomi()           Sets the current record's "tipcomi" value
 * @method COMISIONES setCodpro()            Sets the current record's "codpro" value
 * @method COMISIONES setFecha()             Sets the current record's "fecha" value
 * @method COMISIONES setObjetivo()          Sets the current record's "objetivo" value
 * @method COMISIONES setActividad()         Sets the current record's "actividad" value
 * @method COMISIONES setObserva()           Sets the current record's "observa" value
 * @method COMISIONES setCreatedAt()         Sets the current record's "created_at" value
 * @method COMISIONES setUpdateAt()          Sets the current record's "update_at" value
 * @method COMISIONES setUsername()          Sets the current record's "username" value
 * @method COMISIONES setEstado()            Sets the current record's "estado" value
 * @method COMISIONES setActivo()            Sets the current record's "activo" value
 * @method COMISIONES setVigencia()          Sets the current record's "vigencia" value
 * @method COMISIONES setJustificacion()     Sets the current record's "justificacion" value
 * @method COMISIONES setInterrupcion()      Sets the current record's "interrupcion" value
 * @method COMISIONES setIdOriginal()        Sets the current record's "id_original" value
 * @method COMISIONES setDestinosAdd()       Sets the current record's "destinos_add" value
 * @method COMISIONES setExterior()          Sets the current record's "exterior" value
 * @method COMISIONES setAplicaPorcentaje()  Sets the current record's "aplica_porcentaje" value
 * @method COMISIONES setTrm()               Sets the current record's "trm" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCOMISIONES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('COMISIONES');
        $this->hasColumn('id', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('codare', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipcomi', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('codpro', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('objetivo', 'string', 3000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3000,
             ));
        $this->hasColumn('actividad', 'string', 3000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 3000,
             ));
        $this->hasColumn('observa', 'string', 2000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 2000,
             ));
        $this->hasColumn('created_at', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('update_at', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('username', '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('activo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('vigencia', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('justificacion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('interrupcion', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 1,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_original', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('destinos_add', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('exterior', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('aplica_porcentaje', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('trm', 'decimal', 20, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 20,
             ));
    }

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