<?php

/**
 * BaseBeaconNotification
 * 
 * This class has been auto-generated by the Doctrine ORM Framework
 * 
 * @property int                 $id                        Type: integer, primary key
 * @property string              $name                      Type: string(100)
 * @property string              $expiryDate                Type: timestamp(25), Timestamp in ISO-8601 format (YYYY-MM-DD HH:MI:SS)
 * @property string              $definition                Type: clob
 *  
 * @method int                   getId()                    Type: integer, primary key
 * @method string                getName()                  Type: string(100)
 * @method string                getExpirydate()            Type: timestamp(25), Timestamp in ISO-8601 format (YYYY-MM-DD HH:MI:SS)
 * @method string                getDefinition()            Type: clob
 *  
 * @method BeaconNotification    setId(int $val)            Type: integer, primary key
 * @method BeaconNotification    setName(string $val)       Type: string(100)
 * @method BeaconNotification    setExpirydate(string $val) Type: timestamp(25), Timestamp in ISO-8601 format (YYYY-MM-DD HH:MI:SS)
 * @method BeaconNotification    setDefinition(string $val) Type: clob
 *  
 * @package    orangehrm
 * @subpackage model
 * @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();
        
    }
}