import { ObjectId } from 'mongodb'; import { BaseModel } from './baseModel'; import { Customer } from './customer'; import { LmdInvoice } from './lmdInvoice'; import { LmDispatch } from './lmDispatch'; export interface LmdInvoiceTask extends BaseModel { lmdInvoice: LmdInvoice | ObjectId; info: string; lmDispatch: LmDispatch | ObjectId; customer: Customer | ObjectId; data: { [key: string]: any; }; claimedAt?: Date; claimedCount: number; }