import { ObjectId } from 'mongodb'; import { Attachment } from './attachment'; import { BaseModel } from './baseModel'; import { Customer } from './customer'; import { Payment } from './payment'; export interface Penalty extends BaseModel { date: Date; status: string; code?: string; customer: Customer | ObjectId; customerRemarks?: string; reason: string; amount: number; attachments?: Attachment[]; comments?: string; payment?: Payment | ObjectId; disableQuickBooks?: boolean; }