felicity-lims/webapp/models/shipment.ts

45 lines
1 KiB
TypeScript
Raw Normal View History

import { ISample } from './analysis';
import { IUser } from './auth';
export interface IReferralLaboratory {
uid?: string
name?: string
code?: string
url?: string
username?: string
password?: string
isReference?: boolean
isReferral?: boolean
}
export interface IShipment {
uid?: string
shipmentId?: string
comment?: string
courier?: string
assignedCount?: number
data?: any
jsonContent: any
samples?: ISample[]
state?: string
laboratoryUid?: string
laboratory?: IReferralLaboratory
incoming?: boolean
finalisedByUid?: string
finalisedBy?: IUser
dateFinalised?: string
dispatchedByUid?: string
dispatchedBy?: IUser
dateDispatched?: string
recalledByUid?: string
recalledBy?: IUser
dateRecalled?: string
rejectedByUid?: string
rejectedBy?: IUser
dateRejected?: string
receivedByUid?: string
receivedBy?: IUser
dateReceived?: string
}