UNPKG

@pikmeup/database-service

Version:

Shared database service for PikMeUp using Typegoose with MongoDB

21 lines (20 loc) 515 B
import { Ref } from '@typegoose/typegoose'; export declare enum ApprovalStatus { REQUESTED = "Requested", APPROVED = "Approved", REJECTED = "Rejected" } export declare class CabAssignment { userId?: Ref<any>; cab?: Ref<any>; driver?: Ref<any>; fromDate?: Date; toDate?: Date; vehicleNumber?: string; capacity?: number; vehicleType?: string; brandName?: string; drivingLicensePhotoUrl?: string; approvalStatus?: ApprovalStatus; rejectionReason?: string; }