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

/**
 * BaseCO_TIPO_CONVENIO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_tipo_convenio
 * @property string $codigo
 * @property string $descripcion
 * @property integer $estado
 * 
 * @method integer          getIdTipoConvenio()   Returns the current record's "id_tipo_convenio" 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 CO_TIPO_CONVENIO setIdTipoConvenio()   Sets the current record's "id_tipo_convenio" value
 * @method CO_TIPO_CONVENIO setCodigo()           Sets the current record's "codigo" value
 * @method CO_TIPO_CONVENIO setDescripcion()      Sets the current record's "descripcion" value
 * @method CO_TIPO_CONVENIO setEstado()           Sets the current record's "estado" value
 * 
 * @package    contratacion
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCO_TIPO_CONVENIO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CO_TIPO_CONVENIO');
        $this->hasColumn('id_tipo_convenio', 'integer', 20, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $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();
        
    }
}