import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';
/**
 * @description: Request list interface parameters
 */
export type PageParams = BasicPageParams;

export interface ListItem {
  id: number;
  content: string;
  createTime: string;
  image: string;
  orderNum: number;
  title: string;
  url: string;
}

export interface UpdateItem {
  content: string;
  id: number;
  image: string;
  orderNum: number;
  title: string;
  url?: string;
}

export interface PadsItem {
  connectId: number;
  type: number;
  id: number;
  image: string;
  orderNum: string;
  title: string;
  url?: string;
}
export interface DeleteItem {
  id: number;
}

/**
 * @description: Request list return value
 */
export type ListGetResultModel = BasicFetchResult<ListItem>;
