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

/**
 * BaseNO_TIPO_PREPENSION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_prepension
 * @property string $codigo
 * @property string $descripcion
 * @property integer $estado
 * @property integer $cant_fem
 * @property integer $cant_mas
 * 
 * @method integer            getIdTipoPrepension()   Returns the current record's "id_tipo_prepension" value
 * @method string             getCodigo()             Returns the current record's "codigo" value
 * @method string             getDescripcion()        Returns the current record's "descripcion" value
 * @method integer            getEstado()             Returns the current record's "estado" value
 * @method integer            getCantFem()            Returns the current record's "cant_fem" value
 * @method integer            getCantMas()            Returns the current record's "cant_mas" value
 * @method NO_TIPO_PREPENSION setIdTipoPrepension()   Sets the current record's "id_tipo_prepension" value
 * @method NO_TIPO_PREPENSION setCodigo()             Sets the current record's "codigo" value
 * @method NO_TIPO_PREPENSION setDescripcion()        Sets the current record's "descripcion" value
 * @method NO_TIPO_PREPENSION setEstado()             Sets the current record's "estado" value
 * @method NO_TIPO_PREPENSION setCantFem()            Sets the current record's "cant_fem" value
 * @method NO_TIPO_PREPENSION setCantMas()            Sets the current record's "cant_mas" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseNO_TIPO_PREPENSION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_TIPO_PREPENSION');
        $this->hasColumn('id_tipo_prepension', 'integer', 8, array(
             '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', 256, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 256,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('cant_fem', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('cant_mas', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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