This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
resolver/app/domain/notifications/notification.ts

45 lines
911 B
TypeScript

import { BaseDomain } from "domain/common";
export class Notification extends BaseDomain {
/**
* Description of notification
*
* @type {string}
* @memberof Notification
*/
public description: string;
/**
* The URL which notification refer to
*
* @type {string}
* @memberof Notification
*/
public url: string;
/**
* The identifier of the user who makes the notification
*
* @type {string}
* @memberof Notification
*/
public notifierUserId: string;
/**
* The identifier of the user who receive the notification
*
* @type {string}
* @memberof Notification
*/
public notifyRecieverUserId: string;
/**
* If the notification is seen {true} or not {false}
*
* @type {Boolean}
* @memberof Notification
*/
public isSeen: Boolean;
}