import type { PageParam } from '@/api';

/**
 * 商户
 */
export interface Merchant {
  merchantId?: number;
  merchantName?: string;
  merchantCode?: string;
  money?: string;
  freezeMoney?: string;
  totalMoney?: string;
  logo?: string;
  background?: string;
  sortNumber?: number;
  status?: number;
  comments?: string;
  createTime?: string;
  tenantId?: number;
  content?: string;
  image?: string;
  merchantHours?: string;
  province?: string;
  city?: string;
  region?: string;
  linkman?: string;
  address?: string;
  phone?: string;
  lngAndLat?: string;
  customerId?: number;
  userId?: number;
  nickname?: string;
  merchantOwner?: number;
  managerId?: number;
  merchantPhone?: string;
  firstRatio?: number;
  secondRatio?: number;
  shopRatio?: number;
  onlineRatio?: number;
  offlineRatio?: number;
  serverRatio?: number;
}

/**
 * 订单搜索条件
 */
export interface MerchantParam extends PageParam {
  merchantId?: number;
  merchantName?: string;
  merchantCode?: string;
  gradeName?: string;
  gradeId?: number;
  status?: number;
}
