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

/**
 * BaseTS_ANU_MOV_BANC
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id_anu_mov_banc
 * @property integer $id_mov_banc
 * @property timestamp $fecha_anul
 * @property string $concepto
 * @property string $observaciones
 * @property string $usuario
 * @property timestamp $fecha_log
 * @property TS_MOV_BANC $TS_MOV_BANC
 * 
 * @method integer         getIdAnuMovBanc()    Returns the current record's "id_anu_mov_banc" value
 * @method integer         getIdMovBanc()       Returns the current record's "id_mov_banc" value
 * @method timestamp       getFechaAnul()       Returns the current record's "fecha_anul" value
 * @method string          getConcepto()        Returns the current record's "concepto" value
 * @method string          getObservaciones()   Returns the current record's "observaciones" value
 * @method string          getUsuario()         Returns the current record's "usuario" value
 * @method timestamp       getFechaLog()        Returns the current record's "fecha_log" value
 * @method TS_MOV_BANC     getTSMOVBANC()       Returns the current record's "TS_MOV_BANC" value
 * @method TS_ANU_MOV_BANC setIdAnuMovBanc()    Sets the current record's "id_anu_mov_banc" value
 * @method TS_ANU_MOV_BANC setIdMovBanc()       Sets the current record's "id_mov_banc" value
 * @method TS_ANU_MOV_BANC setFechaAnul()       Sets the current record's "fecha_anul" value
 * @method TS_ANU_MOV_BANC setConcepto()        Sets the current record's "concepto" value
 * @method TS_ANU_MOV_BANC setObservaciones()   Sets the current record's "observaciones" value
 * @method TS_ANU_MOV_BANC setUsuario()         Sets the current record's "usuario" value
 * @method TS_ANU_MOV_BANC setFechaLog()        Sets the current record's "fecha_log" value
 * @method TS_ANU_MOV_BANC setTSMOVBANC()       Sets the current record's "TS_MOV_BANC" value
 * 
 * @package    controlComisiones
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseTS_ANU_MOV_BANC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('TS_ANU_MOV_BANC');
        $this->hasColumn('id_anu_mov_banc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => true,
             'length' => 20,
             ));
        $this->hasColumn('id_mov_banc', 'integer', 20, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_anul', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('concepto', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('observaciones', 'string', 500, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 500,
             ));
        $this->hasColumn('usuario', 'string', 20, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 20,
             ));
        $this->hasColumn('fecha_log', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
    }

    public function setUp()
    {
        parent::setUp();
        $this->hasOne('TS_MOV_BANC', array(
             'local' => 'id_mov_banc',
             'foreign' => 'id'));
    }
}