import type { Models } from 'appwrite';

export interface Boat extends Models.Document {
  $id: string;
  name: string;
  displayName?: string;
  class?: string;
  year?: number;
  imgSrc?: string;
  iconSrc?: string;
  bookingAvailable: boolean;
  requiredCerts: string[];
  maxPassengers: number;
  defects: {
    type: string;
    severity: string;
    description: string;
    detail?: string;
  }[];
}
