travopti/frontend/src/app/interfaces/region.interface.ts
2020-06-18 16:00:10 +02:00

42 lines
1.2 KiB
TypeScript

/** Represents the structure of a region. */
export interface Region {
/** Database ID */
region_id: number;
/** Name of the region */
name: string;
/** Name of the country */
country: string;
/** Short description of the region */
description: string;
/** Temperature means per month */
temperature_mean: number[];
/** Min temperature means per month */
temperature_mean_min: number[];
/** Max temperature means per month */
temperature_mean_max: number[];
/** Monthly precipitation */
precipitation: number[];
/** Monthly humidity */
humidity: number[];
/** Monthly sun hours */
sun_hours: number[];
/** Monthly rainy days */
rain_days: number[];
/** Average food costs per day */
food_costs: number;
/** Average alcohol costs per day */
alcohol_costs: number;
/** Average water costs per day */
water_costs: number;
/** Average costs for local transportation per day */
local_transportation_costs: number;
/** Average entertainment costs per day */
entertainment_costs: number;
/** Average accommodation costs per day */
accommodation_costs: number;
/** Average costs per day */
average_per_day_costs: number;
/** Monthly price derivation in percent */
avg_price_relative: number[];
}