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

/**
 * BaseNO_CARGOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cargo
 * @property string $area
 * @property string $id_dp
 * @property string $cargo
 * @property string $grupo
 * 
 * @method integer   getIdCargo()  Returns the current record's "id_cargo" value
 * @method string    getArea()     Returns the current record's "area" value
 * @method string    getIdDp()     Returns the current record's "id_dp" value
 * @method string    getCargo()    Returns the current record's "cargo" value
 * @method string    getGrupo()    Returns the current record's "grupo" value
 * @method NO_CARGOS setIdCargo()  Sets the current record's "id_cargo" value
 * @method NO_CARGOS setArea()     Sets the current record's "area" value
 * @method NO_CARGOS setIdDp()     Sets the current record's "id_dp" value
 * @method NO_CARGOS setCargo()    Sets the current record's "cargo" value
 * @method NO_CARGOS setGrupo()    Sets the current record's "grupo" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_CARGOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_CARGOS');
        $this->hasColumn('id_cargo', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('area', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_dp', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('cargo', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('grupo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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