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

/**
 * BaseNVIATICO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $viaticoa
 * @property integer $viaticob
 * @property integer $tipo_tarifa
 * @property integer $rango1
 * @property integer $rango2
 * @property integer $estado
 * 
 * @method integer  getId()          Returns the current record's "id" value
 * @method integer  getViaticoa()    Returns the current record's "viaticoa" value
 * @method integer  getViaticob()    Returns the current record's "viaticob" value
 * @method integer  getTipoTarifa()  Returns the current record's "tipo_tarifa" value
 * @method integer  getRango1()      Returns the current record's "rango1" value
 * @method integer  getRango2()      Returns the current record's "rango2" value
 * @method integer  getEstado()      Returns the current record's "estado" value
 * @method NVIATICO setId()          Sets the current record's "id" value
 * @method NVIATICO setViaticoa()    Sets the current record's "viaticoa" value
 * @method NVIATICO setViaticob()    Sets the current record's "viaticob" value
 * @method NVIATICO setTipoTarifa()  Sets the current record's "tipo_tarifa" value
 * @method NVIATICO setRango1()      Sets the current record's "rango1" value
 * @method NVIATICO setRango2()      Sets the current record's "rango2" value
 * @method NVIATICO setEstado()      Sets the current record's "estado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNVIATICO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NVIATICO');
        $this->hasColumn('id', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('viaticoa', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('viaticob', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('tipo_tarifa', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('rango1', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('rango2', '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,
             ));
    }

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