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

/**
 * BaseCA_CESION_EXCEDENTES
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_cesion_excedentes
 * @property integer $id_excedente
 * @property timestamp $fecha_proceso
 * @property string $usuariolog
 * @property timestamp $fecha_log
 * @property integer $valor
 * @property integer $num_doc
 * @property integer $id_ts_td
 * @property timestamp $fecha_doc
 * @property integer $id_mae_ter_ant
 * @property integer $id_mae_ter
 * @property string $observaciones
 * 
 * @method integer              getId()                   Returns the current record's "id" value
 * @method integer              getIdCesionExcedentes()   Returns the current record's "id_cesion_excedentes" value
 * @method integer              getIdExcedente()          Returns the current record's "id_excedente" value
 * @method timestamp            getFechaProceso()         Returns the current record's "fecha_proceso" value
 * @method string               getUsuariolog()           Returns the current record's "usuariolog" value
 * @method timestamp            getFechaLog()             Returns the current record's "fecha_log" value
 * @method integer              getValor()                Returns the current record's "valor" value
 * @method integer              getNumDoc()               Returns the current record's "num_doc" value
 * @method integer              getIdTsTd()               Returns the current record's "id_ts_td" value
 * @method timestamp            getFechaDoc()             Returns the current record's "fecha_doc" value
 * @method integer              getIdMaeTerAnt()          Returns the current record's "id_mae_ter_ant" value
 * @method integer              getIdMaeTer()             Returns the current record's "id_mae_ter" value
 * @method string               getObservaciones()        Returns the current record's "observaciones" value
 * @method CA_CESION_EXCEDENTES setId()                   Sets the current record's "id" value
 * @method CA_CESION_EXCEDENTES setIdCesionExcedentes()   Sets the current record's "id_cesion_excedentes" value
 * @method CA_CESION_EXCEDENTES setIdExcedente()          Sets the current record's "id_excedente" value
 * @method CA_CESION_EXCEDENTES setFechaProceso()         Sets the current record's "fecha_proceso" value
 * @method CA_CESION_EXCEDENTES setUsuariolog()           Sets the current record's "usuariolog" value
 * @method CA_CESION_EXCEDENTES setFechaLog()             Sets the current record's "fecha_log" value
 * @method CA_CESION_EXCEDENTES setValor()                Sets the current record's "valor" value
 * @method CA_CESION_EXCEDENTES setNumDoc()               Sets the current record's "num_doc" value
 * @method CA_CESION_EXCEDENTES setIdTsTd()               Sets the current record's "id_ts_td" value
 * @method CA_CESION_EXCEDENTES setFechaDoc()             Sets the current record's "fecha_doc" value
 * @method CA_CESION_EXCEDENTES setIdMaeTerAnt()          Sets the current record's "id_mae_ter_ant" value
 * @method CA_CESION_EXCEDENTES setIdMaeTer()             Sets the current record's "id_mae_ter" value
 * @method CA_CESION_EXCEDENTES setObservaciones()        Sets the current record's "observaciones" value
 * 
 * @package    ProyectoSchema
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseCA_CESION_EXCEDENTES extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CA_CESION_EXCEDENTES');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cesion_excedentes', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_excedente', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_proceso', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('usuariolog', 'string', 20, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('valor', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('num_doc', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_ts_td', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_doc', 'timestamp', 7, array(
             'notnull' => true,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter_ant', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 20, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 512, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 512,
             ));
    }

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