export interface CreateMessagePayload {
  id?: string;
  messageTitle: {
    am: string;
    en: string;
  };
  messageContent: {
    am: string;
    en: string;
  };
  employeeId: string;
  fileInfo?: {
    fileName: string;
    contentType: string;
    size: number;
    originalname: string;
  };
  sortOrder?: number;
  isActive: boolean;
  staffType: string;
}

export interface MessageItem {
  amharicCreatedAt: any;
  createdAt: string;
  updatedAt: string;
  id: string;
  messageTitle: {
    am: string;
    en: string;
  };
  messageContent: {
    am: string;
    en: string;
  };
  employeeId: string;
  fileInfo: {
    fileName: string;
    contentType: string;
    size: number;
    originalname: string;
  };
  sortOrder?: number;
  isActive: false;
  presigned?: string;
  staffType?: string;
  employee?: any;
}
export interface MessageFormData {
  messageTitleEn: string;
  messageTitleAm: string;
  messageContentAm: string;
  messageContentEn: string;
  employeeId: string;
  staffType: string;
  image: FileList;
  isActive: boolean;
}
export interface MessageResponse {
  count: number;
  items: MessageItem[];
}
