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

/**
 * BaseTS_AUDIT_TERCEROS
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_audit
 * @property string $num_doc
 * @property integer $id_mae_ter
 * @property string $nombre
 * 
 * @method integer           getId()         Returns the current record's "id" value
 * @method integer           getIdAudit()    Returns the current record's "id_audit" value
 * @method string            getNumDoc()     Returns the current record's "num_doc" value
 * @method integer           getIdMaeTer()   Returns the current record's "id_mae_ter" value
 * @method string            getNombre()     Returns the current record's "nombre" value
 * @method TS_AUDIT_TERCEROS setId()         Sets the current record's "id" value
 * @method TS_AUDIT_TERCEROS setIdAudit()    Sets the current record's "id_audit" value
 * @method TS_AUDIT_TERCEROS setNumDoc()     Sets the current record's "num_doc" value
 * @method TS_AUDIT_TERCEROS setIdMaeTer()   Sets the current record's "id_mae_ter" value
 * @method TS_AUDIT_TERCEROS setNombre()     Sets the current record's "nombre" value
 * 
 * @package    cartera
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_AUDIT_TERCEROS extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_AUDIT_TERCEROS');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_audit', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('num_doc', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('nombre', 'string', 100, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 100,
             ));
    }

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