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

/**
 * BaseNO_TIPO_APORTE
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_aporte
 * @property string $codigo
 * @property string $descripcion
 * @property integer $afecta_riesgo
 * 
 * @method integer        getIdTipoAporte()   Returns the current record's "id_tipo_aporte" value
 * @method string         getCodigo()         Returns the current record's "codigo" value
 * @method string         getDescripcion()    Returns the current record's "descripcion" value
 * @method integer        getAfectaRiesgo()   Returns the current record's "afecta_riesgo" value
 * @method NO_TIPO_APORTE setIdTipoAporte()   Sets the current record's "id_tipo_aporte" value
 * @method NO_TIPO_APORTE setCodigo()         Sets the current record's "codigo" value
 * @method NO_TIPO_APORTE setDescripcion()    Sets the current record's "descripcion" value
 * @method NO_TIPO_APORTE setAfectaRiesgo()   Sets the current record's "afecta_riesgo" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_TIPO_APORTE extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_TIPO_APORTE');
        $this->hasColumn('id_tipo_aporte', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('afecta_riesgo', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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