<?php

/**
 * BaseWSConsumer
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property int         $app_id                  Type: integer, primary key
 * @property string      $app_token               Type: string(10)
 * @property string      $app_name                Type: string(50)
 * @property int         $status                  Type: int
 *  
 * @method int           getAppId()               Type: integer, primary key
 * @method string        getAppToken()            Type: string(10)
 * @method string        getAppName()             Type: string(50)
 * @method int           getStatus()              Type: int
 *  
 * @method WSConsumer    setAppId(int $val)       Type: integer, primary key
 * @method WSConsumer    setAppToken(string $val) Type: string(10)
 * @method WSConsumer    setAppName(string $val)  Type: string(50)
 * @method WSConsumer    setStatus(int $val)      Type: int
 *  
 * @package    orangehrm
 * @subpackage model
 * @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();
        
    }
}