import { RequireInteractiveControl } from './Interactive Component/RequireInteractiveControl';

export interface Notification {
    id: string;
    ocCode: string;
    recipient: string;
    moduleName: string;
    message: string;
    isRead: boolean;
    createDate: Date;
}

export class NotificationClass implements Notification, RequireInteractiveControl {
    createDate: Date;
    recipient: string;
    message: string;
    isRead: boolean;
    ocCode: string;
    moduleName: string;
    id: string;
    isLocked: boolean;
    isSelected: boolean;
    moduleDisplayName: string;
}

// export namespace NotificationFunc {
//     export function empty(): NotificationClass {
//         return {
//             isLocked: false,
//             id: "",
//         };
//     }
// }
