export interface NoticeVO extends BaseEntity {
  noticeId: number;
  noticeTitle: string;
  noticeType: string;
  noticeContent: string;
  status: string;
  remark: string;
  createByName: string;

  // New fields from backend modification
  id?: number | string;
  title?: string;
  type?: number | string;
  content?: string;
  senderType?: number;
  sender?: number | string;
  receiverType?: number;
  receiver?: number | string;
  readFlag?: boolean | string | number;
  readTime?: string;
  businessId?: number | string;
}

export interface NoticeQuery extends PageQuery {
  noticeTitle?: string;
  createByName?: string;
  status?: string;
  noticeType?: string;
  // New fields from backend modification
  title?: string;
  type?: number | string;
  readFlag?: boolean | string | number;
}

export interface NoticeForm {
  noticeId: number | string | undefined;
  noticeTitle: string;
  noticeType: string;
  noticeContent: string;
  status: string;
  remark: string;
  createByName: string;
}
