export interface Merchant {
  id: number;
  sellerId: number;
  shopName: string;
  logo: string;
  coverImage?: string;
  description: string;
  phone: string;
  province: string;
  city: string;
  district: string;
  address: string;
  longitude: number;
  latitude: number;
  businessLicense: string;
  licenseNo: string;
  legalPerson: string;
  status: 'pending' | 'approved' | 'rejected' | 'frozen';
  rejectReason: string;
  deposit: number;
  rating: number;
  reviewCount: number;
  autoConfirm: boolean;
  createdAt: string;
  updatedAt: string;
  // 扩展字段
  minPrice?: number;
  roomCount?: number;
  distance?: number;
  isRecommend?: boolean;
  isHot?: boolean;
  isNew?: boolean;
  facilities?: string[];
  salesCount?: number;
  images?: string[];
  tags?: string[];
}

export interface MerchantCardData {
  id: number;
  name: string;
  coverImage: string;
  cityName: string;
  city?: string;
  district?: string;
  province?: string;
  rating: number;
  reviewCount: number;
  description: string;
  facilities: string[];
  minPrice: number;
  roomCount?: number;
  distance?: number;
  isRecommend?: boolean;
  isHot?: boolean;
  isNew?: boolean;
  salesCount?: number;
}

export interface SearchParams {
  city: string;
  keyword?: string;
  checkIn: string;
  checkOut: string;
  roomCount: number;
  adultCount: number;
  childCount: number;
  minPrice?: number;
  maxPrice?: number;
}
