-- SPDX-FileCopyrightText: 2022 Sarah Vaupel <sarah.vaupel@ifi.lmu.de>
--
-- SPDX-License-Identifier: AGPL-3.0-or-later

ExamOfficeLabel
  user UserId
  name ExamOfficeLabelName
  status MessageStatus
  priority Int          -- determines label ordering
  UniqueExamOfficeLabel user name
  deriving Generic

ExamOfficeExamLabel
  exam ExamId
  label ExamOfficeLabelId
  UniqueExamOfficeExamLabel exam
  deriving Generic
ExamOfficeExternalExamLabel
  externalExam ExternalExamId
  label ExamOfficeLabelId
  UniqueExamOfficeExternalExamLabel externalExam
  deriving Generic
