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

/**
 * BaseOBJETOS_SOPORTE_DIGITAL
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_objetos_soporte_digital
 * @property integer $id_objetos_legal_soporte
 * @property string $codigo
 * @property string $descripcion
 * @property string $abreviatura
 * @property integer $estado
 * 
 * @method integer                 getIdObjetosSoporteDigital()    Returns the current record's "id_objetos_soporte_digital" value
 * @method integer                 getIdObjetosLegalSoporte()      Returns the current record's "id_objetos_legal_soporte" value
 * @method string                  getCodigo()                     Returns the current record's "codigo" value
 * @method string                  getDescripcion()                Returns the current record's "descripcion" value
 * @method string                  getAbreviatura()                Returns the current record's "abreviatura" value
 * @method integer                 getEstado()                     Returns the current record's "estado" value
 * @method OBJETOS_SOPORTE_DIGITAL setIdObjetosSoporteDigital()    Sets the current record's "id_objetos_soporte_digital" value
 * @method OBJETOS_SOPORTE_DIGITAL setIdObjetosLegalSoporte()      Sets the current record's "id_objetos_legal_soporte" value
 * @method OBJETOS_SOPORTE_DIGITAL setCodigo()                     Sets the current record's "codigo" value
 * @method OBJETOS_SOPORTE_DIGITAL setDescripcion()                Sets the current record's "descripcion" value
 * @method OBJETOS_SOPORTE_DIGITAL setAbreviatura()                Sets the current record's "abreviatura" value
 * @method OBJETOS_SOPORTE_DIGITAL setEstado()                     Sets the current record's "estado" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseOBJETOS_SOPORTE_DIGITAL extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('OBJETOS_SOPORTE_DIGITAL');
        $this->hasColumn('id_objetos_soporte_digital', 'integer', 8, array(
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_objetos_legal_soporte', 'integer', 8, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('codigo', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('descripcion', 'string', 200, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 200,
             ));
        $this->hasColumn('abreviatura', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1
                ',
             'primary' => false,
             'length' => 1,
             ));
    }

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