Skip to main content

Listing Model

export interface ListingModel {
name: string;
currency: string;
description: string;
status: boolean;
monthlyDiscount: number;
images: string[];
category: CategoryModel;
stripe_account_ID: string;
user: UserModel['uid'];
weeklyDiscount: number;
rentalPrice: number;
location: string;
address: Address;
specifications: Specification[];
}

export interface Address {
lat: number;
lng: number;
placeId: string;
}

export interface Specification {
name: string;
}