declare namespace API.StorageDetection {
  export interface StorageDetailItem {
    detailId?: string;
    websiteId?: string;
    websiteName?: string;
    successNumber?: string;
    failedNumber?: string;
    storageDetail?: string;
    storageTime?: string;
  }

  export interface StorageItem {
    detectionId?: string;
    storageDate?: string;
    storageNumber?: string;
    storageResult?: string;
    storageDetail?: string;
    websiteId?: string;
    websiteName?: string;
    details?: StorageDetailItem[];
  }

  export interface AddParams {
    storageDate?: string;
    storageNumber?: string;
    storageResult?: string;
    storageDetail?: string;
    websiteName?: string;
  }

  export interface ListParams {
    storageDate?: string;
    pageSize?: number;
    current?: number;
  }

  export interface StorageIdResult {
    code: number;
    msg: string;
    data: StorageItem;
  }

  export interface StoragePageResult {
    code: number;
    msg: string;
    total: number;
    rows: Array<StorageItem>;
  }
}