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

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

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