// 单张礼品卡结构
export interface GiftCardItem {
  id: number;
  giftcard_number: string;
  giftcard_amount: string;
  remaining_giftcard_amount: string;
  formatted_remaining_giftcard_amount: string;
  used_giftcard_amount: string;
  expirationdate: string;
  giftcard_status: string;
}

// 后端整体body结构
export interface GiftCardRespBody {
  success: boolean;
  message: string;
  data: GiftCardItem[];
}

// restApiFetch返回外层结构
export interface FetchResult<T> {
  status: number;
  body: T;
}