<?php

/**
 * BaseOAuthClient
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property string $clientId
 * @property string $clientSecret
 * @property string $redirectUri
 * 
 * @method string      getClientId()     Returns the current record's "clientId" value
 * @method string      getClientSecret() Returns the current record's "clientSecret" value
 * @method string      getRedirectUri()  Returns the current record's "redirectUri" value
 * @method OAuthClient setClientId()     Sets the current record's "clientId" value
 * @method OAuthClient setClientSecret() Sets the current record's "clientSecret" value
 * @method OAuthClient setRedirectUri()  Sets the current record's "redirectUri" value
 * 
 * @package    orangehrm
 * @subpackage model\coreoauth\base
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseOAuthClient extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ohrm_oauth_client');
        $this->hasColumn('client_id as clientId', 'string', 80, array(
             'type' => 'string',
             'primary' => true,
             'length' => 80,
             ));
        $this->hasColumn('client_secret as clientSecret', 'string', 80, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 80,
             ));
        $this->hasColumn('redirect_uri as redirectUri', 'string', 2000, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 2000,
             ));
    }

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