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

/**
 * BaseCBR_CIERRE_PERSUASIVO
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_cierre_persuasivo
 * @property integer $id_remision_titulo
 * @property timestamp $fecha_cierre
 * @property integer $estado
 * @property string $adjunto
 * @property string $observaciones
 * @property integer $cierre
 * @property integer $id_tipo_documento
 * @property string $num_doc_sop
 * @property timestamp $fecha_doc
 * 
 * @method integer               getIdCierrePersuasivo()   Returns the current record's "id_cierre_persuasivo" value
 * @method integer               getIdRemisionTitulo()     Returns the current record's "id_remision_titulo" value
 * @method timestamp             getFechaCierre()          Returns the current record's "fecha_cierre" value
 * @method integer               getEstado()               Returns the current record's "estado" value
 * @method string                getAdjunto()              Returns the current record's "adjunto" value
 * @method string                getObservaciones()        Returns the current record's "observaciones" value
 * @method integer               getCierre()               Returns the current record's "cierre" value
 * @method integer               getIdTipoDocumento()      Returns the current record's "id_tipo_documento" value
 * @method string                getNumDocSop()            Returns the current record's "num_doc_sop" value
 * @method timestamp             getFechaDoc()             Returns the current record's "fecha_doc" value
 * @method CBR_CIERRE_PERSUASIVO setIdCierrePersuasivo()   Sets the current record's "id_cierre_persuasivo" value
 * @method CBR_CIERRE_PERSUASIVO setIdRemisionTitulo()     Sets the current record's "id_remision_titulo" value
 * @method CBR_CIERRE_PERSUASIVO setFechaCierre()          Sets the current record's "fecha_cierre" value
 * @method CBR_CIERRE_PERSUASIVO setEstado()               Sets the current record's "estado" value
 * @method CBR_CIERRE_PERSUASIVO setAdjunto()              Sets the current record's "adjunto" value
 * @method CBR_CIERRE_PERSUASIVO setObservaciones()        Sets the current record's "observaciones" value
 * @method CBR_CIERRE_PERSUASIVO setCierre()               Sets the current record's "cierre" value
 * @method CBR_CIERRE_PERSUASIVO setIdTipoDocumento()      Sets the current record's "id_tipo_documento" value
 * @method CBR_CIERRE_PERSUASIVO setNumDocSop()            Sets the current record's "num_doc_sop" value
 * @method CBR_CIERRE_PERSUASIVO setFechaDoc()             Sets the current record's "fecha_doc" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCBR_CIERRE_PERSUASIVO extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CBR_CIERRE_PERSUASIVO');
        $this->hasColumn('id_cierre_persuasivo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_remision_titulo', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_cierre', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('adjunto', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('cierre', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_documento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc_sop', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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