export interface MEETING {
  id: number;
  readOnly: boolean;
  title: string;
  description: string;
  startDate: string;
  endDate: string;
  location: string;
  meetingLink: string;
  meetingUsers: MEETING_USER[];
}

export interface MEETING_USER {
  id: number;
  readOnly: boolean;
  meetingId: number;
  assignedUserId: string;
  assignedUserName: string;
}

export interface USER_TASKS {
  id: number;
  readOnly: boolean;
  assignedUserId: number;
  assignedUserName: string;
  title: string;
  description: string;
  dueDate: string;
  priority: number;
  projectId: number;
  statusId: number;
  taskAttachments: TASK_ATTACH[];
  userTaskHistories: USER_TASK_HISTORY[];
}

export interface USER_TASK_HISTORY {
  id: number;
  readOnly: boolean;
  assignedToUserId: number;
  comment: string;
  taskId: number;
  currentStatusId: number;
  isDeleted: boolean;
}

export interface TASK_ATTACH {
  id: number;
  readOnly: boolean;
  attachmentTypeId: number;
  taskId: number;
  attachmentTypeName: string;
  fileData: string;
  fileName: string;
  originalName: string;
}
export interface TEAM {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
  teamUsers: TEAM_USER[];
}

export interface TEAM_USER {
  id: number;
  readOnly: boolean;
  teamId: number;
  isAdmin: boolean;
  assignedUserId: string;
  assignedUserName: string;
}

export interface PROJECT {
  id: number;
  readOnly: boolean;
  nameAr: string;
  nameEn: string;
}
