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

/**
 * BaseIN_AGRUP_COMERCIAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_agrup_comercial
 * @property string $descripcion
 * @property integer $estado
 * 
 * @method integer            getIdAgrupComercial()   Returns the current record's "id_agrup_comercial" value
 * @method string             getDescripcion()        Returns the current record's "descripcion" value
 * @method integer            getEstado()             Returns the current record's "estado" value
 * @method IN_AGRUP_COMERCIAL setIdAgrupComercial()   Sets the current record's "id_agrup_comercial" value
 * @method IN_AGRUP_COMERCIAL setDescripcion()        Sets the current record's "descripcion" value
 * @method IN_AGRUP_COMERCIAL 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 BaseIN_AGRUP_COMERCIAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_AGRUP_COMERCIAL');
        $this->hasColumn('id_agrup_comercial', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 250, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 250,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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