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

/**
 * BaseIN_ASIGNACION_TOMA
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_asignacion_toma
 * @property integer $id_toma_inventario
 * @property timestamp $fecha_fin
 * @property timestamp $fecha_inicio
 * @property integer $id_mae_ter
 * @property string $descripcion
 * @property integer $estado
 * @property integer $anulado
 * @property timestamp $fecha_anu
 * @property string $motivo_anu
 * @property integer $id_mae_ter_res
 * @property integer $id_espacio
 * @property integer $id_tipo_almacenamiento
 * 
 * @method integer            getIdAsignacionToma()       Returns the current record's "id_asignacion_toma" value
 * @method integer            getIdTomaInventario()       Returns the current record's "id_toma_inventario" value
 * @method timestamp          getFechaFin()               Returns the current record's "fecha_fin" value
 * @method timestamp          getFechaInicio()            Returns the current record's "fecha_inicio" value
 * @method integer            getIdMaeTer()               Returns the current record's "id_mae_ter" value
 * @method string             getDescripcion()            Returns the current record's "descripcion" value
 * @method integer            getEstado()                 Returns the current record's "estado" value
 * @method integer            getAnulado()                Returns the current record's "anulado" value
 * @method timestamp          getFechaAnu()               Returns the current record's "fecha_anu" value
 * @method string             getMotivoAnu()              Returns the current record's "motivo_anu" value
 * @method integer            getIdMaeTerRes()            Returns the current record's "id_mae_ter_res" value
 * @method integer            getIdEspacio()              Returns the current record's "id_espacio" value
 * @method integer            getIdTipoAlmacenamiento()   Returns the current record's "id_tipo_almacenamiento" value
 * @method IN_ASIGNACION_TOMA setIdAsignacionToma()       Sets the current record's "id_asignacion_toma" value
 * @method IN_ASIGNACION_TOMA setIdTomaInventario()       Sets the current record's "id_toma_inventario" value
 * @method IN_ASIGNACION_TOMA setFechaFin()               Sets the current record's "fecha_fin" value
 * @method IN_ASIGNACION_TOMA setFechaInicio()            Sets the current record's "fecha_inicio" value
 * @method IN_ASIGNACION_TOMA setIdMaeTer()               Sets the current record's "id_mae_ter" value
 * @method IN_ASIGNACION_TOMA setDescripcion()            Sets the current record's "descripcion" value
 * @method IN_ASIGNACION_TOMA setEstado()                 Sets the current record's "estado" value
 * @method IN_ASIGNACION_TOMA setAnulado()                Sets the current record's "anulado" value
 * @method IN_ASIGNACION_TOMA setFechaAnu()               Sets the current record's "fecha_anu" value
 * @method IN_ASIGNACION_TOMA setMotivoAnu()              Sets the current record's "motivo_anu" value
 * @method IN_ASIGNACION_TOMA setIdMaeTerRes()            Sets the current record's "id_mae_ter_res" value
 * @method IN_ASIGNACION_TOMA setIdEspacio()              Sets the current record's "id_espacio" value
 * @method IN_ASIGNACION_TOMA setIdTipoAlmacenamiento()   Sets the current record's "id_tipo_almacenamiento" value
 * 
 * @package    radicacionVirtualCuentas
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseIN_ASIGNACION_TOMA extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('IN_ASIGNACION_TOMA');
        $this->hasColumn('id_asignacion_toma', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_toma_inventario', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('fecha_fin', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('fecha_inicio', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('id_mae_ter', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('descripcion', 'string', 999, array(
             'notnull' => true,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 999,
             ));
        $this->hasColumn('estado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '1',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('anulado', 'integer', 1, array(
             'notnull' => true,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'default' => '0',
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('fecha_anu', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('motivo_anu', 'string', 999, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 999,
             ));
        $this->hasColumn('id_mae_ter_res', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('id_espacio', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_tipo_almacenamiento', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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