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

/**
 * BaseNO_BONIFICA_SERVICIOS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_bonifica_servicios
 * @property integer $id_tipo_doc
 * @property string $num_doc
 * @property timestamp $fecha_ingresa
 * @property timestamp $fecha_bonifica
 * @property integer $estado
 * @property integer $id_periodo
 * 
 * @method integer               getIdBonificaServicios()   Returns the current record's "id_bonifica_servicios" 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 timestamp             getFechaIngresa()          Returns the current record's "fecha_ingresa" value
 * @method timestamp             getFechaBonifica()         Returns the current record's "fecha_bonifica" value
 * @method integer               getEstado()                Returns the current record's "estado" value
 * @method integer               getIdPeriodo()             Returns the current record's "id_periodo" value
 * @method NO_BONIFICA_SERVICIOS setIdBonificaServicios()   Sets the current record's "id_bonifica_servicios" value
 * @method NO_BONIFICA_SERVICIOS setIdTipoDoc()             Sets the current record's "id_tipo_doc" value
 * @method NO_BONIFICA_SERVICIOS setNumDoc()                Sets the current record's "num_doc" value
 * @method NO_BONIFICA_SERVICIOS setFechaIngresa()          Sets the current record's "fecha_ingresa" value
 * @method NO_BONIFICA_SERVICIOS setFechaBonifica()         Sets the current record's "fecha_bonifica" value
 * @method NO_BONIFICA_SERVICIOS setEstado()                Sets the current record's "estado" value
 * @method NO_BONIFICA_SERVICIOS setIdPeriodo()             Sets the current record's "id_periodo" 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_BONIFICA_SERVICIOS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('NO_BONIFICA_SERVICIOS');
        $this->hasColumn('id_bonifica_servicios', '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' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_ingresa', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_bonifica', 'timestamp', 7, array(
             'notnull' => true,
             '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' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('id_periodo', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
    }

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