interface ResponseInbox {
  body: string;
  createdAt: Date;
  createdFullName: string;
  createdUserId: string;
  id: string;
  isOpen: boolean;
  lastUpdateFullName: string;
  lastUpdateUserId: string;
  lastUpdatedAt: Date;
  openDate: Date | null;
  payload: string;
  receiveDate: Date;
  receiverUserId: string;
  subject: string;
}

interface DataInbox {
  no: string;
  sender: string;
  subject: string;
  timereceive: Date;
  body: string;
  payload: string;
  ratingModel: number;
}

export type { ResponseInbox, DataInbox };
