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

/**
 * BaseCONTROL_COMIS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $tipcom
 * @property integer $dias
 * @property string $documento
 * @property timestamp $fecha
 * @property string $observaciones
 * @property integer $estado
 * 
 * @method integer       getId()            Returns the current record's "id" value
 * @method string        getTipcom()        Returns the current record's "tipcom" value
 * @method integer       getDias()          Returns the current record's "dias" value
 * @method string        getDocumento()     Returns the current record's "documento" value
 * @method timestamp     getFecha()         Returns the current record's "fecha" value
 * @method string        getObservaciones() Returns the current record's "observaciones" value
 * @method integer       getEstado()        Returns the current record's "estado" value
 * @method CONTROL_COMIS setId()            Sets the current record's "id" value
 * @method CONTROL_COMIS setTipcom()        Sets the current record's "tipcom" value
 * @method CONTROL_COMIS setDias()          Sets the current record's "dias" value
 * @method CONTROL_COMIS setDocumento()     Sets the current record's "documento" value
 * @method CONTROL_COMIS setFecha()         Sets the current record's "fecha" value
 * @method CONTROL_COMIS setObservaciones() Sets the current record's "observaciones" value
 * @method CONTROL_COMIS 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 BaseCONTROL_COMIS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CONTROL_COMIS');
        $this->hasColumn('id', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipcom', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('dias', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('documento', 'string', 200, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('fecha', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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