<?php

/**
 * BaseEmailConfiguration
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property int                 $id                              Type: integer, primary key
 * @property string              $mailType                        Type: string(50)
 * @property string              $sentAs                          Type: string(250)
 * @property string              $smtpHost                        Type: string(250)
 * @property int                 $smtpPort                        Type: integer
 * @property string              $smtpUsername                    Type: string(250)
 * @property string              $smtpPassword                    Type: string(250)
 * @property string              $smtpAuthType                    Type: string(50)
 * @property string              $smtpSecurityType                Type: string(50)
 *  
 * @method int                   getId()                          Type: integer, primary key
 * @method string                getMailtype()                    Type: string(50)
 * @method string                getSentas()                      Type: string(250)
 * @method string                getSmtphost()                    Type: string(250)
 * @method int                   getSmtpport()                    Type: integer
 * @method string                getSmtpusername()                Type: string(250)
 * @method string                getSmtppassword()                Type: string(250)
 * @method string                getSmtpauthtype()                Type: string(50)
 * @method string                getSmtpsecuritytype()            Type: string(50)
 *  
 * @method EmailConfiguration    setId(int $val)                  Type: integer, primary key
 * @method EmailConfiguration    setMailtype(string $val)         Type: string(50)
 * @method EmailConfiguration    setSentas(string $val)           Type: string(250)
 * @method EmailConfiguration    setSmtphost(string $val)         Type: string(250)
 * @method EmailConfiguration    setSmtpport(int $val)            Type: integer
 * @method EmailConfiguration    setSmtpusername(string $val)     Type: string(250)
 * @method EmailConfiguration    setSmtppassword(string $val)     Type: string(250)
 * @method EmailConfiguration    setSmtpauthtype(string $val)     Type: string(50)
 * @method EmailConfiguration    setSmtpsecuritytype(string $val) Type: string(50)
 *  
 * @package    orangehrm
 * @subpackage model
 * @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('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();
        
    }
}