<?php

/**
 * BaseBeaconNotification
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property integer $id
 * @property string $name
 * @property timestamp $expiryDate
 * @property clob $definition
 * 
 * @method integer            getId()         Returns the current record's "id" value
 * @method string             getName()       Returns the current record's "name" value
 * @method timestamp          getExpiryDate() Returns the current record's "expiryDate" value
 * @method clob               getDefinition() Returns the current record's "definition" value
 * @method BeaconNotification setId()         Sets the current record's "id" value
 * @method BeaconNotification setName()       Sets the current record's "name" value
 * @method BeaconNotification setExpiryDate() Sets the current record's "expiryDate" value
 * @method BeaconNotification setDefinition() Sets the current record's "definition" value
 * 
 * @package    orangehrm
 * @subpackage model\beacon\base
 * @author     Your name here
 * @version    SVN: $Id: Builder.php 7490 2010-03-29 19:53:27Z jwage $
 */
abstract class BaseBeaconNotification extends sfDoctrineRecord
{
    public function setTableDefinition()
    {
        $this->setTableName('ohrm_beacon_notification');
        $this->hasColumn('id', 'integer', null, array(
             'type' => 'integer',
             'primary' => true,
             'autoincrement' => true,
             ));
        $this->hasColumn('name', 'string', 100, array(
             'type' => 'string',
             'notnull' => true,
             'length' => 100,
             ));
        $this->hasColumn('expiry_date as expiryDate', 'timestamp', 25, array(
             'type' => 'timestamp',
             'notnull' => true,
             'length' => 25,
             ));
        $this->hasColumn('definition', 'clob', null, array(
             'type' => 'clob',
             'notnull' => true,
             ));
    }

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