mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
32 lines
847 B
JavaScript
32 lines
847 B
JavaScript
/**
|
|
* App notification.
|
|
*
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @since 1.0.0
|
|
*/
|
|
(function (jsOMS) {
|
|
"use strict";
|
|
|
|
/** @namespace jsOMS.Message.Notification.App */
|
|
jsOMS.Autoloader.defineNamespace('jsOMS.Message.Notification');
|
|
|
|
jsOMS.Message.Notification.NotificationMessage = class {
|
|
/**
|
|
* @constructor
|
|
*
|
|
* @param {string} status Message status
|
|
* @param {string} title Message title
|
|
* @param {string} message Message content
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
constructor(status, title, message)
|
|
{
|
|
this.status = status;
|
|
this.title = title;
|
|
this.message = message;
|
|
};
|
|
}
|
|
}(window.jsOMS = window.jsOMS || {})); |