interface Accommodation {
    _id?: string;
    accommodationType: AccommodationType;
    addressLocation?: AddressLocation;
    bookable?: boolean;
    checkInDay?: Date;
    createdDate?: Date;
    deleted: boolean;
    description?: string;
    hoursRequested?: number;
    id?: string;
    images?: string[];
    location?: string;
    modifiedDate?: Date;
    name: string;
    numberOfNights?: number;
    occupancy: AccommodationOccupancy;
    operator?: string | Operator;
    orSimilar: boolean;
    price?: number;
    rezdyExtraId?: number;
    serviceLibrary?: string;
    starRating: StarRating;
    timing?: ServiceTiming;
    type: ACCOMMODATION;
    user: string | User;
}

Hierarchy

  • BaseServiceModel
    • Accommodation

Properties

_id?: string
accommodationType: AccommodationType
addressLocation?: AddressLocation
bookable?: boolean
checkInDay?: Date
createdDate?: Date
deleted: boolean
description?: string
hoursRequested?: number
id?: string

Use _id instead

images?: string[]
location?: string
modifiedDate?: Date
name: string
numberOfNights?: number
operator?: string | Operator
orSimilar: boolean
price?: number
rezdyExtraId?: number
serviceLibrary?: string
starRating: StarRating
timing?: ServiceTiming
user: string | User