From 1b0d9c9230a95af14df9108f6b8a5b73cac1cbf5 Mon Sep 17 00:00:00 2001 From: Sophie Methe Date: Fri, 26 Apr 2024 23:09:34 +0200 Subject: [PATCH] Create model for groups (#1633) --- .../src/main/scala/de/thm/ii/fbs/model/Group.scala | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 modules/fbs-core/api/src/main/scala/de/thm/ii/fbs/model/Group.scala diff --git a/modules/fbs-core/api/src/main/scala/de/thm/ii/fbs/model/Group.scala b/modules/fbs-core/api/src/main/scala/de/thm/ii/fbs/model/Group.scala new file mode 100644 index 000000000..1aa690cd5 --- /dev/null +++ b/modules/fbs-core/api/src/main/scala/de/thm/ii/fbs/model/Group.scala @@ -0,0 +1,12 @@ +package de.thm.ii.fbs.model + +/** + * A group + * @param id The id of the group + * @param courseId course to which the group belongs + * @param name Name of the group + * @param membership The max number of members + * @param visible The visibility of the group, false = invisible + */ + +case class Group(id: Int, courseId: Int, name: String, membership: Int, visible: Boolean = true) \ No newline at end of file