import type { PageParam } from '@/api';

/**
 * 消息
 */
export interface Notice {
  // 消息id
  noticeRecordId?: number;
  noticeId?: number;
  title?: string;
  channel?: string;
  avatar?: string;
  content?: string;
  files?: string;
  developerId?: number;
  userId?: number;
  sortNumber?: number;
  comments?: string;
  status?: number;
}

/**
 * 消息搜索条件
 */
export interface NoticeParam extends PageParam {
  type?: string;
  noticeRecordId?: number;
  noticeId?: number;
  userId?: number;
  developerId?: number;
  status?: number;
}

// 查询未读数量
export interface NnReadNum {
  notice?: string;
  letter?: number;
  todo?: number;
  chatGPT?: number;
}
