import type { PageParam } from '@/api'

export interface AppArticle {
  articleId?: number
  title?: string
  type?: number
  model?: string
  code?: string
  categoryId?: number
  categoryName?: string
  parentId?: number
  image?: string
  source?: string
  overview?: string
  content?: string
  actualViews?: number
  likes?: number
  userId?: number
  author?: string
  recommend?: number
  sortNumber?: number
  status?: number
  deleted?: number
  tenantId?: number
  createTime?: string
  updateTime?: string
}

export interface AppArticleParam extends PageParam {
  articleId?: number
  model?: string
  status?: number
  categoryId?: number
  recommend?: number
  keywords?: string
  tenantId?: number
}

export interface AppArticleCount {
  totalNum?: number
  publishedNum?: number
  recommendNum?: number
}
