export interface Room {
  id: number;
  merchantId: number;
  name: string;
  type: string;
  coverImage: string;
  images: string[];
  description: string;
  area: number;
  bedType: string;
  maxGuests: number;
  price: number;
  weekendPrice: number;
  facilities: string[];
  status: 'available' | 'unavailable' | 'maintenance';
  floor: string;
  roomNumber: string;
  createdAt: string;
  updatedAt: string;
  // 扩展字段
  isAvailable?: boolean;
  currentPrice?: number;
  nights?: number;
}

export interface RoomCardData {
  id: number;
  name: string;
  coverImage: string;
  type: string;
  area: number;
  bedType: string;
  maxGuests: number;
  price: number;
  currentPrice?: number;
  facilities: string[];
  isAvailable: boolean;
  floor?: string;
  roomNumber?: string;
}

export interface Review {
  id: number;
  userId: number;
  orderId: number;
  merchantId: number;
  roomId: number;
  rating: number;
  content: string;
  images: string[];
  isAnonymous: boolean;
  merchantReply: string;
  createdAt: string;
  updatedAt: string;
  // 扩展字段
  userAvatar?: string;
  userName?: string;
}

export interface ReviewCardData {
  id: number;
  userName: string;
  userAvatar: string;
  rating: number;
  content: string;
  images: string[];
  reply: string;
  createdAt: string;
}

export interface BookingParams {
  checkIn: string;
  checkOut: string;
  roomCount: number;
  adultCount: number;
  childCount: number;
}
