import { Document } from 'mongoose'; import { ACADEMIC_CALENDARS_TYPE, COMMAN_STATUS, PLANNER_SYNC_STATUS } from '../constants/app'; import { IDefaultAttributes } from './commonInterface'; export interface IEventHasBatch { batchId: string; subjectId?: string; lectureId?: string; } export interface IEventModelAttributes extends IDefaultAttributes, Document { id: string; title: string; subTitle?: string; description?: string; batches?: IEventHasBatch[]; type: ACADEMIC_CALENDARS_TYPE; status?: COMMAN_STATUS; instituteId?: string; startTime: Date; endTime: Date; plannerSyncStatus?: PLANNER_SYNC_STATUS; academicCalendarId?: string; }