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

/**
 * BaseMESES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_meses
 * @property string $descripcion
 * @property integer $bimestre
 * @property integer $trimestre
 * @property integer $cuatrimestre
 * @property integer $semestre
 * 
 * @method integer getIdMeses()      Returns the current record's "id_meses" value
 * @method string  getDescripcion()  Returns the current record's "descripcion" value
 * @method integer getBimestre()     Returns the current record's "bimestre" value
 * @method integer getTrimestre()    Returns the current record's "trimestre" value
 * @method integer getCuatrimestre() Returns the current record's "cuatrimestre" value
 * @method integer getSemestre()     Returns the current record's "semestre" value
 * @method MESES   setIdMeses()      Sets the current record's "id_meses" value
 * @method MESES   setDescripcion()  Sets the current record's "descripcion" value
 * @method MESES   setBimestre()     Sets the current record's "bimestre" value
 * @method MESES   setTrimestre()    Sets the current record's "trimestre" value
 * @method MESES   setCuatrimestre() Sets the current record's "cuatrimestre" value
 * @method MESES   setSemestre()     Sets the current record's "semestre" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseMESES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('MESES');
        $this->hasColumn('id_meses', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('bimestre', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('trimestre', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cuatrimestre', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('semestre', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 8,
             ));
    }

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