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

/**
 * BaseNO_TIP_NOV_KA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tip_nov_ka
 * @property string $codigo
 * @property string $descripcion
 * @property integer $id_tipo_contrato
 * @property integer $afecta_antigu
 * @property integer $afecta_alimen
 * @property integer $dias_patrono
 * @property integer $causa_liquidacion
 * @property integer $suspension
 * @property integer $afecta_riesgo
 * 
 * @method integer       getIdTipNovKa()        Returns the current record's "id_tip_nov_ka" value
 * @method string        getCodigo()            Returns the current record's "codigo" value
 * @method string        getDescripcion()       Returns the current record's "descripcion" value
 * @method integer       getIdTipoContrato()    Returns the current record's "id_tipo_contrato" value
 * @method integer       getAfectaAntigu()      Returns the current record's "afecta_antigu" value
 * @method integer       getAfectaAlimen()      Returns the current record's "afecta_alimen" value
 * @method integer       getDiasPatrono()       Returns the current record's "dias_patrono" value
 * @method integer       getCausaLiquidacion()  Returns the current record's "causa_liquidacion" value
 * @method integer       getSuspension()        Returns the current record's "suspension" value
 * @method integer       getAfectaRiesgo()      Returns the current record's "afecta_riesgo" value
 * @method NO_TIP_NOV_KA setIdTipNovKa()        Sets the current record's "id_tip_nov_ka" value
 * @method NO_TIP_NOV_KA setCodigo()            Sets the current record's "codigo" value
 * @method NO_TIP_NOV_KA setDescripcion()       Sets the current record's "descripcion" value
 * @method NO_TIP_NOV_KA setIdTipoContrato()    Sets the current record's "id_tipo_contrato" value
 * @method NO_TIP_NOV_KA setAfectaAntigu()      Sets the current record's "afecta_antigu" value
 * @method NO_TIP_NOV_KA setAfectaAlimen()      Sets the current record's "afecta_alimen" value
 * @method NO_TIP_NOV_KA setDiasPatrono()       Sets the current record's "dias_patrono" value
 * @method NO_TIP_NOV_KA setCausaLiquidacion()  Sets the current record's "causa_liquidacion" value
 * @method NO_TIP_NOV_KA setSuspension()        Sets the current record's "suspension" value
 * @method NO_TIP_NOV_KA 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_TIP_NOV_KA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_TIP_NOV_KA');
        $this->hasColumn('id_tip_nov_ka', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('id_tipo_contrato', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('afecta_antigu', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('afecta_alimen', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('dias_patrono', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('causa_liquidacion', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('suspension', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('afecta_riesgo', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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