export interface PartnerMerchantVO {
  id: number | string;
  partnerNo: string;
  partnerName: string;
  company?: string;
  partnerCooperateType?: number;
  legal?: string;
  telephone?: string;
  fax?: string;
  registerAddress?: string;
  operatingAddress?: string;
  remark?: string;
  status?: string;
  createTime?: string;
}

export interface PartnerMerchantForm {
  id?: number | string;
  partnerNo?: string;
  partnerName: string;
  company?: string;
  partnerCooperateType?: number;
  legal?: string;
  telephone?: string;
  fax?: string;
  registerAddress?: string;
  operatingAddress?: string;
  remark?: string;
  status?: string;
}

export interface PartnerMerchantQuery extends PageQuery {
  partnerNo?: string;
  partnerName?: string;
}

export interface PartnerInfoIndexVO {
  todayOrders: number;
  weekRevenue: number;
  pendingShipment: number;
  onSaleProducts: number;
  shipmentTrend: { date: string; count: number }[];
  productTypeSales: { name: string; value: number }[];
  latestShipments: {
    orderNo: string;
    productName: string;
    amount: number;
    customer: string;
    status: string;
    date: string;
  }[];
}
