hrms-edm/Services/server/src/interfaces/ehr-fs.ts
2023-11-27 09:24:18 +07:00

39 lines
787 B
TypeScript

export interface EhrFolder {
/**
* @prop Full path to this folder. It is used as key as there are no files or directories at the same location.
*/
pathname: string;
/**
* @prop Directory / Folder name.
*/
name: string;
createdAt: string | Date;
createdBy: string | Date;
}
export interface EhrFile {
/**
* @prop Full path to this folder. It is used as key as there are no files or directories at the same location.
*/
pathname: string;
fileName: string;
fileSize: number;
fileType: string;
title: string;
description: string;
category: string[];
keyword: string[];
/**
* @private For internal use only.
*/
upload: boolean;
updatedAt: string | Date;
updatedBy: string;
createdAt: string | Date;
createdBy: string;
}