export interface QuizAnswer {
id: number;
team_name: string;
question_number: number;
answer: string;
created_at: string;
correct: boolean;
points: number;
}
export type Reservation = {
id: number;
person_name: string;
phone: string;
from_date: string;
to_date: string;
persons: number;
caparo: number;
description: string;
approved?: boolean;
};
export type Event = {
id: string;
title: string;
description: string;
from_date: string;
to_date: string;
price: number;
};
export type Distributor = {
id: string;
name: string;
description: string;
phone: string;
company: string;
};
export type Deal = {
id: number;
title: string;
description: string;
icon: string;
price: number;
regular_price: number | null;
benefits: string[];
min_group_size: number;
max_group_size: number;
for_who: string;
is_for_business: boolean;
};
export type Tag = {
id: number;
name: string;
description: string;
};
export type DealTag = {
id: number;
deal_id: number;
tag_id: number;
};