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

/**
 * BaseCENTRO_OPERACION
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cen_op
 * @property integer $id_cia
 * @property string $nom_cen_op
 * @property string $descr_cen_op
 * @property integer $activo
 * @property string $prefijo
 * @property integer $id_depto
 * @property integer $codmun
 * @property integer $aplica_estante
 * 
 * @method integer          getIdCenOp()        Returns the current record's "id_cen_op" value
 * @method integer          getIdCia()          Returns the current record's "id_cia" value
 * @method string           getNomCenOp()       Returns the current record's "nom_cen_op" value
 * @method string           getDescrCenOp()     Returns the current record's "descr_cen_op" value
 * @method integer          getActivo()         Returns the current record's "activo" value
 * @method string           getPrefijo()        Returns the current record's "prefijo" value
 * @method integer          getIdDepto()        Returns the current record's "id_depto" value
 * @method integer          getCodmun()         Returns the current record's "codmun" value
 * @method integer          getAplicaEstante()  Returns the current record's "aplica_estante" value
 * @method CENTRO_OPERACION setIdCenOp()        Sets the current record's "id_cen_op" value
 * @method CENTRO_OPERACION setIdCia()          Sets the current record's "id_cia" value
 * @method CENTRO_OPERACION setNomCenOp()       Sets the current record's "nom_cen_op" value
 * @method CENTRO_OPERACION setDescrCenOp()     Sets the current record's "descr_cen_op" value
 * @method CENTRO_OPERACION setActivo()         Sets the current record's "activo" value
 * @method CENTRO_OPERACION setPrefijo()        Sets the current record's "prefijo" value
 * @method CENTRO_OPERACION setIdDepto()        Sets the current record's "id_depto" value
 * @method CENTRO_OPERACION setCodmun()         Sets the current record's "codmun" value
 * @method CENTRO_OPERACION setAplicaEstante()  Sets the current record's "aplica_estante" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCENTRO_OPERACION extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CENTRO_OPERACION');
        $this->hasColumn('id_cen_op', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_cia', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('nom_cen_op', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('descr_cen_op', 'string', 1000, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1000,
             ));
        $this->hasColumn('activo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('prefijo', 'string', 10, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 10,
             ));
        $this->hasColumn('id_depto', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('codmun', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('aplica_estante', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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