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

/**
 * BaseNO_PAGO_FUNC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_pago_func
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property integer $id_bn
 * @property integer $tipo_cuenta
 * @property string $num_cuenta
 * @property integer $estado
 * @property timestamp $fecha_activacion
 * @property timestamp $fecha_terminacion
 * 
 * @method integer      getIdPagoFunc()        Returns the current record's "id_pago_func" value
 * @method integer      getIdTipoDoc()         Returns the current record's "id_tipo_doc" value
 * @method string       getNumDoc()            Returns the current record's "num_doc" value
 * @method integer      getIdBn()              Returns the current record's "id_bn" value
 * @method integer      getTipoCuenta()        Returns the current record's "tipo_cuenta" value
 * @method string       getNumCuenta()         Returns the current record's "num_cuenta" value
 * @method integer      getEstado()            Returns the current record's "estado" value
 * @method timestamp    getFechaActivacion()   Returns the current record's "fecha_activacion" value
 * @method timestamp    getFechaTerminacion()  Returns the current record's "fecha_terminacion" value
 * @method NO_PAGO_FUNC setIdPagoFunc()        Sets the current record's "id_pago_func" value
 * @method NO_PAGO_FUNC setIdTipoDoc()         Sets the current record's "id_tipo_doc" value
 * @method NO_PAGO_FUNC setNumDoc()            Sets the current record's "num_doc" value
 * @method NO_PAGO_FUNC setIdBn()              Sets the current record's "id_bn" value
 * @method NO_PAGO_FUNC setTipoCuenta()        Sets the current record's "tipo_cuenta" value
 * @method NO_PAGO_FUNC setNumCuenta()         Sets the current record's "num_cuenta" value
 * @method NO_PAGO_FUNC setEstado()            Sets the current record's "estado" value
 * @method NO_PAGO_FUNC setFechaActivacion()   Sets the current record's "fecha_activacion" value
 * @method NO_PAGO_FUNC setFechaTerminacion()  Sets the current record's "fecha_terminacion" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseNO_PAGO_FUNC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_PAGO_FUNC');
        $this->hasColumn('id_pago_func', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_tipo_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_bn', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('tipo_cuenta', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_cuenta', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_activacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_terminacion', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

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