<?php

/**
 * BaseProvince
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $province_name
 * @property string $province_code
 * @property string $cou_code
 * 
 * @method integer  getId()            Returns the current record's "id" value
 * @method string   getProvinceName()  Returns the current record's "province_name" value
 * @method string   getProvinceCode()  Returns the current record's "province_code" value
 * @method string   getCouCode()       Returns the current record's "cou_code" value
 * @method Province setId()            Sets the current record's "id" value
 * @method Province setProvinceName()  Sets the current record's "province_name" value
 * @method Province setProvinceCode()  Sets the current record's "province_code" value
 * @method Province setCouCode()       Sets the current record's "cou_code" value
 * 
 * @package    orangehrm
 * @subpackage model
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseProvince extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('hs_hr_province');
        $this->hasColumn('id', 'integer', 4, array(
             'type' => 'integer',
             'primary' => true,
             'autoincrement' => true,
             'length' => 4,
             ));
        $this->hasColumn('province_name', 'string', 40, array(
             'type' => 'string',
             'default' => '',
             'notnull' => true,
             'length' => 40,
             ));
        $this->hasColumn('province_code', 'string', 2, array(
             'type' => 'string',
             'fixed' => 1,
             'default' => '',
             'notnull' => true,
             'length' => 2,
             ));
        $this->hasColumn('cou_code', 'string', 2, array(
             'type' => 'string',
             'fixed' => 1,
             'default' => 'us',
             'notnull' => true,
             'length' => 2,
             ));
    }

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