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

/**
 * BaseNO_CESANTIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cesantia
 * @property integer $id_periodo
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_concep_nomina
 * @property decimal $valor_liquidado
 * @property integer $num_dias
 * @property timestamp $fecha_ingreso
 * @property timestamp $fecha_termina
 * @property integer $valor_base
 * @property decimal $valor_consolidado
 * @property decimal $valor_aplicado
 * @property decimal $valor_ajuste
 * @property integer $consolidado
 * 
 * @method integer     getIdCesantia()        Returns the current record's "id_cesantia" value
 * @method integer     getIdPeriodo()         Returns the current record's "id_periodo" value
 * @method integer     getIdTipoDoc()         Returns the current record's "id_tipo_doc" value
 * @method string      getNumDoc()            Returns the current record's "num_doc" value
 * @method integer     getIdConcepNomina()    Returns the current record's "id_concep_nomina" value
 * @method decimal     getValorLiquidado()    Returns the current record's "valor_liquidado" value
 * @method integer     getNumDias()           Returns the current record's "num_dias" value
 * @method timestamp   getFechaIngreso()      Returns the current record's "fecha_ingreso" value
 * @method timestamp   getFechaTermina()      Returns the current record's "fecha_termina" value
 * @method integer     getValorBase()         Returns the current record's "valor_base" value
 * @method decimal     getValorConsolidado()  Returns the current record's "valor_consolidado" value
 * @method decimal     getValorAplicado()     Returns the current record's "valor_aplicado" value
 * @method decimal     getValorAjuste()       Returns the current record's "valor_ajuste" value
 * @method integer     getConsolidado()       Returns the current record's "consolidado" value
 * @method NO_CESANTIA setIdCesantia()        Sets the current record's "id_cesantia" value
 * @method NO_CESANTIA setIdPeriodo()         Sets the current record's "id_periodo" value
 * @method NO_CESANTIA setIdTipoDoc()         Sets the current record's "id_tipo_doc" value
 * @method NO_CESANTIA setNumDoc()            Sets the current record's "num_doc" value
 * @method NO_CESANTIA setIdConcepNomina()    Sets the current record's "id_concep_nomina" value
 * @method NO_CESANTIA setValorLiquidado()    Sets the current record's "valor_liquidado" value
 * @method NO_CESANTIA setNumDias()           Sets the current record's "num_dias" value
 * @method NO_CESANTIA setFechaIngreso()      Sets the current record's "fecha_ingreso" value
 * @method NO_CESANTIA setFechaTermina()      Sets the current record's "fecha_termina" value
 * @method NO_CESANTIA setValorBase()         Sets the current record's "valor_base" value
 * @method NO_CESANTIA setValorConsolidado()  Sets the current record's "valor_consolidado" value
 * @method NO_CESANTIA setValorAplicado()     Sets the current record's "valor_aplicado" value
 * @method NO_CESANTIA setValorAjuste()       Sets the current record's "valor_ajuste" value
 * @method NO_CESANTIA setConsolidado()       Sets the current record's "consolidado" 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_CESANTIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CESANTIA');
        $this->hasColumn('id_cesantia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_periodo', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_concep_nomina', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_liquidado', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('num_dias', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_ingreso', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_termina', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor_base', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('valor_consolidado', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_aplicado', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('valor_ajuste', 'decimal', 18, array(
             'notnull' => false,
             'type' => 'decimal',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 18,
             ));
        $this->hasColumn('consolidado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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