import { Document } from 'mongoose'; import { IApplication } from './application.interface'; interface ISystemSchema { name: string; image: string; description?: string; active: boolean; createdAt: Date; createdBy: string; updatedAt?: Date; updatedBy?: string; deletedAt?: Date; deletedBy?: string; } export interface ISystemModel extends Document, ISystemSchema { } export interface ISystem extends ISystemSchema { _id?: string; applications: IApplication[]; } export interface ISystemFilter { _id?: string; name?: string; image?: string; description?: string; active?: boolean; } export interface ISystemInput { name: string; imageFile?: any; image?: string; description?: string; active?: boolean; } export {};