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

/**
 * BaseCA_COMPANIA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_compania
 * @property string $nitocc
 * @property string $rasoc
 * @property integer $estado
 * 
 * @method integer     getIdCompania()  Returns the current record's "id_compania" value
 * @method string      getNitocc()      Returns the current record's "nitocc" value
 * @method string      getRasoc()       Returns the current record's "rasoc" value
 * @method integer     getEstado()      Returns the current record's "estado" value
 * @method CA_COMPANIA setIdCompania()  Sets the current record's "id_compania" value
 * @method CA_COMPANIA setNitocc()      Sets the current record's "nitocc" value
 * @method CA_COMPANIA setRasoc()       Sets the current record's "rasoc" value
 * @method CA_COMPANIA setEstado()      Sets the current record's "estado" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCA_COMPANIA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_COMPANIA');
        $this->hasColumn('id_compania', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('nitocc', 'string', 64, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 64,
             ));
        $this->hasColumn('rasoc', 'string', 128, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 128,
             ));
        $this->hasColumn('estado', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0
                ',
             'primary' => false,
             'length' => 8,
             ));
    }

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