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

/**
 * BaseCM_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 CM_MOV_BANC $CM_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 CM_MOV_BANC     getCMMOVBANC()       Returns the current record's "CM_MOV_BANC" value
 * @method CM_ANU_MOV_BANC setIdAnuMovBanc()    Sets the current record's "id_anu_mov_banc" value
 * @method CM_ANU_MOV_BANC setIdMovBanc()       Sets the current record's "id_mov_banc" value
 * @method CM_ANU_MOV_BANC setFechaAnul()       Sets the current record's "fecha_anul" value
 * @method CM_ANU_MOV_BANC setConcepto()        Sets the current record's "concepto" value
 * @method CM_ANU_MOV_BANC setObservaciones()   Sets the current record's "observaciones" value
 * @method CM_ANU_MOV_BANC setUsuario()         Sets the current record's "usuario" value
 * @method CM_ANU_MOV_BANC setFechaLog()        Sets the current record's "fecha_log" value
 * @method CM_ANU_MOV_BANC setCMMOVBANC()       Sets the current record's "CM_MOV_BANC" value
 * 
 * @package    cobro_coactivo
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseCM_ANU_MOV_BANC extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('CM_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('CM_MOV_BANC', array(
             'local' => 'id_mov_banc',
             'foreign' => 'id'));
    }
}