import { TicketTypeTypes, TicketTypeTarrifs } from "./common-enums";

export interface Ticket {
  id?: string;
  name: string;
  created: Date;
  price: number;
}

export interface TicketType {
  id?: string;
  type: TicketTypeTypes;
  tariff: TicketTypeTarrifs;
  label?: string;
  number_of_entries?: number;
  price: number;
}

export interface User {
  login: string;
  password: string;
  firstName: string;
  surName: string;
  role: "Admin" | "User";
}
