felicity-lims/webapp/models/notice.ts

17 lines
352 B
TypeScript
Raw Normal View History

2023-04-10 09:29:10 +08:00
import { IGroup, IUser } from './auth';
import { IDepartment } from './setup';
2021-12-06 00:37:33 +08:00
export interface INotice {
2023-04-16 19:32:26 +08:00
uid: string;
2021-12-06 00:37:33 +08:00
title: string;
body: string;
departments: IDepartment[];
groups: IGroup[];
users: IUser[];
expiry: Date;
expired: boolean;
dayToExpiration: number;
status: string;
2023-04-16 19:32:26 +08:00
createdByUid: string;
2023-04-10 09:29:10 +08:00
}