import { Document } from 'mongoose'; import { IDefaultAttributes } from './commonInterface'; import { FEE_COLLECTION_TYPE, PAYMENT_TYPE } from '../constants'; export interface IFeeConfigModelAttributes extends IDefaultAttributes, Document { id: string; instituteId: string; academicCalendarId: string; feeCollectionTypes: FEE_COLLECTION_TYPE[]; paymentMethods: PAYMENT_TYPE[]; oldId?: string; oldPendingFees: { oldPendingAmount: string; oldPaymentMethods: PAYMENT_TYPE[]; bankAccounts: string[]; }; penaltyFees: { penaltyPaymentMethods: PAYMENT_TYPE[]; bankAccounts: string[]; }; }