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

/**
 * BaseCCG_PROYEC_CENT_COST
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_proyec_cent_cost
 * @property integer $id_proyectos
 * @property integer $sgr
 * @property integer $id_centro_costo
 * 
 * @method integer              getIdProyecCentCost()    Returns the current record's "id_proyec_cent_cost" value
 * @method integer              getIdProyectos()         Returns the current record's "id_proyectos" value
 * @method integer              getSgr()                 Returns the current record's "sgr" value
 * @method integer              getIdCentroCosto()       Returns the current record's "id_centro_costo" value
 * @method CCG_PROYEC_CENT_COST setIdProyecCentCost()    Sets the current record's "id_proyec_cent_cost" value
 * @method CCG_PROYEC_CENT_COST setIdProyectos()         Sets the current record's "id_proyectos" value
 * @method CCG_PROYEC_CENT_COST setSgr()                 Sets the current record's "sgr" value
 * @method CCG_PROYEC_CENT_COST setIdCentroCosto()       Sets the current record's "id_centro_costo" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseCCG_PROYEC_CENT_COST extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CCG_PROYEC_CENT_COST');
        $this->hasColumn('id_proyec_cent_cost', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_proyectos', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('sgr', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0 ',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_centro_costo', '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' => '1 ',
             'primary' => false,
             'length' => 1,
             ));
    }

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