<?php

/**
 * BaseEmailConfiguration
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $mailType
 * @property string $sentAs
 * @property string $sendmailPath
 * @property string $smtpHost
 * @property integer $smtpPort
 * @property string $smtpUsername
 * @property string $smtpPassword
 * @property string $smtpAuthType
 * @property string $smtpSecurityType
 * 
 * @method integer            getId()               Returns the current record's "id" value
 * @method string             getMailType()         Returns the current record's "mailType" value
 * @method string             getSentAs()           Returns the current record's "sentAs" value
 * @method string             getSendmailPath()     Returns the current record's "sendmailPath" value
 * @method string             getSmtpHost()         Returns the current record's "smtpHost" value
 * @method integer            getSmtpPort()         Returns the current record's "smtpPort" value
 * @method string             getSmtpUsername()     Returns the current record's "smtpUsername" value
 * @method string             getSmtpPassword()     Returns the current record's "smtpPassword" value
 * @method string             getSmtpAuthType()     Returns the current record's "smtpAuthType" value
 * @method string             getSmtpSecurityType() Returns the current record's "smtpSecurityType" value
 * @method EmailConfiguration setId()               Sets the current record's "id" value
 * @method EmailConfiguration setMailType()         Sets the current record's "mailType" value
 * @method EmailConfiguration setSentAs()           Sets the current record's "sentAs" value
 * @method EmailConfiguration setSendmailPath()     Sets the current record's "sendmailPath" value
 * @method EmailConfiguration setSmtpHost()         Sets the current record's "smtpHost" value
 * @method EmailConfiguration setSmtpPort()         Sets the current record's "smtpPort" value
 * @method EmailConfiguration setSmtpUsername()     Sets the current record's "smtpUsername" value
 * @method EmailConfiguration setSmtpPassword()     Sets the current record's "smtpPassword" value
 * @method EmailConfiguration setSmtpAuthType()     Sets the current record's "smtpAuthType" value
 * @method EmailConfiguration setSmtpSecurityType() Sets the current record's "smtpSecurityType" value
 * 
 * @package    orangehrm
 * @subpackage model\admin\base
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseEmailConfiguration extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ohrm_email_configuration');
        $this->hasColumn('id', 'integer', null, array(
             'type' => 'integer',
             'primary' => true,
             'autoincrement' => true,
             ));
        $this->hasColumn('mail_type as mailType', 'string', 50, array(
             'type' => 'string',
             'length' => 50,
             ));
        $this->hasColumn('sent_as as sentAs', 'string', 250, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 250,
             ));
        $this->hasColumn('sendmail_path as sendmailPath', 'string', 250, array(
             'type' => 'string',
             'length' => 250,
             ));
        $this->hasColumn('smtp_host as smtpHost', 'string', 250, array(
             'type' => 'string',
             'length' => 250,
             ));
        $this->hasColumn('smtp_port as smtpPort', 'integer', null, array(
             'type' => 'integer',
             ));
        $this->hasColumn('smtp_username as smtpUsername', 'string', 250, array(
             'type' => 'string',
             'length' => 250,
             ));
        $this->hasColumn('smtp_password as smtpPassword', 'string', 250, array(
             'type' => 'string',
             'length' => 250,
             ));
        $this->hasColumn('smtp_auth_type as smtpAuthType', 'string', 50, array(
             'type' => 'string',
             'length' => 50,
             ));
        $this->hasColumn('smtp_security_type as smtpSecurityType', 'string', 50, array(
             'type' => 'string',
             'length' => 50,
             ));
    }

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