<?php

/**
 * BaseOrganization
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property int           $id                               Type: integer(4), primary key
 * @property string        $name                             Type: string(100)
 * @property string        $taxId                            Type: string(30)
 * @property string        $registraionNumber                Type: string(30)
 * @property string        $phone                            Type: string(30)
 * @property string        $fax                              Type: string(30)
 * @property string        $email                            Type: string(30)
 * @property string        $country                          Type: string(30)
 * @property string        $province                         Type: string(30)
 * @property string        $city                             Type: string(30)
 * @property string        $zipCode                          Type: string(30)
 * @property string        $street1                          Type: string(100)
 * @property string        $street2                          Type: string(100)
 * @property string        $note                             Type: string(255)
 *  
 * @method int             getId()                           Type: integer(4), primary key
 * @method string          getName()                         Type: string(100)
 * @method string          getTaxid()                        Type: string(30)
 * @method string          getRegistraionnumber()            Type: string(30)
 * @method string          getPhone()                        Type: string(30)
 * @method string          getFax()                          Type: string(30)
 * @method string          getEmail()                        Type: string(30)
 * @method string          getCountry()                      Type: string(30)
 * @method string          getProvince()                     Type: string(30)
 * @method string          getCity()                         Type: string(30)
 * @method string          getZipcode()                      Type: string(30)
 * @method string          getStreet1()                      Type: string(100)
 * @method string          getStreet2()                      Type: string(100)
 * @method string          getNote()                         Type: string(255)
 *  
 * @method Organization    setId(int $val)                   Type: integer(4), primary key
 * @method Organization    setName(string $val)              Type: string(100)
 * @method Organization    setTaxid(string $val)             Type: string(30)
 * @method Organization    setRegistraionnumber(string $val) Type: string(30)
 * @method Organization    setPhone(string $val)             Type: string(30)
 * @method Organization    setFax(string $val)               Type: string(30)
 * @method Organization    setEmail(string $val)             Type: string(30)
 * @method Organization    setCountry(string $val)           Type: string(30)
 * @method Organization    setProvince(string $val)          Type: string(30)
 * @method Organization    setCity(string $val)              Type: string(30)
 * @method Organization    setZipcode(string $val)           Type: string(30)
 * @method Organization    setStreet1(string $val)           Type: string(100)
 * @method Organization    setStreet2(string $val)           Type: string(100)
 * @method Organization    setNote(string $val)              Type: string(255)
 *  
 * @package    orangehrm
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseOrganization extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ohrm_organization_gen_info');
        $this->hasColumn('id', 'integer', 4, array(
             'type' => 'integer',
             'primary' => true,
             'autoincrement' => true,
             'length' => 4,
             ));
        $this->hasColumn('name', 'string', 100, array(
             'type' => 'string',
             'length' => 100,
             ));
        $this->hasColumn('tax_id as taxId', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('registration_number as registraionNumber', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('phone', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('fax', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('email', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('country', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('province', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('city', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('zip_code as zipCode', 'string', 30, array(
             'type' => 'string',
             'length' => 30,
             ));
        $this->hasColumn('street1', 'string', 100, array(
             'type' => 'string',
             'length' => 100,
             ));
        $this->hasColumn('street2', 'string', 100, array(
             'type' => 'string',
             'length' => 100,
             ));
        $this->hasColumn('note', 'string', 255, array(
             'type' => 'string',
             'length' => 255,
             ));
    }

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