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

/**
 * BaseMLOG_CN_CONTROL_CAD
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property integer $id_cad
 * @property integer $id_vigencia
 * @property integer $id_cen_op
 * @property integer $id_cia
 * @property string $m_row$$
 * @property timestamp $snaptime$$
 * @property string $dmltype$$
 * @property string $old_new$$
 * @property blob $change_vector$$
 * @property integer $xid
 * 
 * @method integer             getId()            Returns the current record's "id" value
 * @method integer             getIdCad()         Returns the current record's "id_cad" value
 * @method integer             getIdVigencia()    Returns the current record's "id_vigencia" value
 * @method integer             getIdCenOp()       Returns the current record's "id_cen_op" value
 * @method integer             getIdCia()         Returns the current record's "id_cia" value
 * @method string              getMRow()          Returns the current record's "m_row" value
 * @method timestamp           getSnaptime()      Returns the current record's "snaptime" value
 * @method string              getDmltype()       Returns the current record's "dmltype" value
 * @method string              getOldNew()        Returns the current record's "old_new" value
 * @method blob                getChangeVector()  Returns the current record's "change_vector" value
 * @method integer             getXid()           Returns the current record's "xid" value
 * @method MLOG_CN_CONTROL_CAD setId()            Sets the current record's "id" value
 * @method MLOG_CN_CONTROL_CAD setIdCad()         Sets the current record's "id_cad" value
 * @method MLOG_CN_CONTROL_CAD setIdVigencia()    Sets the current record's "id_vigencia" value
 * @method MLOG_CN_CONTROL_CAD setIdCenOp()       Sets the current record's "id_cen_op" value
 * @method MLOG_CN_CONTROL_CAD setIdCia()         Sets the current record's "id_cia" value
 * @method MLOG_CN_CONTROL_CAD setMRow()          Sets the current record's "m_row" value
 * @method MLOG_CN_CONTROL_CAD setSnaptime()      Sets the current record's "snaptime" value
 * @method MLOG_CN_CONTROL_CAD setDmltype()       Sets the current record's "dmltype" value
 * @method MLOG_CN_CONTROL_CAD setOldNew()        Sets the current record's "old_new" value
 * @method MLOG_CN_CONTROL_CAD setChangeVector()  Sets the current record's "change_vector" value
 * @method MLOG_CN_CONTROL_CAD setXid()           Sets the current record's "xid" value$$
 * 
 * @package    Sofhouse
 * @subpackage model
 * @author     Software House
 * @version    SVN: $Id: Builder.php 7691 2011-02-04 15:43:29Z jwage $
 */
abstract class BaseMLOG_CN_CONTROL_CAD extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('MLOG$_CN_CONTROL_CAD');
        $this->hasColumn('id', 'integer', 8, array(
             'type' => 'integer',
             'autoincrement' => true,
             'primary' => true,
             'length' => 8,
             ));
        $this->hasColumn('id_cad', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_vigencia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cen_op', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('id_cia', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
        $this->hasColumn('m_row$$', 'string', 255, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('snaptime$$', 'timestamp', 7, array(
             'notnull' => false,
             'type' => 'timestamp',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 7,
             ));
        $this->hasColumn('dmltype$$', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('old_new$$', 'string', 1, array(
             'notnull' => false,
             'type' => 'string',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 1,
             ));
        $this->hasColumn('change_vector$$', 'blob', 255, array(
             'notnull' => false,
             'type' => 'blob',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 255,
             ));
        $this->hasColumn('xid$$', 'integer', 8, array(
             'notnull' => false,
             'type' => 'integer',
             'fixed' => 0,
             'unsigned' => false,
             'primary' => false,
             'length' => 8,
             ));
    }

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