<?php
/** 
 * Notification entity
 * 
 * Suppport class for user notification on web operations
 * @author tm - Advantis
 * @version 1.0.1
 * @package Base
 */
class Notification {
	
	// Notifiation types
	const TYPE_OK = 0;
	const TYPE_WARNING = 1;
	const TYPE_ERROR = 2;
	public $type;
	public $message;
	
	/**
	 * Constructor
	 *
	 * @param string $messagein        	
	 * @param int $type        	
	 */
	function Notification($messagein, $type = self::TYPE_OK) {
		$this->type = $type;
		$this->message = $messagein;
	}
}

?>
