<?php

/**
 * BaseWSConsumer
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $app_id
 * @property string $app_token
 * @property string $app_name
 * @property int $status
 * 
 * @method integer    getAppId()     Returns the current record's "app_id" value
 * @method string     getAppToken()  Returns the current record's "app_token" value
 * @method string     getAppName()   Returns the current record's "app_name" value
 * @method int        getStatus()    Returns the current record's "status" value
 * @method WSConsumer setAppId()     Sets the current record's "app_id" value
 * @method WSConsumer setAppToken()  Sets the current record's "app_token" value
 * @method WSConsumer setAppName()   Sets the current record's "app_name" value
 * @method WSConsumer setStatus()    Sets the current record's "status" value
 * 
 * @package    orangehrm
 * @subpackage model\corewebservice\base
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseWSConsumer extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ohrm_ws_consumer');
        $this->hasColumn('app_id', 'integer', null, array(
             'type' => 'integer',
             'primary' => true,
             'autoincrement' => true,
             ));
        $this->hasColumn('app_token', 'string', 10, array(
             'type' => 'string',
             'length' => 10,
             ));
        $this->hasColumn('app_name', 'string', 50, array(
             'type' => 'string',
             'length' => 50,
             ));
        $this->hasColumn('status', 'int', null, array(
             'type' => 'int',
             ));
    }

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