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

/**
 * BaseCA_EDADES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_edades
 * @property string $descripcion
 * @property integer $num_bloques
 * @property integer $frecuencia
 * @property integer $estado
 * 
 * @method integer   getIdEdades()    Returns the current record's "id_edades" value
 * @method string    getDescripcion() Returns the current record's "descripcion" value
 * @method integer   getNumBloques()  Returns the current record's "num_bloques" value
 * @method integer   getFrecuencia()  Returns the current record's "frecuencia" value
 * @method integer   getEstado()      Returns the current record's "estado" value
 * @method CA_EDADES setIdEdades()    Sets the current record's "id_edades" value
 * @method CA_EDADES setDescripcion() Sets the current record's "descripcion" value
 * @method CA_EDADES setNumBloques()  Sets the current record's "num_bloques" value
 * @method CA_EDADES setFrecuencia()  Sets the current record's "frecuencia" value
 * @method CA_EDADES setEstado()      Sets the current record's "estado" value
 * 
 * @package    nomina
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_EDADES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_EDADES');
        $this->hasColumn('id_edades', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 128, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('num_bloques', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('frecuencia', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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